bank statement
This commit is contained in:
parent
4028a77998
commit
648207ba24
File diff suppressed because it is too large
Load Diff
1823
application/logs/log-2019-01-15.php
Normal file
1823
application/logs/log-2019-01-15.php
Normal file
File diff suppressed because it is too large
Load Diff
@ -653,7 +653,7 @@ function amountunpaid($supplierid1,$fa,$aa,$m,$fdate,$tdate)
|
||||
|
||||
}
|
||||
|
||||
$sql.="group by igrn";
|
||||
$sql.="group by date asc";
|
||||
$query = $this->db->query($sql);
|
||||
return $query->result();
|
||||
|
||||
@ -702,7 +702,7 @@ function amountunpaid($supplierid1,$fa,$aa,$m,$fdate,$tdate)
|
||||
|
||||
|
||||
|
||||
$sql.="order by invoice_number";
|
||||
$sql.="order by date asc";
|
||||
$query = $this->db->query($sql);
|
||||
return $query->result();
|
||||
|
||||
|
||||
@ -377,14 +377,16 @@ p {
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
|
||||
|
||||
<td class="amount"><strong>
|
||||
<td class="amount"><strong>
|
||||
<?php echo $tot_amount;?>
|
||||
</strong></td>
|
||||
<td class="amount"><strong>
|
||||
<?php echo $tot_amountreceived;?>
|
||||
</strong></td>
|
||||
<td class="amount"><strong>
|
||||
<?php echo $tot_amountreceived; ?>
|
||||
<?php echo $Balance; ?>
|
||||
</strong></td>
|
||||
<td> </td>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
|
||||
@ -268,7 +268,7 @@ foreach($openingbalancesupplier as $balance)
|
||||
<td></td>
|
||||
<td>OpeningBalance</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><?php echo $openbalance ?></td>
|
||||
<td></td>
|
||||
<td><?php echo $openbalance ?></td>
|
||||
|
||||
@ -282,6 +282,7 @@ foreach($openingbalancesupplier as $balance)
|
||||
<?php
|
||||
$tot_amountpaid=0;
|
||||
$tot_balance=0;
|
||||
$tot_amt=0;
|
||||
$i=1;
|
||||
$ti=0.00;
|
||||
$tvt=0.00;
|
||||
@ -319,7 +320,7 @@ foreach($openingbalancesupplier as $balance)
|
||||
$total=$sl->total;
|
||||
}
|
||||
?>
|
||||
<td align="left" id="tpoa<?php echo $i ?>"><span><?php echo $total;?></span></td>
|
||||
<td align="left" id="tpoa<?php echo $i ?>"><span><?php $tot_amt=$tot_amt+round($total)?><?php echo $total;?></span></td>
|
||||
<td align="left" id="btp<?php echo $i ?>"><span><?php $tot_amount=$tot_amount+round($sl->amountpaid)?> <?php echo round($payments,2);?></span></td>
|
||||
<?php
|
||||
// if(!empty($payments))
|
||||
@ -365,7 +366,8 @@ foreach($openingbalancesupplier as $balance)
|
||||
|
||||
</strong></td>
|
||||
|
||||
<td> </td>
|
||||
<td class="amount"><strong>
|
||||
<?php echo $tot_amt; ?>
|
||||
|
||||
<td class="amount"><strong>
|
||||
<?php echo $tot_amount; ?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user