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; $finCap=($PO->Fincap== '') ? '-':$PO->Fincap; $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; } } ?>
SI/PUR/R 02
parentpostatus == 'ST030') { ?>
AMENDMENT PURCHASE ORDER
PURCHASE ORDER




web: PAN:
Email: GSTIN:
Purchase Order No
PO Date
Supplier's Offer No
Our Reference
Shipped From    Vendor code:

PAN: GSTIN:
Shipped To

State code:
Delivery/Schedule By :
Indent
Req No
Date
format("d-m-Y"); echo $date; ?>
Dept
CCD
Fin cap
Contact

Email

Mode of Shipment

Insurance