advance amount in billing screen

This commit is contained in:
venbatechnologies@gmail.com 2017-11-29 14:30:48 +05:30
parent 487f386e45
commit 9daeed75a1
2 changed files with 21 additions and 0 deletions

View File

@ -42,6 +42,7 @@ $Adv='';
<tr style="background-color:#ddf">
<th>SNO#</th>
<th>PONO#</th>
<th>Advance Amount Paid</th>
<th>SupplierName</th>
<th>Material Code</th>
<th>Material Name</th>
@ -105,6 +106,16 @@ $Adv='';
else {?>
<td><a target="_blank" href="<?php echo base_url() ?>purchaseorder/CreatePOPrint?PONO=<?php echo $record->PONO ?>&ReqType=<?php echo SERVICE ?>" data-id="<%=index%>" style="color:<?php echo $color?>" data-userid="<?php echo $record->PONO ?>" ><?php echo $record->PONO ?> </a></td> <?php }?>
<?php if($record->AdvanceAmount>0){?>
<td><?php echo $record->AdvanceAmount?></td>
<?php }
else
{?>
<td><?php echo "NA"?></td>
<?php }?>
<td><?php echo $record->SupplierName?></td>
<td><?php echo $record->MaterialCode?></td>
<td><?php echo $record->MaterialName?></td>

View File

@ -52,6 +52,7 @@ span.highlight1{
<th>MRIR NO</th>
<th>PONO</th>
<th>Advance Amount Paid</th>
<th>PO Type</th>
<th>Material Code</th>
<th>Material Name</th>
@ -122,6 +123,15 @@ span.highlight1{
<td><a target="_blank" href="<?php echo base_url() ?>purchaseorder/CreatePOPrint?PONO=<?php echo $d->PONO ?>&ReqType=<?php echo $d->POType ?>" data-id="<%=index%>" style="color:<?php echo $color?>" data-userid="<?php echo $d->PONO ?>" ><?php echo $d->PONO ?> </a></td><?php }?>
<?php if($d->AdvanceAmount>0){?>
<td><?php echo $d->AdvanceAmount?></td>
<?}
else
{?>
<td><?php echo "NA"?></td>
<?}?>
<td><?php echo $d->POType ?></td><!-- Department -->
<td><?php echo $d->MaterialCode ?></td><!-- Material Code -->
<td><?php echo $d->MaterialName ?></td><!-- Material Name -->