bank statement

This commit is contained in:
sriramv 2019-01-17 20:38:07 +05:30
parent 4028a77998
commit 648207ba24
5 changed files with 8396 additions and 9 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -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();

View File

@ -377,14 +377,16 @@ p {
<td>&nbsp;</td>
<td>&nbsp;</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>&nbsp;</td>
</tr>

View File

@ -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>&nbsp;</td>
<td class="amount"><strong>
<?php echo $tot_amt; ?>
<td class="amount"><strong>
<?php echo $tot_amount; ?>