service po pdf billing
This commit is contained in:
parent
88b01d0582
commit
c9312de3cc
@ -250,13 +250,17 @@ class purchaseorder extends BaseController
|
|||||||
function CreatePOPrint()
|
function CreatePOPrint()
|
||||||
{
|
{
|
||||||
$PONO = $_GET['PONO'];
|
$PONO = $_GET['PONO'];
|
||||||
$ReqType = $_GET['ReqType'];
|
$ReqType = $_GET['ReqType'];
|
||||||
|
|
||||||
|
|
||||||
if($ReqType == SERVICE)
|
if($ReqType == SERVICE)
|
||||||
{
|
{
|
||||||
$this ->servicepoprint($PONO);
|
$this ->servicepoprint($PONO);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
else if($ReqType == REVENUE)
|
else if($ReqType == REVENUE)
|
||||||
{
|
{
|
||||||
$this ->revenuepoprint($PONO);
|
$this ->revenuepoprint($PONO);
|
||||||
|
|||||||
@ -24,7 +24,8 @@
|
|||||||
$totaltaxamount=0.00;
|
$totaltaxamount=0.00;
|
||||||
$PaymentOtherDescription='';
|
$PaymentOtherDescription='';
|
||||||
$NoOfServices=0;
|
$NoOfServices=0;
|
||||||
$advance=0;
|
$advance=0;
|
||||||
|
$AdvanceAmount=0.00;
|
||||||
|
|
||||||
if(!empty($CompanyDetails))
|
if(!empty($CompanyDetails))
|
||||||
{
|
{
|
||||||
@ -86,7 +87,7 @@
|
|||||||
if($PaymentTerms=='Others'){
|
if($PaymentTerms=='Others'){
|
||||||
$PaymentOtherDescription=$PO->PaymentOtherDescription;
|
$PaymentOtherDescription=$PO->PaymentOtherDescription;
|
||||||
}
|
}
|
||||||
|
$AdvanceAmount=$PO->AdvanceAmount;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -337,7 +338,7 @@
|
|||||||
|
|
||||||
<p><strong>Payment Terms:</strong> <?php echo $PaymentTerms ." ".$PaymentOtherDescription;?></p>
|
<p><strong>Payment Terms:</strong> <?php echo $PaymentTerms ." ".$PaymentOtherDescription;?></p>
|
||||||
|
|
||||||
<div align="Left"> <b>Scope Of Work As Annixture :</b><br/><?php echo $ServiceDescription;?></div>
|
<div align="Left"> <b>Scope Of Work As Annexure :</b><br/><?php echo $ServiceDescription;?></div>
|
||||||
|
|
||||||
|
|
||||||
<div align="right">
|
<div align="right">
|
||||||
@ -360,11 +361,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align: right;"><strong>Advance Amount Paid In INR </strong></td>
|
<td style="text-align: right;"><strong>Advance Amount Paid In INR </strong></td>
|
||||||
<td style="text-align: right;"><?php echo number_format($advance,2,'.','');?></td>
|
<td style="text-align: right;"><?php echo number_format($AdvanceAmount,2,'.','');?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align: right;"><strong>Balance Needs to be pay In INR </strong></td>
|
<td style="text-align: right;"><strong>Balance Needs to be pay In INR </strong></td>
|
||||||
<td style="text-align: right;"><?php echo number_format(($OrderValue-$advance),2,'.','');?></td>
|
<td style="text-align: right;"><?php echo number_format(($OrderValue-$AdvanceAmount),2,'.','');?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
@ -78,7 +78,9 @@ $Adv='';
|
|||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?php echo $SNo?></td>
|
<td><?php echo $SNo?></td>
|
||||||
<td><a data-toggle="tooltip" href="<?php echo base_url().'purchaseorder/CreateMRIRPOPrint?PONO='.$record->PONO.'&POType='.SERVICE ?>" style="color:<?php echo $color?>" target="new"><?php echo $record->PONO?></a></td>
|
<!-- <td><a data-toggle="tooltip" href="<?php echo base_url().'purchaseorder/CreateMRIRPOPrint?PONO='.$record->PONO.'&POType='.SERVICE ?>" style="color:<?php echo $color?>" target="new"><?php echo $record->PONO?></a></td> -->
|
||||||
|
|
||||||
|
<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> -->
|
<!-- <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> -->
|
||||||
<td><?php echo $record->SupplierName?></td>
|
<td><?php echo $record->SupplierName?></td>
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
<?php
|
s<?php
|
||||||
$Adv='';
|
$Adv='';
|
||||||
$color='';
|
$color='';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user