import
This commit is contained in:
parent
0ca7dce1ce
commit
6db9e9bbd7
@ -738,7 +738,7 @@ function GetImportPurchaseOrderDetailsForPDF($PONO = '')
|
||||
|
||||
$subQuery='SELECT distinct LineItem.LineItemNo,LineItem.ReqNo,Mat.MaterialCode,Mat.MaterialName,Import_DispatchDetails,
|
||||
Mat.UOM,Quantity,ReqMas.Requestedby,Rate,ROUND((RMCIncludingCustomersPerKG*Quantity),2)as Taxamount ,
|
||||
ProductPrice,Tax.*,LineItem.CostCenterCode ,Date(ReqMast.ReqDate) as ReqDate,POMaster.*,sup.SupplierName,sup.Address,LineItem.AmendedDetails as LineAmend,AdvanceAmount, Pay.PaymentTerms as Pay
|
||||
ProductPrice,Tax.*,LineItem.CostCenterCode ,Date(ReqMast.ReqDate) as ReqDate,POMaster.*,sup.SupplierName,sup.Address,LineItem.AmendedDetails as LineAmend,AdvanceAmount, Pay.PaymentTerms as Pay,ROUND((Quantity *Rate),2 ) as BasicValue
|
||||
FROM T_PurchaseOrder_LineItem LineItem
|
||||
join T_Requestion_Master ReqMas on ReqMas.ReqNo=LineItem.ReqNo
|
||||
join T_MaterialMaster Mat on Mat.MaterialCode = LineItem.MaterialCode
|
||||
|
||||
@ -146,7 +146,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>PO DATE : <?php echo $Podt?></td>
|
||||
<td>DELIVERY DATE / SCHEDULE BY : <?php echo $DeliveryDate.$DeliverySchedule;?></td>
|
||||
<td> DISPATCH INSTRUCTION/SCHEDULE BY : <?php echo $DeliveryDate.$DeliverySchedule;?></td>
|
||||
<td>PLACE OF ORIGIN: <?php echo $PlaceofOrigin;?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@ -1342,7 +1342,7 @@ if(!empty($RequistionDetails))
|
||||
|
||||
|
||||
|
||||
<input type="hidden" name="<?php echo 'ProductPrice'.$index ?>" id="<?php echo 'ProductPrice'.$index ?>" value="<?php echo $record->ProductPrice ; ?>" />
|
||||
<input type="hidden" name="<?php echo 'ProductPrice'.$index ?>" id="<?php echo 'ProductPrice'.$index ?>" value="<?php echo $record->BasicValue ; ?>" />
|
||||
<input type="hidden" name="<?php echo 'beforeProductPrice'.$index ?>" id="<?php echo 'beforeProductPrice'.$index ?>" value="<?php echo $record->ProductPrice ; ?>" />
|
||||
|
||||
|
||||
@ -3109,7 +3109,7 @@ $('.EditImport').click(function(){
|
||||
var TotalExp=$('#EdittxtBasicValue').val();
|
||||
//alert(itemRate);
|
||||
|
||||
//console.log(TotalExp);
|
||||
///console.log(TotalExp);
|
||||
|
||||
var tr= document.getElementById(userid);
|
||||
var cellval = tr.cells;
|
||||
@ -3257,8 +3257,8 @@ var Grossexpenses=$('#Grossexpensesduetocustomduty'+rowid).val()==''?'0.00':$('#
|
||||
//var Totalvalue=$('#TotalValue'+rowid).val()==''?'0.00':$('#TotalValue'+rowid).val();
|
||||
|
||||
var Total= $('#ProductPrice'+rowid).val() == '' ? '0.00' : $('#ProductPrice'+rowid).val();
|
||||
// console.log(rowid);
|
||||
// console.log(Total);
|
||||
console.log(rowid);
|
||||
console.log(Total);
|
||||
//var RMC=$('#RMCIncludingCustomers'+rowid).val()==''?'0.00':$('#RMCIncludingCustomers'+rowid).val();
|
||||
|
||||
//console.log(Totalvalue);
|
||||
|
||||
@ -2465,7 +2465,7 @@ if($PONOStatus == PO_RELEASED)
|
||||
$totgrossexpense=$totgrossexpense+$record->Grossexpensesduetocustomduty;
|
||||
$ExchangeRate=$record->ExchangeRate;
|
||||
//$totorder=$totorder+$record->ProductPrice;
|
||||
$totorder=$totorder+$record->ProductPrice;
|
||||
$totorder=$totorder+$record->BasicValue;
|
||||
//$ServiceDescription=$record->ServiceDescription;
|
||||
|
||||
//alert($totorder);
|
||||
|
||||
@ -151,7 +151,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>PO DATE : <?php echo $Podt?></td>
|
||||
<td>DELIVERY DATE / SCHEDULE BY : <?php echo $Import_DispatchDetails.$DeliverySchedule;?></td>
|
||||
<td>DISPATCH INSTRUCTION/ SCHEDULE BY : <?php echo $Import_DispatchDetails.$DeliverySchedule;?></td>
|
||||
<td>PLACE OF ORIGIN: <?php echo $Placeoforigin; ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -263,7 +263,7 @@
|
||||
$CustomDutyExpensesPerKG = $CustomDutyExpensesPerKG+$record->CustomDutyExpensesPerKG ;
|
||||
$RMCIncludingCustomersPerKG = $RMCIncludingCustomersPerKG+$record->RMCIncludingCustomersPerKG ;
|
||||
$AfterExciseDutySHCess= $AfterExciseDutySHCess+$record->AfterExciseDutySHCess ;
|
||||
$TotalOrderValue = $TotalOrderValue+$record->ProductPrice;
|
||||
$TotalOrderValue = $TotalOrderValue+$record->BasicValue;
|
||||
}
|
||||
}
|
||||
|
||||
@ -281,7 +281,7 @@
|
||||
<table style="border-collapse: collapse;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align: center;" ><strong>Total Amount In Words</strong><br /><br /><em><?php echo $TotalAmountInWords." "."Only.";?></em></td>
|
||||
<td style="text-align: center;" ><strong>Total Amount In Words</strong><br /><br /><em><?php echo $TotalAmountInWords." ";?></em></td>
|
||||
<td style="text-align: center;" ><strong>Total Amount In <?php echo "$CurrencyCode ($CurrencyName)" ;?> <?php echo $TotalOrderValue;?> </strong></td>
|
||||
</tr>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user