FIX_REQUIRED FIELDS IN CHANGE SHIPPING AND BILLING ADDRESS
This commit is contained in:
parent
0b134896d0
commit
5fc072b5fb
@ -861,8 +861,8 @@ if (isset($invoice_item_details[0]['to_subscription']) && !empty($invoice_item_d
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label for="quick_billing_state"> State<span class="text-danger"> *</span></label>
|
||||
<input class="form-control" type="text" id="quick_billing_state" required value="Tamil Nadu">
|
||||
<label for="quick_billing_state"></label>
|
||||
<input class="form-control" type="text" id="quick_billing_state" value="Tamil Nadu">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
@ -909,8 +909,8 @@ if (isset($invoice_item_details[0]['to_subscription']) && !empty($invoice_item_d
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label for="quick_shipping_state"> State<span class="text-danger"> *</span></label>
|
||||
<input class="form-control" type="text" id="quick_shipping_state" required value="Tamil Nadu">
|
||||
<label for="quick_shipping_state"> State</label>
|
||||
<input class="form-control" type="text" id="quick_shipping_state" value="Tamil Nadu">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
@ -2434,10 +2434,7 @@ $('#saveButton').click(function() {
|
||||
errorMessage += 'Billing country,';
|
||||
isValid = false;
|
||||
}
|
||||
if (QB_State === '') {
|
||||
errorMessage += 'Billing state,';
|
||||
isValid = false;
|
||||
}
|
||||
|
||||
if (QB_City === '') {
|
||||
errorMessage += 'Billing city,';
|
||||
isValid = false;
|
||||
@ -2454,10 +2451,7 @@ $('#saveButton').click(function() {
|
||||
errorMessage += 'Shipping country,';
|
||||
isValid = false;
|
||||
}
|
||||
if (QS_State === '') {
|
||||
errorMessage += 'Shipping state,';
|
||||
isValid = false;
|
||||
}
|
||||
|
||||
if (QS_City === '') {
|
||||
errorMessage += 'Shipping city,';
|
||||
isValid = false;
|
||||
|
||||
@ -150,6 +150,7 @@ $('#datatable-buttons thead tr:eq(1) th').each(function(i) {
|
||||
});
|
||||
|
||||
|
||||
|
||||
$('input', this).on('keyup change', function() {
|
||||
if (table.column(i).search() !== this.value) {
|
||||
table
|
||||
|
||||
Loading…
Reference in New Issue
Block a user