filter date is globally sent to mode

This commit is contained in:
gayathri1990 2018-11-01 12:54:30 +05:30
parent 66944e82c4
commit dedbc6b9da
11 changed files with 8729 additions and 38 deletions

View File

@ -1397,11 +1397,17 @@ class cashbook extends BaseController
}
else
{
$supplierid= $_GET['sid'];
$data['supplierid']= $supplierid;
$suppliername= $_GET['sn'];
$data['suppliername']=$suppliername;
$data['bankdebit'] = $this->cashbook_model->paided($supplierid);
$fa=$_GET['fa'];
$aa=$_GET['aa'];
$m=$_GET['m'];
$fdate=$_GET['fdate'];
$tdate=$_GET['tdate'];
$supplierid= $_GET['sid'];
$data['supplierid']= $supplierid;
$suppliername= $_GET['sn'];
$data['suppliername']=$suppliername;
$data['bankdebit'] = $this->cashbook_model->paided($supplierid,$fa,$aa,$m,$fdate,$tdate);
}
$data['finyear']=$this->cashbook_model->report_amountpaid();
$this->loadViews("bankamountpaid", $this->global,$data, NULL);
@ -1432,11 +1438,16 @@ class cashbook extends BaseController
}
else
{
$accountcode= $_GET['ac'];
$fa=$_GET['fa'];
$aa=$_GET['aa'];
$m=$_GET['m'];
$fdate=$_GET['fdate'];
$tdate=$_GET['tdate'];
$accountcode= $_GET['ac'];
$data['accountcode']= $accountcode;
$accountname= $_GET['an'];
$data['accountname']=$accountname;
$data['bankmappingcash'] = $this->cashbook_model->mappingcash($accountcode);
$data['bankmappingcash'] = $this->cashbook_model->mappingcash($accountcode,$fa,$aa,$m,$fdate,$tdate);
}
$data['finyear']=$this->cashbook_model->report_cashbook();
$this->loadViews("banksettlementcash", $this->global,$data, NULL);
@ -1467,11 +1478,16 @@ class cashbook extends BaseController
}
else
{
$fa=$_GET['fa'];
$aa=$_GET['aa'];
$m=$_GET['m'];
$fdate=$_GET['fdate'];
$tdate=$_GET['tdate'];
$accountcode= $_GET['ac'];
$data['accountcode']= $accountcode;
$accountname= $_GET['an'];
$data['accountname']=$accountname;
$data['bankmappingcash'] = $this->cashbook_model->mappingcashreceived($accountcode);
$data['bankmappingcash'] = $this->cashbook_model->mappingcashreceived($accountcode,$fa,$aa,$m,$fdate,$tdate);
}
$data['finyear']=$this->cashbook_model->report_cashbook();
$this->loadViews("banksettlementcredit", $this->global,$data, NULL);
@ -1514,6 +1530,11 @@ class cashbook extends BaseController
$m=$this->input->post('month');
$fdate = $this->input->post('from_date');
$tdate = $this->input->post('to_date');
$data['fa']=$fa;
$data['aa']=$aa;
$data['m']= $m;
$data['fdate']= $fdate;
$data['tdate']=$tdate;
$data['bankdebitsupp'] = $this->cashbook_model->amountpaidsupplierwisefilter($fa,$aa,$m,$fdate,$tdate);
$data['amountpaidcashbook']=$this->cashbook_model->amountpaidcashbookfilter($fa,$aa,$m,$fdate,$tdate);
}
@ -1542,7 +1563,11 @@ class cashbook extends BaseController
$m=$this->input->post('month');
$fdate = $this->input->post('from_date');
$tdate = $this->input->post('to_date');
$data['fa']= $fa;
$data['aa']=$aa;
$data['m']=$m;
$data['fdate']=$fdate;
$data['tdate']=$tdate;
$data['bankunpaid'] = $this->cashbook_model->suppliertotalfilter($fa,$aa,$m,$fdate,$tdate);
}
else
@ -1577,8 +1602,15 @@ class cashbook extends BaseController
else
{
$supplierid1 = $_GET['sid'];
$fa=$_GET['fa'];
$aa=$_GET['aa'];
$m=$_GET['m'];
$fdate=$_GET['fdate'];
$tdate=$_GET['tdate'];
$data['suppliername']=$supplierid1;
$data['bankunpaid'] = $this->cashbook_model->amountunpaid($supplierid1);
$data['bankunpaid'] = $this->cashbook_model->amountunpaid($supplierid1,$fa,$aa,$m,$fdate,$tdate);
}
$data['finyear']=$this->cashbook_model->report_finyearunpaid();
// $data['getsupplier'] = $this->cashbook_model->getsupplier();
@ -1611,11 +1643,17 @@ class cashbook extends BaseController
}
else
{
$fa=$_GET['fa'];
$aa=$_GET['aa'];
$m=$_GET['m'];
$fdate=$_GET['fdate'];
$tdate=$_GET['tdate'];
$clientid= $_GET['sid'];
$data['clientid']=$clientid;
$cname= $_GET['cname'];
$data['clientname']=$cname;
$data['amountreceived'] = $this->cashbook_model->received($clientid);
$data['amountreceived'] = $this->cashbook_model->received($clientid,$fdate,$tdate,$fa,$aa,$m);
}
$data['finyear']=$this->cashbook_model->report_finyearamountreceived();
$data['getcustomer'] = $this->cashbook_model->getcustomer();
@ -1635,6 +1673,11 @@ class cashbook extends BaseController
//$Customer = $this->input->post('CustomerName');
$fdate = $this->input->post('from_date');
$tdate = $this->input->post('to_date');
$data['fa']= $fa;
$data['aa']=$aa;
$data['m']=$m;
$data['fdate']=$fdate;
$data['tdate']=$tdate;
$data['amountreceivedsupplier'] = $this->cashbook_model->creditinvoicewisefilter($fdate,$tdate,$fa,$aa,$m);
$data['amountpaidcashbook']=$this->cashbook_model->amountreceivedcashbookfilter($fa,$aa,$m,$fdate,$tdate);
@ -1660,10 +1703,13 @@ class cashbook extends BaseController
$fa=substr($ab,0,-5);
$aa=substr($ab,5,5);
$m=$this->input->post('month');
$fdate = $this->input->post('from_date');
$tdate = $this->input->post('to_date');
$data['fa']= $fa;
$data['aa']=$aa;
$data['m']=$m;
$data['fdate']=$fdate;
$data['tdate']=$tdate;
$data['amountunreceivedsupplier'] = $this->cashbook_model->uncreditinvoicewisefilter($fdate,$tdate,$fa,$aa,$m);
}
else
@ -1697,9 +1743,14 @@ class cashbook extends BaseController
}
else
{
$fa=$_GET['fa'];
$aa=$_GET['aa'];
$m=$_GET['m'];
$fdate=$_GET['fdate'];
$tdate=$_GET['tdate'];
$clientname=$_GET['sid'];
$data['client']=$clientname;
$data['amountunreceived'] = $this->cashbook_model->unreceived($clientname);
$data['amountunreceived'] = $this->cashbook_model->unreceived($clientname,$fdate,$tdate,$fa,$aa,$m);
}
$data['finyear']=$this->cashbook_model->report_finyearamountunreceived();
$data['getcustomer'] = $this->cashbook_model->getcustomer();

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -782,7 +782,7 @@ $sql.="group by sd.SupplierName";
return $query->result();
}
function amountunpaid($supplierid)
function amountunpaid($supplierid,$fa,$aa,$m,$fdate,$tdate)
{
$sql="select im.IGRNO as igrn,pm.POType as potype,im.PONO as PONO,im.IGRNO,id.IGRItemNo,im.MaterialRcvdDate,im.DeliveryChellanDate,im.CreatedDate,br.Balancetopay,br.Amountpaid,sd.SupplierName as SupplierName,bu.FilePath as poFilePath ,bu.BillNo,inward.FilePath as iwFpath, sd.SupplierID,im.DeliveryChellanOrInvoiceNo,DATEDIFF(CURDATE(),id.CreatedDate)as days,
@ -836,6 +836,29 @@ left join T_Bankporeport br on br.IGRLineItemNo=id.IGRItemNo
left join T_Inwardgateregister_fileupload inward on inward.IGRNO =im.IGRNO
left join T_PurchaseOrder_BillUpload bu on bu.PONO=pm.PONO
where im.IGRStatus = 'ST027' and id.BankStatus ='ST072' and sd.SupplierID='".$supplierid."'";
if ($fa and $aa != ''){
//$sql.=" and (im.CreatedDate >= '".$fa."-04-01' and im.CreatedDate <= '".$aa."-03-31')";
$sql.=" and (im.MaterialRcvdDate >= '".$fa."-04-01' and im.MaterialRcvdDate <= '".$aa."-03-31')";
}
if ($m!= ''){
//$sql.="and monthname(im.CreatedDate) = '".$m."'";
$sql.="and monthname(im.MaterialRcvdDate) = '".$m."'";
}
if ($fdate and $tdate != ''){
$fromd= date("Y-m-d",strtotime($fdate));
$tod=date("Y-m-d",strtotime($tdate));
$sql.="and date(im.MaterialRcvdDate) >= '".$fromd."'
and date(im.MaterialRcvdDate) <= '".$tod."'";
}
$sql.="group by id.IGRItemNo";
//echo $sql;
$query = $this->db->query($sql);
@ -1235,7 +1258,7 @@ function receiptdata()
}
function mappingcash($accountcode)
function mappingcash($accountcode,$fa,$aa,$m,$fdate,$tdate)
{
$this->db->select('ie.date,ie.bankid,ie.cashtype,ie.amounttype,ie.total,ac.name,totalbankamount,ie.id');
$this->db->from ('t_income_expense as ie');
@ -1243,7 +1266,27 @@ function receiptdata()
$this->db->where('ie.account_code',$accountcode);
$this->db->where('ie.amounttype','DEBIT');
$this->db->where('IsActive',1);
//$this->db->group_by('mid');
if ($fa and $aa != ''){
//$sql.=" and (im.CreatedDate >= '".$fa."-04-01' and im.CreatedDate <= '".$aa."-03-31')";
$year="(ie.date >= '".$fa."-04-01' and ie.date <= '".$aa."-03-31')";
$this->db->where($year);
}
if ($m!= ''){
//$this->db->where('MONTH(pel.tgl_pembelian)',$bulan);
$month="monthname(ie.date) = '".$m."'";
$this->db->where($month);
// $sql.="and monthname(bm.Podate) = '".$m."'";
}
if ($fdate and $tdate != ''){
$fromdate= date("Y-m-d",strtotime($fdate));
$todate=date("Y-m-d",strtotime($tdate));
$date = "date(ie.date) >= '".$fromdate."'
and date(ie.date) <= '".$todate."'";
$this->db->where($date);
}
$query = $this->db->get();
return $query->result();
@ -1274,7 +1317,7 @@ function receiptdata()
return $query->result();
}
function mappingcashreceived($accountcode)
function mappingcashreceived($accountcode,$fdate,$tdate,$fa,$aa,$m)
{
$this->db->select('ie.date,ie.bankid,ie.cashtype,ie.amounttype,ie.total,ac.name,totalbankamount,ie.id');
$this->db->from ('t_income_expense as ie');
@ -1282,6 +1325,26 @@ function receiptdata()
$this->db->where('ie.account_code',$accountcode);
$this->db->where('ie.amounttype','CREDIT');
$this->db->where('IsActive',1);
if ($fa and $aa != ''){
//$sql.=" and (im.CreatedDate >= '".$fa."-04-01' and im.CreatedDate <= '".$aa."-03-31')";
$year="(ie.date >= '".$fa."-04-01' and ie.date <= '".$aa."-03-31')";
$this->db->where($year);
}
if ($m!= ''){
//$this->db->where('MONTH(pel.tgl_pembelian)',$bulan);
$month="monthname(ie.date) = '".$m."'";
$this->db->where($month);
// $sql.="and monthname(bm.Podate) = '".$m."'";
}
if ($fdate and $tdate != ''){
$fromdate= date("Y-m-d",strtotime($fdate));
$todate=date("Y-m-d",strtotime($tdate));
$date = "date(ie.date) >= '".$fromdate."'
and date(ie.date) <= '".$todate."'";
$this->db->where($date);
}
//$this->db->group_by('mid');
$query = $this->db->get();
return $query->result();
@ -1593,7 +1656,7 @@ function receiptdata()
return TRUE;
}
function paided($supplierid)
function paided($supplierid,$fa,$aa,$m,$fdate,$tdate)
{
$this->db->select('bm.id,bm.mid,bm.PONO,bm.Suppliername,bm.Totalpoamount,bm.Podate,
bm.Balancetopay,bm.Amountpaid,bm.IGRNO,bm.IGRLineItemNo,br.Balancetocleared,br.Clearbalance,
@ -1603,7 +1666,27 @@ function receiptdata()
$this->db->join('T_PurchaseOrder_BillUpload bu','bm.PONO=bu.PONO','left');
$this->db->join('T_bankreport br','br.ID=bm.mid','left');
$this->db->where('bm.SupplierID',$supplierid);
$this->db->where('bm.IsActive',1);
$this->db->where('bm.IsActive',1);
if ($fa and $aa != ''){
//$sql.=" and (im.CreatedDate >= '".$fa."-04-01' and im.CreatedDate <= '".$aa."-03-31')";
$year="(bm.Podate >= '".$fa."-04-01' and bm.Podate <= '".$aa."-03-31')";
$this->db->where($year);
}
if ($m!= ''){
//$this->db->where('MONTH(pel.tgl_pembelian)',$bulan);
$month="monthname(bm.Podate) = '".$m."'";
$this->db->where($month);
// $sql.="and monthname(bm.Podate) = '".$m."'";
}
if ($fdate and $tdate != ''){
$fromdate= date("Y-m-d",strtotime($fdate));
$todate=date("Y-m-d",strtotime($tdate));
$date = "date(bm.Podate) >= '".$fromdate."'
and date(bm.Podate) <= '".$todate."'";
$this->db->where($date);
}
$this->db->group_by('bm.IGRLineItemNo');
$query = $this->db->get();
return $query->result();
@ -1765,7 +1848,7 @@ function receiptdata()
// // return $result;
// }
function received($clientid)
function received($clientid,$fdate,$tdate,$fa,$aa,$m)
{
$this->db->select('bm.indate,bm.invoiceno,bm.customername,bm.totinvoiceamount,bm.bankid,bm.customerid,
bm.balancetoreceived,bm.amountreceived,bm.ID,br.Credit,br.cclearbalance,br.cbalancetocleared');
@ -1773,6 +1856,23 @@ function receiptdata()
$this->db->join('T_bankreport br','br.ID=bm.bankid');
$this->db->where('bm.IsActive',1);
$this->db->where('bm.customerid',$clientid);
if ($fa and $aa != ''){
//$sql.=" and (im.CreatedDate >= '".$fa."-04-01' and im.CreatedDate <= '".$aa."-03-31')";
$year="(bm.indate >= '".$fa."-04-01' and bm.indate <= '".$aa."-03-31')";
$this->db->where($year);
}
if ($m!= ''){
//$sql.="and monthname(im.CreatedDate) = '".$m."'";
$month="monthname(bm.indate) = '".$m."'";
$this->db->where($month);
}
if($fdate!='' && $tdate!='')
{
$this->db->where('bm.indate BETWEEN "'. date('Y-m-d', strtotime($fdate)). '" and "'. date('Y-m-d', strtotime($tdate)).'"');
}
//$this->db->group_by('invoiceno');
$query = $this->db->get();
return $query->result();
@ -1826,7 +1926,7 @@ function receiptdata()
$query = $this->db->get();
return $query->result();
}
function unreceived($clientname)
function unreceived($clientname,$fdate,$tdate,$fa,$aa,$m)
{
$this->db->distinct();
$this->db->select('iva.invoice_id,iva.invoice_total,iv.invoice_date_created,iv.invoice_number,iva.invoice_paid,ic.client_name,BI.balancetoreceived,BI.amountreceived,ic.client_id');
@ -1837,6 +1937,23 @@ function receiptdata()
$this->db->where('iv.receivedstatus','ST066');
$this->db->where('iv.invoice_status_id','2');
$this->db->where('ic.client_id',$clientname);
if ($fa and $aa != ''){
//$sql.=" and (im.CreatedDate >= '".$fa."-04-01' and im.CreatedDate <= '".$aa."-03-31')";
$year="(iv.invoice_date_created >= '".$fa."-04-01' and iv.invoice_date_created <= '".$aa."-03-31')";
$this->db->where($year);
}
if ($m!= ''){
//$sql.="and monthname(im.CreatedDate) = '".$m."'";
$month="monthname(iv.invoice_date_created) = '".$m."'";
$this->db->where($month);
}
if($fdate!='' && $tdate!='')
{
$this->db->where('iv.invoice_date_created BETWEEN "'. date('Y-m-d', strtotime($fdate)). '" and "'. date('Y-m-d', strtotime($tdate)).'"');
}
// $this->db->where('iv.receivedstatus','ST066');
$this->db->group_by('iva.invoice_id');

View File

@ -186,7 +186,7 @@ if(!empty($amountpaid))
<div class="col-md-2" style="margin-top:24px;">
<input type="submit" class="btn btn-success" name="btn_submit"
value="View Payments">
value="View Payable">
</div>

View File

@ -192,7 +192,7 @@ foreach($financialyear as $item)
<div class="col-md-3" style="margin-top:20px;">
<!-- <div class="col-md-1 col-md-offset-10" style="margin-top:20px;"> -->
<input type="submit" class="btn btn-success" name="btn_submit" value="View Purchase">
<input type="submit" class="btn btn-success" name="btn_submit" value="View Payable">
</div>
</div>
@ -259,10 +259,10 @@ foreach($financialyear as $item)
<?php
}
?>
<td align="left" id="Ddate<?php echo $i ?>"><span><?php echo date_format(date_create($t->DeliveryChellanDate),'d-m-Y');?></span></td>
<td align="left" id="Ddate<?php echo $i ?>"><span><?php echo date_format(date_create($t->MaterialRcvdDate),'d-m-Y');?></span></td>
<td align="left" id="pono<?php echo $i ?>"><span><?php echo $t->PONO?></span></a></td>
<td align="left" id="Cdate<?php echo $i ?>"><span><?php echo date_format(date_create($t->CreatedDate),'d-m-Y');?></span></td>
<td align="left" id="Cdate<?php echo $i ?>"><span><?php echo date_format(date_create($t->DeliveryChellanDate),'d-m-Y');?></span></td>
<td align="left" id="igrno<?php echo $i ?>"><span><?php $tot_amount= $tot_amount + round($rate)?><?php echo $t->IGRNO?></span></a></td>
<td align="left" id="igrlineitem<?php echo $i ?>" ><span><?php echo $t->IGRItemNo?></span></td>

View File

@ -165,7 +165,7 @@ foreach($financialyear as $item)
<div class="col-md-3" style="margin-top:20px;">
<!-- <div class="col-md-1 col-md-offset-10" style="margin-top:20px;"> -->
<input type="submit" class="btn btn-success" name="btn_submit" value="View Payments">
<input type="submit" class="btn btn-success" name="btn_submit" value="View Payable">
</div>
</div>
@ -207,7 +207,7 @@ foreach($financialyear as $item)
<td align="left" id="sn<?php echo $i ?>" ><a href="<?= base_url() ?>cashbook/amountpaid?sid=<?php echo $t->SupplierID;?>&sn=<?php echo $t->Suppliername ?>"><span><?php echo $t->Suppliername?></span></a></td>
<td align="left" id="sn<?php echo $i ?>" ><a href="<?= base_url() ?>cashbook/amountpaid?sid=<?php echo $t->SupplierID;?>&sn=<?php echo $t->Suppliername ?>&fa=<?php echo $fa ?>&aa=<?php echo $aa ?>&m=<?php echo $m ?>&fdate=<?php echo $fdate ?>&tdate=<?php echo $tdate ?>"><span><?php echo $t->Suppliername?></span></a></td>
<td align="left" id="tov<?php echo $i ?>" ><span><?php $tot_amount=$tot_amount+round($rate)?><?php echo round($rate,2)?></span></td>
@ -260,7 +260,7 @@ foreach($financialyear as $item)
?>
<tr>
<td align="left" id="sn<?php echo $i ?>" ><a href="<?= base_url() ?>cashbook/amountpaidcashbook?ac=<?php echo $c->account_code;?>&an=<?php echo $accountname ?>"><span><?php echo $accountname?></span></a></td>
<td align="left" id="sn<?php echo $i ?>" ><a href="<?= base_url() ?>cashbook/amountpaidcashbook?ac=<?php echo $c->account_code;?>&an=<?php echo $accountname ?>&fa=<?php echo $fa ?>&aa=<?php echo $aa ?>&m=<?php echo $m ?>&fdate=<?php echo $fdate ?>&tdate=<?php echo $tdate ?>"><span><?php echo $accountname?></span></a></td>
<td align="left" id="tov<?php echo $i ?>" ><span><?php $tot_amountcash=$tot_amountcash+round($rate)?><?php echo round($rate,2)?></span></td>

View File

@ -212,7 +212,7 @@ foreach($financialyear as $item)
<td align="left" id="sn<?php echo $i ?>" ><a href="<?= base_url() ?>Amountreceived?sid=<?php echo $t->customerid;?>&cname=<?php echo $t->customername?>"><span><?php echo $t->customername?></span></a></td>
<td align="left" id="sn<?php echo $i ?>" ><a href="<?= base_url() ?>Amountreceived?sid=<?php echo $t->customerid;?>&cname=<?php echo $t->customername?>&fa=<?php echo $fa ?>&aa=<?php echo $aa ?>&m=<?php echo $m ?>&fdate=<?php echo $fdate ?>&tdate=<?php echo $tdate ?>"><span><?php echo $t->customername?></span></a></td>
<td align="left" id="tov<?php echo $i ?>" ><span><?php $tot_amount=$tot_amount+round($amountreceived)?><?php echo round($amountreceived,2)?></span></td>
@ -265,7 +265,7 @@ foreach($financialyear as $item)
?>
<tr>
<td align="left" id="sn<?php echo $i ?>" ><a href="<?= base_url() ?>cashbook/amountreceivedcashbook?ac=<?php echo $c->account_code;?>&an=<?php echo $accountname ?>"><span><?php echo $accountname?></span></a></td>
<td align="left" id="sn<?php echo $i ?>" ><a href="<?= base_url() ?>cashbook/amountreceivedcashbook?ac=<?php echo $c->account_code;?>&an=<?php echo $accountname ?>&fa=<?php echo $fa ?>&aa=<?php echo $aa ?>&m=<?php echo $m ?>&fdate=<?php echo $fdate ?>&tdate=<?php echo $tdate ?>"><span><?php echo $accountname?></span></a></td>
<td align="left" id="tov<?php echo $i ?>" ><span><?php $tot_amountcash=$tot_amountcash+round($rate)?><?php echo round($rate,2)?></span></td>

View File

@ -85,6 +85,11 @@ foreach($financialyear as $item)
</div>
<div>
<input type="hidden" id="supplierid" name="supplierid" value="<?php echo $t->SupplierID?>">
<!--<input type="text" id="fa" name="fa" value="<?php echo $fa?>">
<input type="text" id="ta" name="ta" value="<?php echo $ta?>">
<input type="text" id="m" name="m" value="<?php echo $m?>">
<input type="text" id="fdate" name="fdate" value="<?php echo $fdate?>">
<input type="text" id="tdate" name="tdate" value="<?php echo $tdate?>">-->
</div>
<div class="col-md-2">
<label for="to_date">
@ -137,7 +142,7 @@ foreach($financialyear as $item)
<div class="col-md-3" style="margin-top:20px;">
<!-- <div class="col-md-1 col-md-offset-10" style="margin-top:20px;"> -->
<input type="submit" class="btn btn-success" name="btn_submit" value="View Purchase">
<input type="submit" class="btn btn-success" name="btn_submit" value="View Payable">
</div>
</div>
@ -150,6 +155,7 @@ foreach($financialyear as $item)
<br>
<br>
<input type="hidden" name="Rowid" id="Rowid" placeholder="Row Id" readonly>
<table class="table table-bordered table-hover" id="req" style="table-layout:auto;">
<thead>
<tr>
@ -177,11 +183,12 @@ foreach($financialyear as $item)
if($status !='ST057')
{
?>
<tr>
<td align="left" id="sn<?php echo $i ?>" ><a href="<?= base_url() ?>cashbook/supplierwise?sid=<?php echo $supplierid;?>"><span><?php echo $t->SupplierName?></span></a></td>
<td align="left" id="sn<?php echo $i ?>" ><a href="<?= base_url() ?>cashbook/supplierwise?sid=<?php echo $supplierid;?>&fa=<?php echo $fa?>&aa=<?php echo $aa?>&m=<?php echo $m?>&fdate=<?php echo $fdate?>&tdate=<?php echo $tdate?>"><span><?php echo $t->SupplierName?></span></a></td>
<td align="left" id="tov<?php echo $i ?>" ><span><?php $tot_amount=$tot_amount+round($rate)?><?php echo round($rate,2)?></span></td>

View File

@ -154,7 +154,7 @@
<td align="left" id="sn<?php echo $i ?>" ><a href="<?= base_url() ?>cashbook/amountunreceived?sid=<?php echo $t->client_id;?>"><span><?php echo $t->client_name?></span></a></td>
<td align="left" id="sn<?php echo $i ?>" ><a href="<?= base_url() ?>cashbook/amountunreceived?sid=<?php echo $t->client_id;?>&fa=<?php echo $fa ?>&aa=<?php echo $aa ?>&m=<?php echo $m ?>&fdate=<?php echo $fdate ?>&tdate=<?php echo $tdate ?>"><span><?php echo $t->client_name?></span></a></td>
<td align="left" id="tov<?php echo $i ?>" ><span><?php $tot_amount=$tot_amount+round($invoice_total)?><?php echo round($invoice_total,2)?></span></td>

View File

@ -1526,7 +1526,7 @@ else{
<li>
<a href="<?php echo base_url(); ?>Bankamountunreceived">
<i class="fa fa-credit-card"></i>
<span>Amount Un Receivable Reports(Inv)</span>
<span>Amount Receivable Reports(Inv)</span>
</a>
</li>
@ -1643,7 +1643,7 @@ else{
<li>
<a href="<?php echo base_url(); ?>Bankamountunreceived">
<i class="fa fa-credit-card"></i>
<span>Amount Un Receivable Reports(Inv)</span>
<span>Amount Receivable Reports(Inv)</span>
</a>
</li>