diff --git a/app/Controllers/Invoice.php b/app/Controllers/Invoice.php index 394ebd20..340ae472 100644 --- a/app/Controllers/Invoice.php +++ b/app/Controllers/Invoice.php @@ -118,6 +118,7 @@ class Invoice extends BaseController 'status' => $this->request->getPost('status'), 'isactive'=> 1]; $invoice_id = $this->request->getPost('invoice_id'); + if (empty($invoice_id)) { $data['created_by'] = (int)get_logged_user_id(); @@ -236,7 +237,7 @@ class Invoice extends BaseController $model->updateData('invoiceitems', $data, $update_where); } } - +print_r($getInvoiceItemDetails);die(); return redirect()->route('invoice_list'); } public function approve_invoice($id) diff --git a/app/Views/book_list.php b/app/Views/book_list.php index 10323748..6ea5925d 100644 --- a/app/Views/book_list.php +++ b/app/Views/book_list.php @@ -18,7 +18,6 @@ Language Year Of Release Price of the Book - Description Status Action @@ -41,7 +40,6 @@ - diff --git a/app/Views/customer_list.php b/app/Views/customer_list.php index f3c14b6a..fcebff31 100644 --- a/app/Views/customer_list.php +++ b/app/Views/customer_list.php @@ -15,10 +15,6 @@ Last Name Mobile Number Email - Address - Country - State - City Type Mode Action @@ -30,10 +26,6 @@ - - - - diff --git a/app/Views/invoice_form.php b/app/Views/invoice_form.php index c9116071..937fe7a1 100644 --- a/app/Views/invoice_form.php +++ b/app/Views/invoice_form.php @@ -231,17 +231,18 @@ -
- - - - - - - - - - +
+ + + + + + + + + + +
diff --git a/app/Views/scheme_list.php b/app/Views/scheme_list.php index 1eb9dc2d..b386149c 100644 --- a/app/Views/scheme_list.php +++ b/app/Views/scheme_list.php @@ -13,7 +13,6 @@ Scheme Name - Description Price Duration Action @@ -22,7 +21,6 @@ - diff --git a/app/Views/subscribers_list.php b/app/Views/subscribers_list.php index 3a17e281..9d6d6ca4 100644 --- a/app/Views/subscribers_list.php +++ b/app/Views/subscribers_list.php @@ -89,4 +89,8 @@ + + + +