From 45986e50bda93af93e02681a979bec41c3fabc63 Mon Sep 17 00:00:00 2001 From: Srinivas-Saravanan Date: Fri, 29 Nov 2024 15:16:47 +0530 Subject: [PATCH] CHANGE_QUICK ADD CUSTOMERS VALIDATION IN SALES MODULE --- app/Controllers/Invoice.php | 3 +- app/Views/invoice_form.php | 576 ++++++++++++++++++------------------ 2 files changed, 285 insertions(+), 294 deletions(-) diff --git a/app/Controllers/Invoice.php b/app/Controllers/Invoice.php index fab4e747..812de49a 100755 --- a/app/Controllers/Invoice.php +++ b/app/Controllers/Invoice.php @@ -97,7 +97,8 @@ class Invoice extends BaseController $data['customer_shipping_arr'] = $this->get_customer_address($where, $select); $data['invoice_item_details'] = $this->get_invoice_item($id); } - // print_r($data['invoice_details']);die; + $country = new Customer(); + $data['country_details'] = $country->get_country_details(); // print_r($data['invoice_details']);die; $this->render_page('invoice_form', $data); } diff --git a/app/Views/invoice_form.php b/app/Views/invoice_form.php index 6da861b2..123db722 100755 --- a/app/Views/invoice_form.php +++ b/app/Views/invoice_form.php @@ -561,136 +561,6 @@ if (isset($invoice_item_details[0]['to_subscription']) && !empty($invoice_item_d - - @@ -753,7 +623,151 @@ if (isset($invoice_item_details[0]['to_subscription']) && !empty($invoice_item_d + + +