Siddharth Industries - Edit Service Purchase Order -
- -
-
- -
-
-
- -
diff --git a/application/views/EditservicePurchaseorder.php b/application/views/EditservicePurchaseorder.php old mode 100755 new mode 100644 index bc09a96a..b53ac84e --- a/application/views/EditservicePurchaseorder.php +++ b/application/views/EditservicePurchaseorder.php @@ -1,3259 +1,3262 @@ -"NO","value"=>"0"),array("name"=>"YES","value"=>"1") -); - $DeliverOption=''; - $SupId = ''; - $SupName = ''; - $Address = ''; - $PODate = ''; - - $DeliveryAddress =''; - $PONOStatus = ''; - $PONO = ''; - - $TotalCgst = 0.0; - $TotalSgst = 0.0; - $TotalIgst = 0.0; - $TotalSummary = 0.0; - $TotalBasicAmount = 0.0; - $ServiceDescription = ''; - $OtherAmt = 0.0; - - $Deliverydt=''; - $DeliverSchedule=''; - $MaxPoDate = ''; - $AvlAmount = 0; - $Value="₹"; - - $StatusName=''; - $ModeOfShipment=''; - $SupplierReference=''; - $SuppliersOfferNo=''; - $OtherReferences=''; - $Fincap=''; - $InsuranceOptions=''; - $InsuranceNo=''; - $ServiceTypeOptions=''; - $DescriptionOfPo = ''; - - -if(!empty($INRSYMBOL)) -{ - - foreach($INRSYMBOL as $INRS) - { - $INRSYM=$INRS->FontCode2000; - - } -} - -if(!empty($MaxPODate)) -{ - foreach ($MaxPODate as $date) - { - $MaxPoDate = $date->PODate; - - } -} -if(!empty($POMaster)) -{ - - foreach ($POMaster as $Req) - { - - $SupId = $Req->SupplierID; - $SupName = $Req->SupplierName; - $Address = $Req->Address; - $pdt = new DateTime($Req->PODate); - $PODate = $pdt->format('d-m-Y'); - $DeliverOption = $Req->DeliveryOption; - $DeliverSchedule = $Req->DeliverySchedule; - $Ddt = new DateTime($Req->DeliveryDate); - $Deliverydt = $Ddt->format('d-m-Y'); - - $DeliveryAddress =$Req->DeliveryAddress; - $PONOStatus = $Req->StatusCode; - $PONO = $Req->PONO; - $ServiceDescription = $Req->ServiceDescription; - $WrkStatus=$Req->ServiceWorkStatus; - $StatusName=$Req->StatusName; - $otherPayment = $Req->PaymentOtherDescription; - $ModeOfShipment=$Req->Mode_Of_Shipment; - $SupplierReference=$Req->Supplier_Reference; - $SuppliersOfferNo=$Req->Supplier_Offer_No; - $OtherReferences=$Req->Other_Reference; - $Fincap=$Req->Fincap; - $InsuranceOptions=$Req->InsuranceStatus; - $InsuranceNo=$Req->InsuranceNumber; - $ServiceTypeOptions=$Req->POSubType; - $DescriptionOfPo = $Req->Description_Of_Service; - - } -} - - -if(!empty($RequistionDetails)) -{ - - foreach ($RequistionDetails as $ReqDet) - { - // $Reqon=$ReqDet->ReqDate; - $Reqonn=new DateTime($ReqDet->ReqDate); - $Reqon=$Reqonn->format('d-m-Y'); - $Requestedby=$ReqDet->Requestedby; - $RequesterName=$ReqDet->FirstName; - //$Status=$ReqDet->Status; - } -} - -//echo "$WrkStatus"; - -if(!empty($AvlBudAmt)) -{ - - $AvlAmount = number_format($AvlBudAmt, 2, '.', ''); - - -} - - -foreach ($PaymentTerms as $TER) -{ - $Terms=$TER->PaymentTerms; -} - - - -// foreach ($POSTATUS as $PST ) -// { -// $POStatus=$PST->StatusName; -// } -?> - - - - - - - - - - - -