From 5fc072b5fb90950987189576e346820fe4dd9f56 Mon Sep 17 00:00:00 2001 From: Srinivas-Saravanan Date: Thu, 19 Dec 2024 11:03:59 +0530 Subject: [PATCH] FIX_REQUIRED FIELDS IN CHANGE SHIPPING AND BILLING ADDRESS --- app/Views/invoice_form.php | 18 ++++++------------ app/Views/report_expired_customers.php | 1 + 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/app/Views/invoice_form.php b/app/Views/invoice_form.php index ad69d5c5..12275225 100755 --- a/app/Views/invoice_form.php +++ b/app/Views/invoice_form.php @@ -861,8 +861,8 @@ if (isset($invoice_item_details[0]['to_subscription']) && !empty($invoice_item_d
- - + +
@@ -909,8 +909,8 @@ if (isset($invoice_item_details[0]['to_subscription']) && !empty($invoice_item_d
- - + +
@@ -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; diff --git a/app/Views/report_expired_customers.php b/app/Views/report_expired_customers.php index 779026c2..aae2a5f5 100755 --- a/app/Views/report_expired_customers.php +++ b/app/Views/report_expired_customers.php @@ -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