S.No |
Invoice No |
Supplier Name |
Invoice Date |
Invoice Total |
Pennding |
Status |
0)
{
while($row_cus=mysqli_fetch_array($run_cus))
{
$grandtotal=$row_cus['grandtotal'];
$paidamount=$row_cus['paidamount'];
if($paidamount == '')
{
$paidamount=0;
}
if($grandtotal == '')
{
$grandtotal=0;
}
$pending=$grandtotal-$paidamount;
$pending = number_format($pending, 2);
$pending = str_replace(",", "", $pending);
?>
|
|
|
|
|
|
|