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; } $TotalOrderValue1=''; $PlaceofOrigin=''; if(!empty($POItem)) { foreach ($POItem as $PO) { $ReqNo=$PO->ReqNo; // $PONO = $PO->PONO; $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'); $dtDe = new DateTime($PO->DeliveryDate, new DateTimeZone('Asia/Kolkata')); $DeliveryDate = $dtDe->format('d-m-Y'); $ServiceDescription =$PO->ServiceDescription; $CostCenterCode=$PO->CostCenterCode; //$ReqBy=$PO->Requestedby; $TotalOrderValue1=$PO->TotalOrderValue; $Paydescription=''; $PaymentTerms = $PO->Pay; if($PO->Pay=='Others') { $PaymentTerms=$PO->PaymentOtherDescription; } //$PaymentDays=$PO->PaymentDays; //$PayableAT=$PO->PayableAT; $PlaceofOrigin=$PO->Import_PlaceofOrgin; if($PO->DeliveryOption=='1'){ $DeliveryDate = ''; $DeliverySchedule = $PO->DeliverySchedule; $Import_DispatchDetails=''; } else{ $dtDe = new DateTime($PO->DeliveryDate, new DateTimeZone('Asia/Kolkata')); $DeliveryDate = $dtDe->format('d-m-Y'); $DeliverySchedule = ''; $Import_DispatchDetails=$PO->Import_DispatchDetails; } $supOfferNo=$PO->Supplier_Offer_No; $ourRef=$PO->Other_Reference; $SupEmail=$PO->EmailAddress; $supplierVendor=$PO->SupplierID; $supplierPAN=$PO->PAN; $SupplierContact=$PO->ContactNumber; $supplierGST=$PO->GSTNO; $finCap=$PO->Fincap; $ModeOfShipment=$PO->Mode_Of_Shipment; $Supplier_Reference=$PO->Supplier_Reference; if($PO->InsuranceStatus=='1') { $InsuranceStatus='YES'; $InsuranceNo=$PO->InsuranceNumber; } else { $InsuranceStatus='NO'; $InsuranceNo='No'; } } } //echo $SuplierName; if(!empty($Requestername)) { foreach ($Requestername as $Reqname) { $ReqBy=$Reqname->FirstName; } } $CurrencyCode=''; $CurrencyName=''; if(!empty($Currencytype)) { foreach ($Currencytype as $CURRE) { $CurrencyCode=$CURRE->Currency_Code; $CurrencyName=$CURRE->FontCode2000; } } // echo $CurrencyCode; $DEPNAME=''; if(!empty($DEPCODE)) { foreach ($DEPCODE as $DEP) { $DEPNAME=$DEP->DepartmentName; } } ?>

Please arrange to deliver the materials/ services listed below as per schedule to our works
AfterLandingCharge; $AfterHighSeasSalesCharge=$AfterHighSeasSalesCharge+$record->AfterHighSeasSalesCharge ; $AfterCustomDuty = $AfterCustomDuty+$record->AfterCustomDuty ; $AfterCustomEdCess = $AfterCustomEdCess+$record->AfterCustomEdCess ; $AfterCustomSHCess = $AfterCustomSHCess+$record->AfterCustomSHCess ; $AfterExciseDuty = $AfterExciseDuty+$record->AfterExciseDuty ; $AfterExciseDutyEdCess = $AfterExciseDutyEdCess+$record->AfterExciseDutyEdCess ; $AfterAddlExciseDuty = $AfterAddlExciseDuty+$record->AfterAddlExciseDuty ; $Grossdutypayable = $Grossdutypayable+$record->Grossdutypayable ; $AvailableModvat = $AvailableModvat+$record->AvailableModvat ; $Grossexpensesduetocustomduty = $Grossexpensesduetocustomduty+$record->Grossexpensesduetocustomduty ; $purchaseratePerKG = $purchaseratePerKG+$record->purchaseratePerKG ; $CustomDutyExpensesPerKG = $CustomDutyExpensesPerKG+$record->CustomDutyExpensesPerKG ; $RMCIncludingCustomersPerKG = $RMCIncludingCustomersPerKG+$record->RMCIncludingCustomersPerKG ; $AfterExciseDutySHCess= $AfterExciseDutySHCess+$record->AfterExciseDutySHCess ; $TotalOrderValue = $TotalOrderValue+$record->BasicPriceInMTon; } } ?>
SNo Item Code ITEM DESCRIPTION HSN UOM QTY Rate PER
MaterialCode ; ?> MaterialName.$record->ServiceMaterialDescription ; ?> HSNCODE;?> UOM ; ?> Quantity ; ?> Rate ; ?> Per ; ?>


ParentPO != ''){ $i++; } } } if($i>0){ ?> LineAmend ; } } ?>

Amended Details

" . $v->AmendedDetails . ""; break; } }?>
Item Description Current Details Revised Details
Total Current Total Order :partenttotalorder ?> Revised Total Order :TotalOrderValue ?>
 
Special instructions:

Payment terms:

Total Amount In Order Value
   
Order value in words: