deleted changes in bankstatement
This commit is contained in:
parent
cbff2e3e76
commit
381add1ddd
@ -1991,7 +1991,7 @@ public function Deletemappingpo()
|
|||||||
{
|
{
|
||||||
$IsAct=1;
|
$IsAct=1;
|
||||||
}
|
}
|
||||||
$result3= $this->cashbook_model->updateBankporeportpo($igrno,$balancetopayupdate,$amountpaidupdate,$Bankid,$IsAct);
|
$result3= $this->cashbook_model->updateBankporeport($igrno,$balancetopayupdate,$amountpaidupdate,$IsAct);
|
||||||
|
|
||||||
if(count($result3)>0)
|
if(count($result3)>0)
|
||||||
{
|
{
|
||||||
@ -2059,7 +2059,7 @@ public function Deletemappingpo()
|
|||||||
|
|
||||||
// $updatebalancetoreceived=$balancetoreceived+$amountreceived;
|
// $updatebalancetoreceived=$balancetoreceived+$amountreceived;
|
||||||
// $updateamountreceived=$totinvoiceamount-$updatebalancetoreceived;
|
// $updateamountreceived=$totinvoiceamount-$updatebalancetoreceived;
|
||||||
$result3= $this->cashbook_model->updatebankinvoicereport($invoiceno,$bankid,$balancetoreceivedupdate,$amountreceivedupdate,$IsAct);
|
$result3= $this->cashbook_model->updatebankinvoicereport($invoiceno,$balancetoreceivedupdate,$amountreceivedupdate,$IsAct);
|
||||||
$IsActive=0;
|
$IsActive=0;
|
||||||
if(count($result3)>0)
|
if(count($result3)>0)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2247,13 +2247,13 @@ function receiptdata()
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function updatebankinvoicereport($invoiceno,$bankid,$balancetoreceivedupdate,$amountreceivedupdate,$IsAct)
|
function updatebankinvoicereport($invoiceno,$balancetoreceivedupdate,$amountreceivedupdate,$IsAct)
|
||||||
{
|
{
|
||||||
$this->db->set('balancetoreceived',$balancetoreceivedupdate);
|
$this->db->set('balancetoreceived',$balancetoreceivedupdate);
|
||||||
$this->db->set('amountreceived',$amountreceivedupdate);
|
$this->db->set('amountreceived',$amountreceivedupdate);
|
||||||
$this->db->set('IsActive',$IsAct);
|
$this->db->set('IsActive',$IsAct);
|
||||||
$this->db->where('invoiceno',$invoiceno);
|
$this->db->where('invoiceno',$invoiceno);
|
||||||
$this->db->where('bankid',$bankid);
|
//$this->db->where('bankid',$bankid);
|
||||||
$this->db->update('T_Bankinvoicereport');
|
$this->db->update('T_Bankinvoicereport');
|
||||||
$r = $this->db->affected_rows();
|
$r = $this->db->affected_rows();
|
||||||
return $r;
|
return $r;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user