From 0555f3287449a397fee7ce94acb7846ccfc938bc Mon Sep 17 00:00:00 2001 From: gandhimathi Bharathirajan Date: Tue, 1 Aug 2017 13:14:55 +0530 Subject: [PATCH] MRIR Billing issue fixed --- application/controllers/MRIRcontroller.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/controllers/MRIRcontroller.php b/application/controllers/MRIRcontroller.php index 6a5b08e3..bbba8145 100755 --- a/application/controllers/MRIRcontroller.php +++ b/application/controllers/MRIRcontroller.php @@ -186,10 +186,10 @@ public function viewmMaterialDistributionList() for ($i = 1; $i <= $RowCount; $i++) { - $MaterialCode = $this->input->post('MaterialCode'.$i); - $ActualQuantityReceived = $this->input->post('ActualQuantity'.$i); - $QuantityAsPerInvoice = $this->input->post('ReceivedQuantity'.$i); - $Remarked = $this->input->post('Remark'.$i); + $MaterialCode = trim($this->input->post('MaterialCode'.$i)); + $ActualQuantityReceived = trim($this->input->post('ActualQuantity'.$i)); + $QuantityAsPerInvoice = trim($this->input->post('ReceivedQuantity'.$i)); + $Remarked = trim($this->input->post('Remark'.$i)); $StoreIncharge = $this->session->userdata('userId'); //this array to store the value in child table..