diff --git a/application/controllers/cashbook.php b/application/controllers/cashbook.php index 36f08699..e92612bd 100644 --- a/application/controllers/cashbook.php +++ b/application/controllers/cashbook.php @@ -984,11 +984,12 @@ class cashbook extends BaseController $tdate = $this->input->post('to_date'); //$data['cash'] = $_GET['sid']; //$data['bankid'] = $_GET['d']; - $data['bankdepit'] = $this->cashbook_model->debitbankstatemet($Supplierid,$fdate,$tdate); + $data['bankdepitpaid'] = $this->cashbook_model->debitbankstatemet($Supplierid,$fdate,$tdate); } else { - $data['bankdepit'] = $this->cashbook_model->debitbankstatemet1(); + $data['bankdepitpaid'] = $this->cashbook_model->debitbankstatemet1(); + //print_r($data['bankdepit']); } $data['getsupplier'] = $this->cashbook_model->getsupplier(); $this->loadViews("bankdebit",$this->global,$data,NULL); @@ -1127,11 +1128,11 @@ class cashbook extends BaseController $pono = $this->input->post('pono'); $igrno=$this->input->post('igrno'); $igrlineitem=$this->input->post('igrlineitem'); - + $sname = $this->input->post('sname'); $sid = $this->input->post('sid'); $tot = $this->input->post('tot'); - // echo'tot'.$tot; + $rowcount = $this->input->post('rc'); @@ -1240,6 +1241,7 @@ class cashbook extends BaseController else { $igrstatus=PARTIALLY_PAIDIGR; + } $igrdetails=array('BankStatus'=>$igrstatus); $result1 = $this->cashbook_model->igrdetailstatus($igrdetails,$igrlineitem); diff --git a/application/models/cashbook_model.php b/application/models/cashbook_model.php index 4868deee..35906c79 100644 --- a/application/models/cashbook_model.php +++ b/application/models/cashbook_model.php @@ -2023,6 +2023,7 @@ function receiptdata() function igrdetailstatus($igrdetails,$igrlineitem) { + echo $igrdetails; $this->db->where('IGRItemNo',$igrlineitem); $this->db->update('T_IGR_Details',$igrdetails); $r = $this->db->affected_rows(); diff --git a/application/views/bankamountunreceived.php b/application/views/bankamountunreceived.php index 07832217..634393a3 100644 --- a/application/views/bankamountunreceived.php +++ b/application/views/bankamountunreceived.php @@ -43,7 +43,7 @@ foreach($financialyear as $item)