advance amount in billing screen

This commit is contained in:
venbatechnologies@gmail.com 2017-11-29 13:11:46 +05:30
parent 1fa36a85ab
commit 10878baee9
2 changed files with 16 additions and 0 deletions

View File

@ -36,6 +36,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>
@ -83,6 +84,12 @@ $Adv='';
<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>
<!-- <td><a target="_blank" href="<?php echo base_url() ?>purchaseorder/CreateMRIRPOPrint?PONO=<?php echo $record->PONO ?>&POType=<?php echo $record->POType ?>" data-id="<%=index%>" data-userid="<?php echo $record->PONO ?>" ><?php echo $d->PONO ?> </a></td> -->
<?php if ($record->AdvanceAmount>0){?>
<td><?php echo $record->AdvanceAmount?></td>
<?php }
else{?>
<td><?php echo "NA"?></td>
<?}?>
<td><?php echo $record->SupplierName?></td>
<td><?php echo $record->MaterialCode?></td>
<td><?php echo $record->MaterialName?></td>

View File

@ -42,6 +42,7 @@ $color='';
<th>MRIR NO</th>
<th>PONO</th>
<th>Advance Amount Paid</th>
<th>PO Type</th>
<th>Material Code</th>
<th>Material Name</th>
@ -86,6 +87,14 @@ $color='';
<!-- <td><?php echo $d->PONO ?></td> -->
<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 if(($d->AdvanceAmount)>0){?>
<td><?php echo $d->AdvanceAmount?></td>
<?php }
else{?>
<td><?php echo "NA"?></td>
<?php }?>
<td><?php echo $d->POType ?></td><!-- Department -->
<td><?php echo $d->MaterialCode ?></td><!-- Material Code -->
<td><?php echo $d->MaterialName ?></td><!-- Material Name -->