CompanyName; $CompanyAddress = $CO->Address; $companyEmail=$CO->EmailAddress; $companyGst=$CO->GSTNO; $companyPan=$CO->PAN; $companyWebsit=$CO->companyWebsite; $CompanyStateCode=$CO->StateCode; } } foreach ($GetPoFormat[0] as $For) { $PONO = $For; } if(!empty($POItem)) { foreach ($POItem as $PO) { $ReqNo=$PO->ReqNo; $postatus= $PO->Status; $SuplierName = $PO->SupplierName; $SuplierAddress = $PO->Address; $DeliveryAddress = $PO->DeliveryAddress; $advance=$PO->AdvanceAmount; $dt = new DateTime($PO->PODate, new DateTimeZone('Asia/Kolkata')); $Podt = $dt->format('d-m-Y'); if($PO->DeliveryOption=='1'){ $DeliveryDate = ''; $DeliverySchedule = $PO->DeliverySchedule; $dispatch=""; } else if($PO->DeliveryOption=='0'){ $dispatch=""; $dtDe = new DateTime($PO->DeliveryDate, new DateTimeZone('Asia/Kolkata')); $DeliveryDate = $dtDe->format('d-m-Y'); $DeliverySchedule = ''; }else if($PO->DeliveryOption=='2'){ $DeliveryDate=''; $DeliverySchedule = ''; $dispatch=$PO->Import_DispatchDetails; } $ServiceDescription =$PO->ServiceDescription; $finCap=$PO->Fincap; $modShp=$PO->Mode_Of_Shipment; $insNo=$PO->InsuranceNumber; $supRef=$PO->Supplier_Reference; $supOfferNo=$PO->Supplier_Offer_No; $supplierEmail=$PO->EmailAddress; $supplierGst=$PO->GSTNO; $supplierPan=$PO->PAN; $supplierContact=$PO->ContactNumber; $ourRef=$PO->Other_Reference; $supplierVendor=$PO->SupplierID; $CostCenterCode=$PO->CostCenterCode; $PaymentTerms=$PO->PaymentTerms; if($PaymentTerms=='Others'){ $PaymentOtherDescription=$PO->PaymentOtherDescription; } $CapitalRange=$PO->CapitalRange; $TotalOrderValue=$PO->TotalOrderValue; } } $currencyCode =''; $currencyName=''; if(!empty($CurrencySymbol)) { foreach ($CurrencySymbol as $Curr) { $currencyCode = $Curr->FontCode2000; $currencyName = $Curr->Currency_Code; } } ?>
'; } else { echo 'DRAFT'; } ?>

 

PURCHASE ORDER


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



Email :
Vendor code: PAN:
Contact : GSTIN:
Shipped To:

State code:
Delivery :
Indent : format("d-m-Y"); echo $date; ?> Dept: CCD: Fin cap:

Mode of Shipment:

Insurance :

Please arrange to deliver the materials/ services listed below as per schedule to our works

 SNo ITEM CODE  ITEM DESCRIPTION HSN  UOM  QTY  RATE   PER
MaterialCode;?> MaterialName ; ?> HSNCODE)){echo $record->HSNCODE;}else {echo "NIL";}?> UOM; ?> Quantity ; ?> Rate),2) ; ?> Per ; ?>


 

ParentPO != ''){ $i++; } } } if($i>0){ ?> lineamd)){ echo $record->lineamd ; } } } ?>

Amended Details

AmendedDetails)) { echo "" . $v->AmendedDetails . ""; break; } } }?>
Item Description Previous DetailsCurrent Details
Tax and other details: TotalCGST; $TotalSgst=$TotalSgst+$st->TotalSGST; $TotalIgst=$TotalIgst+$st->TotalIGST; $TotalDiscount=$TotalDiscount+$st->TotalDiscount; $TotalOtherAllowance=$TotalOtherAllowance+$st->TotalOtherAllowance; $TotalFreight='-'; ?> TotalDiscount>0 && $st->TotalDiscount!='') { ?> CGST>0 && $st->CGST!='') { ?> SGST>0 && $st->SGST!='') { ?> IGST>0 && $st->IGST!='') { ?> TotalOtherAllowance>0 && $st->TotalOtherAllowance!='') { ?> TotalFreight; ?> TotalFreight>0 && $st->TotalFreight!='') { ?>
Item code DIS  CGST% SGST% IGST% OTHER  TRANSPORT CHARGES 
Itemcode;?> TotalDiscount; ?> CGST; ?> SGST; ?> IGST; ?> TotalOtherAllowance; ?> TotalFreight; ?>
 

Special instructions:

0 && $TotalOrderValue!='') { ?> 0 && $TotalCgst1!='') { ?> 0 && $TotalSgst!='') { ?> 0 && $TotalIgst!='') { ?> 0 && $TotalOtherAllowance!='') { ?> 0 && $TotalCgst+$TotalSgst+$TotalIgst!='') { ?> 0 && $TotalOrderValue!='') { ?>
Payment terms :
Total Amount  Total CGST Amount  Total SGST Amount  Total IGST Amount  Others  Total Tax Amount  Order Value 

Order value in words: