FirstName; $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); $CurrentDate = $dt->format('d-m-Y'); $res_arr_values = array(); $DeliverOption=''; $SupId = ''; $SupName = ''; $Address = ''; $PODate = ''; $TotalCgst=''; $TotalSgst=''; $TotalIgst=''; $DeliveryAddress =''; $POStatus = ''; $PONO = ''; $TotalCgst = 0; $TotalSgst = 0.0; $TotalIgst = 0.0; $OtherAmt = 0.0; $TotalSummary = 0.0; $TotalBasicAmount = 0.0; $ServiceDescription = ''; $Import_DispatchDetails=''; $Import_PlaceofOrgin=''; $CapitalRange=''; $Deliverydt=''; $DeliverSchedule=''; $PONOStatus=''; $MaxPoDate = ''; $AvlAmount = 0; $currentCurrencyType=''; $exchangeRate = $ExchangeRate; $ConfigValue=''; $TotalLanding=0; $tothighseas=0; $totcustom=0; $totexciseduty=0; $totexcisedutyED=0; $totexciseSH=0; $totcustomED=0; $totcustomSH=0; $totaddtnlexcise=0; $totgrossduty=0; $totavlmodvat=0; $totgrossexpense=0; $totordervalue=0; $ExchangeRate=0; $totorder=0; $ExchangeRate=''; $PaymentTerms=''; $PaymentDays=''; $PayableAT=''; $ExchangeDate=''; $ExchangeRateOn=''; $UpdatedOn; $CapitalRange=''; $PoStatusName=''; $otherPayment=''; $INR=''; $INRSYM=''; if(!empty($INRSYMBOL)) { foreach ($INRSYMBOL as $INR) { $INRSYM=$INR->Currency_Code; $INR=$INR->FontCode2000; } } //echo $INR; 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; $POStatus = $Req->StatusCode; $PoStatusName=$Req->StatusName; $PONO = $Req->PONO; $ServiceDescription = $Req->ServiceDescription; $Exchangedt = new DateTime($Req->ExchangeRateCalculatedon); $ExchangeRateOn=$Exchangedt->format('d-m-Y'); $PaymentTerms=$Req->PaymentTerms; $otherPayment = $Req->PaymentOtherDescription; $Updateddt = new DateTime($Req->UpdatedOn); $UpdatedOn=$Updateddt->format('d-m-Y'); $CapitalRange=$Req->CapitalRange; $Import_DispatchDetails=$Req->Import_DispatchDetails; $Import_PlaceofOrgin=$Req->Import_PlaceofOrgin; $CapitalRange=$Req->CapitalRange; } } //echo $CapitalRange; if(!empty($AvlBudAmt)) { $AvlAmount = number_format($AvlCapitalBudAmt, 2, '.', ''); } ?>