customer
This commit is contained in:
parent
d80a8d9c04
commit
c7bb14d738
@ -11,6 +11,7 @@
|
||||
role="tab" aria-controls="customerDetails" aria-selected="true">Customer Details</a>
|
||||
</li>
|
||||
<?php if ($page_name === 'Edit Customer'): ?>
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" id="subscriptionDetails-tab" data-toggle="tab"
|
||||
href="#subscriptionDetails" role="tab" aria-controls="subscriptionDetails"
|
||||
@ -54,8 +55,8 @@
|
||||
class="text-danger">*</span></label>
|
||||
<input type="text" class="form-control" name="cmail"
|
||||
value="<?= isset($customer['email']) ? $customer['email'] : '' ?>"
|
||||
placeholder="Email" required />
|
||||
<div class="invalid-feedback"> Please provide. </div>
|
||||
placeholder="Email" />
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
@ -78,8 +79,8 @@
|
||||
class="text-danger">*</span></label>
|
||||
<input type="date" class="form-control" name="dob"
|
||||
value="<?= isset($customer['date_of_birth']) ? $customer['date_of_birth'] : '' ?>"
|
||||
placeholder="Date Of Birth" required />
|
||||
<div class="invalid-feedback"> Please provide. </div>
|
||||
placeholder="Date Of Birth" />
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-4">
|
||||
<label for="gen" class="col-form-label">Gender<span class="text-danger">*</span></label>
|
||||
@ -97,15 +98,16 @@
|
||||
<label for="ctype" class="col-form-label">Type<span class="text-danger">*</span></label>
|
||||
<select class="form-control" name="ctype" required>
|
||||
<option value="customer" <?= isset($customer['type']) && $customer['type'] == 'customer' ? 'selected' : '' ?>>Customer</option>
|
||||
<option value="subscriber" <?= isset($customer['type']) && $customer['type'] == 'subscriber' ? 'selected' : '' ?>>Subscriber</option>
|
||||
<option value="subscriber" <?= isset($customer['type']) && $customer['type'] == 'subscriber' ? 'selected' : '' ?>>Member</option>
|
||||
</select>
|
||||
<div class="invalid-feedback"> Please provide. </div>
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label for="cmode" class="col-form-label">Mode<span class="text-danger">*</span></label>
|
||||
<select class="form-control" name="cmode" required>
|
||||
<option value="offline" <?= isset($customer['mode']) && $customer['mode'] == 'offline' ? 'selected' : '' ?>>Offline</option>
|
||||
<option value="online" <?= isset($customer['mode']) && $customer['mode'] == 'online' ? 'selected' : '' ?>>Online</option>
|
||||
<option value="offline" <?= isset($customer['mode']) && $customer['mode'] == 'offline' ? 'selected' : '' ?>>Offline</option>
|
||||
|
||||
</select>
|
||||
<div class="invalid-feedback"> Please provide. </div>
|
||||
</div>
|
||||
|
||||
@ -262,7 +262,7 @@
|
||||
<div class="form-group text-left col-md-12 ">
|
||||
<label for="notes">Notes</label>
|
||||
<textarea class="form-control" id="terms" name="notes" >
|
||||
<?php echo ($invoice_details['notes']);?>
|
||||
<?= isset($invoice_details['notes']) ? $invoice_details['notes'] : '' ?>
|
||||
</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user