CompanyName; $CompanyAddress = $CO->Address; } } if(!empty($POItem)) { foreach ($POItem as $PO) { $PONO = $PO->PONO; $postatus= $PO->Status; $SuplierName = $PO->SupplierName; $SuplierAddress = $PO->Address; $DeliveryAddress = $PO->DeliveryAddress; $postatus= $PO->Status; $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; } else{ $dtDe = new DateTime($PO->DeliveryDate, new DateTimeZone('Asia/Kolkata')); $DeliveryDate = $dtDe->format('d-m-Y'); $DeliverySchedule = ''; } $ServiceDescription =$PO->ServiceDescription; $PaymentTerms = $PO->PaymentTerms; if($PaymentTerms=='Others'){ $PaymentOtherDescription=$PO->PaymentOtherDescription; } } } $currencyName='INR'; $currencyCode =''; if(!empty($CurrencySymbol)) { foreach ($CurrencySymbol as $Curr) { $currencyCode = $Curr->FontCode2000; //$currencyName = $currencyName; } } if(!empty($ParentMaster)){ foreach($ParentMaster as $pm){ $PPaymentTerms = $pm->PaymentTerms; $PDeliverydate= $pm->DeliveryDate; $dtDe = new DateTime($PDeliverydate, new DateTimeZone('Asia/Kolkata')); $PDeliverydate = $dtDe->format('d-m-Y'); $PDeliverySchedule=$pm->DeliverySchedule; } } ?>
DRAFT
'; } ?>
 
PURCHASE ORDER - PO NO:/R

PO NO:

Date:

Supplier :


DELIVERY DATE / SCHEDULE BY:

Indent ref: /format("Y-m-d"); echo $date; ?>/ dept: / ccd:

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

BasicValue; $AfterCGST =$AfterCGST + $record->AfterCGST; $AfterSGST =$AfterSGST + $record->AfterSGST; $AfterIGST =$AfterIGST + $record->AfterIGST; $Insurance =$Insurance + $record->Insurance; $AfterFreightValue =$AfterFreightValue + $record->AfterFreightValue; $AfterDiscount = $AfterDiscount + $record->AfterDiscount ; $AfterPackaging=$AfterPackaging+$record->AfterPackagingValue; $totaltaxonly=($AfterCGST+$AfterSGST+$AfterIGST+$Insurance+$AfterFreightValue+$AfterPackaging); } $OrderValue = (( $SubTotalAmount + $AfterCGST +$AfterIGST+$AfterSGST +$Insurance +$AfterFreightValue+$AfterPackaging) - $AfterDiscount) ; }?>
S No Item code Item Name/ Description HSN Code UOM Quanitity Unit Rate Discount IGST% SGST% CGST% Packing Freight
MaterialCode ; ?> MaterialName ; ?> HSNCODE)){echo $record->HSNCODE;}else{echo "NIL";} ; ?> UOM ; ?> Quantity ; ?> Rate ; ?> DiscountType == 'PERCENTAGE'){$type="%";}else if($record->DiscountType == 'LUMP SUM'){$type="LS";}else if($record->DiscountType == 'NIL'){$type='';} echo $record->DiscountValue . $type;?> IGST."%";?> SGST."%";?> CGST."%";?> PackagingType == 'PERCENTAGE'){$type="%";}else if($record->PackagingType == 'LUMP SUM'){$type="LS";}else if($record->PackagingType == 'NIL'){$type='';} echo $record->PackagingValue . $type;?> FreightType == 'PER TRIP'){$type="TRIP"; echo $record->FreightValue ."*" . $record->NoOfTrip . $type;}else{ if($record->FreightType == 'LUMP SUM'){$type="LS";}else if($record->FreightType == 'NIL'){$type='';}else if($record->FreightType == 'PER UOM'){$type='UOM';}else if($record->FreightType == 'PERCENTAGE'){$type='%';} echo $record->PackagingValue . $type;}?>
ParentPO != ''){ $i++; } } } if($i>0){ ?> LineAmend ; } } ?>

Amended Details

" . $v->AmendedDetails . ""; break; } }?>
Item Description Previous DetailsCurrent Details
 

Payment Terms :  

Special Instruction:
 

Total Amount In Words :

 

 Total Amount Before Tax In INR  
 Total Tax Amount In INR  
 Total Amount After Tax In INR  
Advance Amount Paid In INR  
Balance Needs to be pay In INR  
ReleasedOn, new DateTimeZone('Asia/Kolkata')); ?>

 

Released By : FirstName;?>
Released On : format('d-m-Y');?>

 

Authorized Signatory

 

Note: Please acknowledge receipt of this order for acceptance

          Material to be delivered to our stores before 3pm  

          Please refer order number and item code in your challan/invoice