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