CompanyName;
$CompanyAddress = $CO->Address;
$companyEmail = $CO->EmailAddress;
$companyGst = $CO->GSTNO;
$companyPan = $CO->PAN;
$companyWebsit = $CO->companyWebsite;
$CompanyStateCode = $CO->StateCode;
}
}
$currencyName = 'INR';
$currencyCode = '';
if (!empty($CurrencySymbol)) {
foreach ($CurrencySymbol as $Curr) {
$currencyCode = $Curr->FontCode2000;
//$currencyName = $currencyName;
}
}
foreach ($GetPoFormat[0] as $For) {
$PONO = $For;
}
if (!empty($POItem)) {
foreach ($POItem as $PO) {
$postatus = $PO->Status;
$SuplierName = $PO->SupplierName;
$SuplierAddress = $PO->Address;
$DeliveryAddress = $PO->DeliveryAddress;
$dt = new DateTime($PO->PODate, new DateTimeZone('Asia/Kolkata'));
$Podt = $dt->format('d-m-Y');
if ($PO->DeliveryOption == 1) {
$DeliverySchedule = $PO->DeliverySchedule;
$DeliveryDate = null;
$advance = $PO->AdvanceAmount;
} else if ($PO->DeliveryOption == 0) {
if (!empty($PO->DeliveryDate)) {
$dtDe = new DateTime($PO->DeliveryDate, new DateTimeZone('Asia/Kolkata'));
$DeliveryDate = $dtDe->format('d-m-Y');
$DeliverySchedule = '';
}
}
// if($DeliveryDate == '30-11--0001' || $DeliveryDate == '0001-11-30'){$DeliveryDate='';}
$ServiceDescription = $PO->ServiceDescription;
$PaymentTerms = $PO->PaymentTerms;
if ($PaymentTerms == 'Others') {
$PaymentTerms = $PO->PaymentOtherDescription;
}
$advance = $PO->AdvanceAmount;
$modShp = $PO->Mode_Of_Shipment;
if ($PO->InsuranceNumber == '') {
$insNo = 'No';
} else {
$insNo = $PO->InsuranceNumber;
}
$supRef = $PO->Supplier_Reference;
$supOfferNo = $PO->Supplier_Offer_No;
$supplierEmail = $PO->EmailAddress;
$supplierGst = $PO->GSTNO;
$supplierPan = $PO->PAN;
$supplierContact = $PO->ContactNumber;
$serviceDescription = $PO->Description_Of_Service;
$supplierVendor = $PO->SupplierID;
$ourRef = $PO->Other_Reference;
$dispatch = $PO->Import_DispatchDetails;
}
}
// $amendpostatus='';
// if(!empty($AmendmentPDF))
// {
// foreach ($AmendmentPDF as $apdf)
// {
// $amendpostatus=$apdf->parentpostatus;
// }
// //$asd = $AmendmentPDF[0][parentpostatus];
// print_r($AmendmentPDF);
// //echo $asd;die();
// // echo ;
// // die();
// }
?>
RI/PUR/R 02
|
parentpostatus) && $AmendmentPDF[0]->parentpostatus == 'ST030') { ?>
AMENDMENT PURCHASE ORDER
PURCHASE ORDER
|
= '10-2018') {
?>
 |
 |
|
Purchase Order No
|
PO Date
|
Supplier's Offer No
|
Our Reference
|
Shipped From Vendor code:
|
Shipped To
State code:
|
Delivery/Schedule By :
|
| Indent |
|
|
| Date |
| format("d-m-Y");
echo $date; ?> |
|
|
|
| Contact
|
Email
|
Mode of Shipment
|
Insurance
|