From 1bee5c83b3a056254edaf2d0d7f15ed266f2e871 Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Fri, 28 Jul 2017 18:24:02 +0530 Subject: [PATCH] import view --- application/views/editimportpo.php | 9964 ++++++++++++++-------------- application/views/importpo.php | 7868 +++++++++++----------- 2 files changed, 8904 insertions(+), 8928 deletions(-) mode change 100755 => 100644 application/views/editimportpo.php mode change 100755 => 100644 application/views/importpo.php diff --git a/application/views/editimportpo.php b/application/views/editimportpo.php old mode 100755 new mode 100644 index 01f17482..abae8207 --- a/application/views/editimportpo.php +++ b/application/views/editimportpo.php @@ -1,4988 +1,4976 @@ -Currency_Code.' '.' - '.' '.$Detail->Country_and_Currency; -} -//echo $Cur; - - -foreach ($PaymentTerms as $TER) -{ - $Terms=$TER->PaymentTerms; -} -//echo $Terms; -$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); -$CurrentDate = $dt->format('Y-m-d'); - -$MaxPoDate = ''; -if(!empty($MaxPODate)) -{ - foreach ($MaxPODate as $date) - { - $MaxPoDate = $date->PODate; - } -} - -if(!empty($AvlBudAmt)) -{ - - $AvlAmount = $AvlBudAmt; - -} -//echo $AvlBudAmt;; - -$CompanyAddress = ''; -if(!empty($CompanyDetails)) -{ - foreach ($CompanyDetails as $Req) - { - $CompanyAddress = $Req->Address; - } -} - - - -$INR=''; -$INRSYM=''; -if(!empty($INRSYMBOL)) -{ - foreach ($INRSYMBOL as $INR) - { - $INRSYM=$INR->Currency_Code; - $INR=$INR->FontCode2000; - } -} -//echo $INR; -//echo "$CompanyAddress"; - //$Exchangerate=$ExchangeRate; - - - $index = 0; -$SupId = ''; -$SupName = ''; -$Address = ''; -$PODate = ''; -$Deliverydt =''; -$DeliveryAddress =''; -$PONOStatus=''; -$PONO = ''; -$ServiceDescription = ''; -$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; -$Cur=''; -$Currency_Type=''; -$PayableAT=''; -//$ExchangeRate -$ExchangeRateCalculatedon=''; -$StatusName=''; -$Import_DispatchDetails=''; -$Import_PlaceofOrgin=''; -$DeliveryOption=''; - -if(!empty($POMaster)) -{ - foreach ($POMaster as $Req) - { - $SupId = $Req->SupplierID; - $SupName = $Req->SupplierName; - $Address = $Req->Address; - - $Pdt = new DateTime($Req->PODate); - $PODate = $Pdt->format('Y-m-d'); - - $Ddt = new DateTime($Req->DeliveryDate); - $Deliverydt = $Ddt->format('Y-m-d'); - - $DeliveryAddress =$Req->DeliveryAddress; - $PONOStatus = $Req->StatusCode; - $PONO = $Req->PONO; - $ServiceDescription = $Req->ServiceDescription; - $ExchangeRate=number_format(($Req->ExchangeRate),2); - //echo "$ExchangeRate"; - $ExchangeRateCalculatedon=$Req->ExchangeRateCalculatedon; - $PaymentTerms=$Req->PaymentTerms; - $PayableAT=$Req->PayableAT; - $PaymentDays=$Req->PaymentDays; - $StatusName=$Req->StatusName; - $Currency_Type=$Req->CurrencyType; - $parentPO =$Req->ParentPO; - $DeliverySchedule=$Req->DeliverySchedule; - $Import_DispatchDetails=$Req->Import_DispatchDetails; - $Import_PlaceofOrgin=$Req->Import_PlaceofOrgin; - $PaymentTerms=$Req->PaymentTerms; - $DeliveryOption=$Req->DeliveryOption; - $ServiceDescription=$Req->ServiceDescription; - } -} -//echo $DeliveryOption; -//echo $PaymentTerms; - - -if(!empty($RequistionDetails)) -{ - - foreach ($RequistionDetails as $ReqDet) - { - // $Reqon=$ReqDet->ReqDate; - $Reqonn=new DateTime($ReqDet->ReqDate); - $Reqon=$Reqonn->format('Y-m-d'); - $Requestedby=$ReqDet->Requestedby; - $RequesterName=$ReqDet->FirstName; - //$Status=$ReqDet->Status; - } -} - -?> - - - - - - - - - - - - - -
- -
-
- 'form-label-left ImportPO ','name' => 'ImportPO','id' => 'ImportPO'); - - echo form_open($this->config->base_url().'/purchaseorder/addPO/',$attributes); ?> - - - - -
-
-
- -

Siddharth Industries - Edit Import Purchase Order-

- -

Siddharth Industries - Amended Purchase Order-

- -
- -
-
-
-
-
-
- - - 'Selected Requisition Numbers'); - if(!empty($ReqList)) - { - foreach ($ReqList as $SID): - $options[$SID->ReqNo] = $SID->ReqNo ; - // print_r($SID->ReqNo); - // $options[$SID->ReqNo] = $SID->ReqNo ."-". $SID->ReqBy; - //$ReqType = $SID->ReqType; - endforeach; - } - //echo form_multiselect('RequistionNo', $options,set_value('RequistionNo'),'id="RequistionNo"' , 'required="true"'); - echo form_multiselect('RequistionNo', $options,set_value('RequistionNo'),'id="RequistionNo"' ,'required="true"' , 'height="400px"' ); - - ?> -
- - - - -
- - - Currency_Code){ - $options1[$Cur->Currency_Code] = $Cur->Currency_Code.' '.' - '.' '.$Cur->Country_and_Currency; - - } - - endforeach; - - - foreach ($Currency as $Cur): - if($Currency_Type!=$Cur->Currency_Code){ - $options1[$Cur->Currency_Code] = $Cur->Currency_Code.' '.' - '.' '.$Cur->Country_and_Currency; - - } - - endforeach; - } - - echo form_dropdown('currencytype', $options1,set_value('currencytype',$Currency_Type),'id="currencytype"','class="form-control select2"' , 'required="true"'); - - ?> - - - - - - - - -
- - - - -
-
-
-
- - - 'Select Supplier'); - //print_r( $options); - if(!empty($Suplist)) - { - foreach ($Suplist as $SID): - - - $options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName; - - endforeach; - } - - //echo form_dropdown('drpSupplier', $options,set_value('drpSupplier'),'id="drpSupplier"' ,'required="true"' ,'class="form-control select2'); - - echo form_dropdown('drpSupplier', $options,set_value('drpSupplier',$SupId),'id="drpSupplier"' ,'required="true"' ,'class="form-control select2'); - - ?> - - - -
-

- -
- 'SupAddress','value' => set_value('SupAddress',$Address),'id'=>'SupAddress', 'class' => 'form-control' ,'readonly' => 'true','rows' => '3', 'cols' => '40'); - echo Form_textarea($data); - - - - - ?> -
-
- - - -
-
- -
-
- -
- - 'POType','value' => set_value('POType',IMPORT),'id'=>'POType', 'class' => 'form-control' ,'readonly' => 'true'); - echo form_input($data); - ?> -
-
-
- -
- 'PODate','value' => set_value('PODate',$CurrentDate),'id'=>'PODate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;'); - echo form_input($data); - ?> -
-
-
-
- -
- 'DeliveryAddr','value' => set_value('DeliveryAddr',$DeliveryAddress),'id'=>'DeliveryAddr', 'class' => 'form-control' ,'required' => 'true', 'rows' => '3', 'cols' => '40'); - echo Form_textarea($data); - ?> -
-
- - - -
-
-
- - Select Delivery By
- - - "DateRange", "id"=>"Date", "value"=>"0", 'checked'=>'checked')); ?>     - - "DateRange", "id"=>"Schedule", "value"=>"1")); ?> - - - -
- - -

- - - 'Dispatch','value' => set_value('Dispatch',$Import_DispatchDetails),'id'=>'Dispatch', 'class' => 'form-control' ,'required' => 'true'); - // echo form_input($data); - - $data = array('name' => 'Dispatch','value' => set_value('Dispatch',$Import_DispatchDetails),'id'=>'Dispatch', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '3', 'cols' => '40'); - echo Form_textarea($data); - ?> - -
- - -
- -
-
-
- -
- -
- 'Exchangerateon','value' => set_value('Exchangerateon',$CurrentDate),'id'=>'Exchangerateon', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;'); - echo form_input($data); - ?> -
-
-
- - -

-
- 'ExchangeRate','value' => set_value('ExchangeRate',$ExchangeRate),'id'=>'ExchangeRate', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'USRate()'); - echo form_input($data); - ?> -
-
-
- -
- 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;'); - // echo form_input($data); - $data = array('name' => 'PlaceOforigin','value' => set_value('PlaceOforigin',$Import_PlaceofOrgin),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true'); - echo form_input($data); - ?> -
-
-
-
-
- - Payment Details - -
- - Payable Terms - - - PaymentTerms){ - $options2[$Pay->PaymentTerms] = $Pay->PaymentTerms; - - } - - endforeach; - - if(!empty($Payment)) - { - foreach ($Payment as $Pay1): - if($PaymentTerms!=$Pay1->PaymentTerms){ - $options2[$Pay1->PaymentTerms] = $Pay1->PaymentTerms; - - } - - endforeach; - } - - // echo form_dropdown('currencytype', $options1,set_value('currencytype',$Currency_Type),'id="currencytype"','class="form-control select2"' , 'required="true"'); - echo form_dropdown('PaymentTerms', $options2,set_value('PaymentTerms',$PaymentTerms),'id="PaymentTerms"' ,'required="true"' ,'class="form-control select2'); - - - ?> - - -
- - - - - - -
-
-
- - -
- -
-
- - - - Add Line Item - - - - - - - - -
-
- - - - - - - - - - - - - - - - -
-
-
- - - - - - - - - - - - - - - - - - - - Rate; - - ?> - - - - - - - - - - - - - - - - - - -" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AfterLandingCharge + $TotalLanding; - $TotalLanding = $TotalLanding + ($record->AfterLandingCharge); - $tothighseas = $tothighseas + $record->AfterHighSeasSalesCharge; - $totcustom = $totcustom + $record->AfterCustomDuty; - $totexciseduty = $totexciseduty + $record->AfterExciseDuty; - $totexcisedutyED = $totexcisedutyED + $record->AfterExciseDutyEdCess; - $totexciseSH = $totexciseSH + $record->AfterExciseDutySHCess; - $totcustomED = $totcustomED +$record->AfterCustomEdCess; - - $totcustomSH = $totcustomSH + $record->AfterCustomSHCess; - $totaddtnlexcise= $totaddtnlexcise + $record->AfterAddlExciseDuty; - $totgrossduty = $totgrossduty + $record->Grossdutypayable; - // $totavlmodvat = $totavlmodvat +$record->AvailableModvat; - //$totgrossduty=$totgrossduty+$record->Grossdutypayable; - $totavlmodvat=$totavlmodvat+$record->AvailableModvat; - $totgrossexpense=$totgrossexpense+$record->Grossexpensesduetocustomduty; - $ExchangeRate=$record->ExchangeRate; - //$totorder=$totorder+$record->ProductPrice; - $totorder=$totorder+$record->ProductPrice; - //$ServiceDescription=$record->ServiceDescription; - - //alert($totorder); - - - } - - ?> - - - - - - - - - -
SNoRequisition NoMaterial CodeDescriptionQuantityUOMRateBasic AmountReceived QtyRejected QtyPending QtyAction
ReqNo ?>MaterialCode ?>MaterialName?>Quantity ?>UOM ?>Rate ?>BasicValue ?>ReceivedQuantity ?>QuantityRejected ?>PendingQty?>     - -    
-
- -
- -
-
- - - 'txttotallanding','value' => set_value('txttotallanding',$TotalLanding),'id'=>'txttotallanding', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- -
- - - 'txttotalhighseas','value' => set_value('txttotalhighseas',$tothighseas),'id'=>'txttotalhighseas', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- -
- - - 'txttotalcustom','value' => set_value('txttotalcustom',$totcustom),'id'=>'txttotalcustom', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- -
- - - 'txttotalexcise','value' => set_value('txttotalexcise',$totexciseduty),'id'=>'txttotalexcise', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- -
- - - 'txttotalexciseED','value' => set_value('txttotalexciseED', $totexcisedutyED),'id'=>'txttotalexciseED', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- - -
- - - 'txttotalexciseSH','value' => set_value('txttotalexciseSH',$totexciseSH),'id'=>'txttotalexciseSH', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- -
- - - 'txttotalcustomED','value' => set_value('txttotalcustomED',$totcustomED),'id'=>'txttotalcustomED', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- -
- - - 'txttotalcustomSH','value' => set_value('txttotalcustomSH',$totcustomSH),'id'=>'txttotalcustomSH', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- -
- - - 'txttotalAdditionalExciseduty','value' => set_value('txttotalAdditionalExciseduty',$totaddtnlexcise),'id'=>'txttotalAdditionalExciseduty', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- - -
- - - 'txttotalgrossduty','value' => set_value('txttotalgrossduty',$totgrossduty),'id'=>'txttotalgrossduty', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- -
- - - 'txttotalavlmodvat','value' => set_value('txttotalavlmodvat',$totavlmodvat),'id'=>'txttotalavlmodvat', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- - -
- - - 'txttotalgrossexpense','value' => set_value('txttotalgrossexpense',$totgrossexpense),'id'=>'txttotalgrossexpense', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- - - - -
- 'txtToatlOrder','value' => set_value('txtToatlOrder',$totorder),'id'=>'txtToatlOrder', 'class' => 'form-control' ,'required' => 'true','readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- - -
- - - -
-
- 'txtSpcialInstruction','value' => set_value('txtSpcialInstruction',$ServiceDescription),'id'=>'txtSpcialInstruction', 'class' => 'form-control','rows' => '10', 'cols' => '40' ); - echo form_textarea($data); - ?> -
-
-
- -

- - - - - - - - - - -   Save -   Submit - - - - OK - - -
-
-
-
-
- Request On - 'Requeston','value' => set_value('Requeston',$Reqon),'id'=>'Requeston', 'class' => 'form-control num' ,'required' => 'true', 'onkeypress'=>'return false;'); - echo form_input($data); - ?> -
-
- Request By - 'RequestBy','value' => set_value('RequestBy',$RequesterName),'id'=>'RequestBy', 'class' => 'form-control' ,'required' => 'true'); - echo form_input($data); - ?> -
-
- Status - $PONOStatus); - // echo form_dropdown('Status', $options,set_value('Status',$POStatus),'id="Status"' ,'required="true"' ,'class="form-control select2') - - $data = array('name' => 'Status','value' => set_value('Status',$StatusName),'id'=>'Status', 'class' => 'form-control' ,'readonly' => 'true'); - echo form_input($data); - ?> -

-
-
- -
-
-
-
- - - - - - +Currency_Code.' '.' - '.' '.$Detail->Country_and_Currency; +} +//echo $Cur; + + +foreach ($PaymentTerms as $TER) +{ + $Terms=$TER->PaymentTerms; +} +//echo $Terms; +$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); +$CurrentDate = $dt->format('Y-m-d'); + +$MaxPoDate = ''; +if(!empty($MaxPODate)) +{ + foreach ($MaxPODate as $date) + { + $MaxPoDate = $date->PODate; + } +} + +if(!empty($AvlBudAmt)) +{ + + $AvlAmount = $AvlBudAmt; + +} +//echo $AvlBudAmt;; + +$CompanyAddress = ''; +if(!empty($CompanyDetails)) +{ + foreach ($CompanyDetails as $Req) + { + $CompanyAddress = $Req->Address; + } +} + + + +$INR=''; +$INRSYM=''; +if(!empty($INRSYMBOL)) +{ + foreach ($INRSYMBOL as $INR) + { + $INRSYM=$INR->Currency_Code; + $INR=$INR->FontCode2000; + } +} +//echo $INR; +//echo "$CompanyAddress"; + //$Exchangerate=$ExchangeRate; + + + $index = 0; +$SupId = ''; +$SupName = ''; +$Address = ''; +$PODate = ''; +$Deliverydt =''; +$DeliveryAddress =''; +$PONOStatus=''; +$PONO = ''; +$ServiceDescription = ''; +$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; +$Cur=''; +$Currency_Type=''; +$PayableAT=''; +//$ExchangeRate +$ExchangeRateCalculatedon=''; +$StatusName=''; +$Import_DispatchDetails=''; +$Import_PlaceofOrgin=''; +$DeliveryOption=''; + +if(!empty($POMaster)) +{ + foreach ($POMaster as $Req) + { + $SupId = $Req->SupplierID; + $SupName = $Req->SupplierName; + $Address = $Req->Address; + + $Pdt = new DateTime($Req->PODate); + $PODate = $Pdt->format('Y-m-d'); + + $Ddt = new DateTime($Req->DeliveryDate); + $Deliverydt = $Ddt->format('Y-m-d'); + + $DeliveryAddress =$Req->DeliveryAddress; + $PONOStatus = $Req->StatusCode; + $PONO = $Req->PONO; + $ServiceDescription = $Req->ServiceDescription; + $ExchangeRate=number_format(($Req->ExchangeRate),2); + //echo "$ExchangeRate"; + $ExchangeRateCalculatedon=$Req->ExchangeRateCalculatedon; + $PaymentTerms=$Req->PaymentTerms; + $PayableAT=$Req->PayableAT; + $PaymentDays=$Req->PaymentDays; + $StatusName=$Req->StatusName; + $Currency_Type=$Req->CurrencyType; + $parentPO =$Req->ParentPO; + $DeliverySchedule=$Req->DeliverySchedule; + $Import_DispatchDetails=$Req->Import_DispatchDetails; + $Import_PlaceofOrgin=$Req->Import_PlaceofOrgin; + $PaymentTerms=$Req->PaymentTerms; + $DeliveryOption=$Req->DeliveryOption; + $ServiceDescription=$Req->ServiceDescription; + } +} +//echo $DeliveryOption; +//echo $PaymentTerms; + + +if(!empty($RequistionDetails)) +{ + + foreach ($RequistionDetails as $ReqDet) + { + // $Reqon=$ReqDet->ReqDate; + $Reqonn=new DateTime($ReqDet->ReqDate); + $Reqon=$Reqonn->format('Y-m-d'); + $Requestedby=$ReqDet->Requestedby; + $RequesterName=$ReqDet->FirstName; + //$Status=$ReqDet->Status; + } +} + +?> + + + + + + + + + +
+ +
+
+ 'form-label-left ImportPO ','name' => 'ImportPO','id' => 'ImportPO'); + + echo form_open($this->config->base_url().'/purchaseorder/addPO/',$attributes); ?> + + + + +
+
+
+ +

Siddharth Industries - Edit Import Purchase Order-

+ +

Siddharth Industries - Amended Purchase Order-

+ +
+ +
+
+
+
+
+
+ + + 'Selected Requisition Numbers'); + if(!empty($ReqList)) + { + foreach ($ReqList as $SID): + $options[$SID->ReqNo] = $SID->ReqNo ; + // print_r($SID->ReqNo); + // $options[$SID->ReqNo] = $SID->ReqNo ."-". $SID->ReqBy; + //$ReqType = $SID->ReqType; + endforeach; + } + //echo form_multiselect('RequistionNo', $options,set_value('RequistionNo'),'id="RequistionNo"' , 'required="true"'); + echo form_multiselect('RequistionNo', $options,set_value('RequistionNo'),'id="RequistionNo"' ,'required="true"' , 'height="400px"' ); + + ?> +
+ + + + +
+ + + Currency_Code){ + $options1[$Cur->Currency_Code] = $Cur->Currency_Code.' '.' - '.' '.$Cur->Country_and_Currency; + + } + + endforeach; + + + foreach ($Currency as $Cur): + if($Currency_Type!=$Cur->Currency_Code){ + $options1[$Cur->Currency_Code] = $Cur->Currency_Code.' '.' - '.' '.$Cur->Country_and_Currency; + + } + + endforeach; + } + + echo form_dropdown('currencytype', $options1,set_value('currencytype',$Currency_Type),'id="currencytype"','class="form-control select2"' , 'required="true"'); + + ?> + + + + + + + + +
+ + + + +
+
+
+
+ + + 'Select Supplier'); + //print_r( $options); + if(!empty($Suplist)) + { + foreach ($Suplist as $SID): + + + $options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName; + + endforeach; + } + + //echo form_dropdown('drpSupplier', $options,set_value('drpSupplier'),'id="drpSupplier"' ,'required="true"' ,'class="form-control select2'); + + echo form_dropdown('drpSupplier', $options,set_value('drpSupplier',$SupId),'id="drpSupplier"' ,'required="true"' ,'class="form-control select2'); + + ?> + + + +
+

+ +
+ 'SupAddress','value' => set_value('SupAddress',$Address),'id'=>'SupAddress', 'class' => 'form-control' ,'readonly' => 'true','rows' => '3', 'cols' => '40'); + echo Form_textarea($data); + + + + + ?> +
+
+ + + +
+
+ +
+
+ +
+ + 'POType','value' => set_value('POType',IMPORT),'id'=>'POType', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ +
+ 'PODate','value' => set_value('PODate',$CurrentDate),'id'=>'PODate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;'); + echo form_input($data); + ?> +
+
+
+
+ +
+ 'DeliveryAddr','value' => set_value('DeliveryAddr',$DeliveryAddress),'id'=>'DeliveryAddr', 'class' => 'form-control' ,'required' => 'true', 'rows' => '3', 'cols' => '40'); + echo Form_textarea($data); + ?> +
+
+ + + +
+
+
+ + Select Delivery By
+ + + "DateRange", "id"=>"Date", "value"=>"0", 'checked'=>'checked')); ?>     + + "DateRange", "id"=>"Schedule", "value"=>"1")); ?> + + + +
+ + +

+ + + 'Dispatch','value' => set_value('Dispatch',$Import_DispatchDetails),'id'=>'Dispatch', 'class' => 'form-control' ,'required' => 'true'); + // echo form_input($data); + + $data = array('name' => 'Dispatch','value' => set_value('Dispatch',$Import_DispatchDetails),'id'=>'Dispatch', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '3', 'cols' => '40'); + echo Form_textarea($data); + ?> + +
+ + +
+ +
+
+
+ +
+ +
+ 'Exchangerateon','value' => set_value('Exchangerateon',$CurrentDate),'id'=>'Exchangerateon', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;'); + echo form_input($data); + ?> +
+
+
+ + +

+
+ 'ExchangeRate','value' => set_value('ExchangeRate',$ExchangeRate),'id'=>'ExchangeRate', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'USRate()'); + echo form_input($data); + ?> +
+
+
+ +
+ 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;'); + // echo form_input($data); + $data = array('name' => 'PlaceOforigin','value' => set_value('PlaceOforigin',$Import_PlaceofOrgin),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true'); + echo form_input($data); + ?> +
+
+
+
+
+ + Payment Details + +
+ + Payable Terms + + + PaymentTerms){ + $options2[$Pay->PaymentTerms] = $Pay->PaymentTerms; + + } + + endforeach; + + if(!empty($Payment)) + { + foreach ($Payment as $Pay1): + if($PaymentTerms!=$Pay1->PaymentTerms){ + $options2[$Pay1->PaymentTerms] = $Pay1->PaymentTerms; + + } + + endforeach; + } + + // echo form_dropdown('currencytype', $options1,set_value('currencytype',$Currency_Type),'id="currencytype"','class="form-control select2"' , 'required="true"'); + echo form_dropdown('PaymentTerms', $options2,set_value('PaymentTerms',$PaymentTerms),'id="PaymentTerms"' ,'required="true"' ,'class="form-control select2'); + + + ?> + + +
+ + + + + + +
+
+
+ + +
+ +
+
+ + + + Add Line Item + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + Rate; + + ?> + + + + + + + + + + + + + + + + + + +" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AfterLandingCharge + $TotalLanding; + $TotalLanding = $TotalLanding + ($record->AfterLandingCharge); + $tothighseas = $tothighseas + $record->AfterHighSeasSalesCharge; + $totcustom = $totcustom + $record->AfterCustomDuty; + $totexciseduty = $totexciseduty + $record->AfterExciseDuty; + $totexcisedutyED = $totexcisedutyED + $record->AfterExciseDutyEdCess; + $totexciseSH = $totexciseSH + $record->AfterExciseDutySHCess; + $totcustomED = $totcustomED +$record->AfterCustomEdCess; + + $totcustomSH = $totcustomSH + $record->AfterCustomSHCess; + $totaddtnlexcise= $totaddtnlexcise + $record->AfterAddlExciseDuty; + $totgrossduty = $totgrossduty + $record->Grossdutypayable; + // $totavlmodvat = $totavlmodvat +$record->AvailableModvat; + //$totgrossduty=$totgrossduty+$record->Grossdutypayable; + $totavlmodvat=$totavlmodvat+$record->AvailableModvat; + $totgrossexpense=$totgrossexpense+$record->Grossexpensesduetocustomduty; + $ExchangeRate=$record->ExchangeRate; + //$totorder=$totorder+$record->ProductPrice; + $totorder=$totorder+$record->ProductPrice; + //$ServiceDescription=$record->ServiceDescription; + + //alert($totorder); + + + } + + ?> + + + + + + + + + +
SNoRequisition NoMaterial CodeDescriptionQuantityUOMRateBasic AmountReceived QtyRejected QtyPending QtyAction
ReqNo ?>MaterialCode ?>MaterialName?>Quantity ?>UOM ?>Rate ?>BasicValue ?>ReceivedQuantity ?>QuantityRejected ?>PendingQty?>     + +    
+
+ +
+ +
+
+ + + 'txttotallanding','value' => set_value('txttotallanding',$TotalLanding),'id'=>'txttotallanding', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalhighseas','value' => set_value('txttotalhighseas',$tothighseas),'id'=>'txttotalhighseas', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalcustom','value' => set_value('txttotalcustom',$totcustom),'id'=>'txttotalcustom', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalexcise','value' => set_value('txttotalexcise',$totexciseduty),'id'=>'txttotalexcise', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalexciseED','value' => set_value('txttotalexciseED', $totexcisedutyED),'id'=>'txttotalexciseED', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ + +
+ + + 'txttotalexciseSH','value' => set_value('txttotalexciseSH',$totexciseSH),'id'=>'txttotalexciseSH', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalcustomED','value' => set_value('txttotalcustomED',$totcustomED),'id'=>'txttotalcustomED', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalcustomSH','value' => set_value('txttotalcustomSH',$totcustomSH),'id'=>'txttotalcustomSH', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalAdditionalExciseduty','value' => set_value('txttotalAdditionalExciseduty',$totaddtnlexcise),'id'=>'txttotalAdditionalExciseduty', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ + +
+ + + 'txttotalgrossduty','value' => set_value('txttotalgrossduty',$totgrossduty),'id'=>'txttotalgrossduty', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalavlmodvat','value' => set_value('txttotalavlmodvat',$totavlmodvat),'id'=>'txttotalavlmodvat', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ + +
+ + + 'txttotalgrossexpense','value' => set_value('txttotalgrossexpense',$totgrossexpense),'id'=>'txttotalgrossexpense', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ + + + +
+ 'txtToatlOrder','value' => set_value('txtToatlOrder',$totorder),'id'=>'txtToatlOrder', 'class' => 'form-control' ,'required' => 'true','readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ + +
+ + + +
+
+ 'txtSpcialInstruction','value' => set_value('txtSpcialInstruction',$ServiceDescription),'id'=>'txtSpcialInstruction', 'class' => 'form-control','rows' => '10', 'cols' => '40' ); + echo form_textarea($data); + ?> +
+
+
+ +

+ + + + + + + + + + +   Save +   Submit + + + + OK + + +
+
+
+
+
+ Request On + 'Requeston','value' => set_value('Requeston',$Reqon),'id'=>'Requeston', 'class' => 'form-control num' ,'required' => 'true', 'onkeypress'=>'return false;'); + echo form_input($data); + ?> +
+
+ Request By + 'RequestBy','value' => set_value('RequestBy',$RequesterName),'id'=>'RequestBy', 'class' => 'form-control' ,'required' => 'true'); + echo form_input($data); + ?> +
+
+ Status + $PONOStatus); + // echo form_dropdown('Status', $options,set_value('Status',$POStatus),'id="Status"' ,'required="true"' ,'class="form-control select2') + + $data = array('name' => 'Status','value' => set_value('Status',$StatusName),'id'=>'Status', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +

+
+
+ +
+
+
+
+ + + + + + diff --git a/application/views/importpo.php b/application/views/importpo.php old mode 100755 new mode 100644 index 44908b70..011493a6 --- a/application/views/importpo.php +++ b/application/views/importpo.php @@ -1,3940 +1,3928 @@ -Address; - } -} -//echo "$CompanyAddress"; -$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); -$CurrentDate = $dt->format('Y-m-d'); -//echo $CurrentDate; -$MaxPoDate = ''; -if(!empty($MaxPODate)) -{ - foreach ($MaxPODate as $date) - { - $MaxPoDate = $date->PODate; - } -} - -$INR=''; -$INRSYM=''; -if(!empty($INRSYMBOL)) -{ - foreach ($INRSYMBOL as $INR) - { - $INRSYM=$INR->Currency_Code; - $INR=$INR->FontCode2000; - } -} - -//echo $INRSYM; - -if(!empty($AvlimportBudAmt)) -{ - - $AvlAmount = $AvlimportBudAmt; - -} - -// if(!empty($AvlBudAmt)) -// { - -// $AvlAmount = $AvlBudAmt; - -// } - -//echo "view $AvlAmount"; -?> - - - - - - - - - - - - - - -
- -
-
- 'form-label-left ImportPO ','name' => 'ImportPO','id' => 'ImportPO'); - - echo form_open($this->config->base_url().'/purchaseorder/addPO/',$attributes); ?> - - -
- - -

Siddharth Industries - Import Purchase Order


- - - -
-
-
-
-
- - - 'Selected Requisition Numbers'); - if(!empty($ReqList)) - { - foreach ($ReqList as $SID): - - // print_r($SID->ReqNo); - $options[$SID->ReqNo] = $SID->ReqNo ."-". $SID->ReqBy; - $ReqType = $SID->ReqType; - endforeach; - } - echo form_multiselect('RequistionNo', $options,set_value('RequistionNo'),'id="RequistionNo"' , 'required="true"'); - - ?> -
-
- - - 'Select Currency Type'); - //print_r($Currency); - if(!empty($Currency)) - { //print_r($Currency); - foreach ($Currency as $CUR): - - - $options[$CUR->Currency_Code] = $CUR->Currency_Code.' '.' - '.' '.$CUR->Country_and_Currency; - - endforeach; - } - - echo form_dropdown('currencytype', $options,set_value('currencytype'),'id="currencytype"' ,'required="true"' ,'class="form-control select2'); - ?> - -
- -
-
-
-
- - - 'Select Supplier'); - //print_r( $options); - if(!empty($Suplist)) - { - foreach ($Suplist as $SID): - - - $options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName; - - endforeach; - } - - echo form_dropdown('drpSupplier', $options,set_value('drpSupplier'),'id="drpSupplier"' ,'required="true"' ,'class="form-control select2'); - - ?> - -
-

- -
- 'SupAddress','value' => set_value('SupAddress'),'id'=>'SupAddress', 'class' => 'form-control' ,'readonly' => 'true','rows' => '3', 'cols' => '40'); - echo Form_textarea($data); - ?> -
-
- -
-
-
-
- -
- - 'POType','value' => set_value('POType',IMPORT),'id'=>'POType', 'class' => 'form-control' ,'readonly' => 'true'); - echo form_input($data); - ?> -
-
-
- -
- 'PODate','value' => set_value('PODate',$CurrentDate),'id'=>'PODate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;'); - echo form_input($data); - ?> -
-
-
-
- -
- 'DeliveryAddr','value' => set_value('DeliveryAddr',$CompanyAddress),'id'=>'DeliveryAddr', 'class' => 'form-control' ,'required' => 'true', 'rows' => '3', 'cols' => '40'); - echo Form_textarea($data); - ?> -
-
- - - -
-
-
- - Select Delivery By
- - - "DateRange", "id"=>"Date", "value"=>"0", 'checked'=>'checked')); ?>     - - "DateRange", "id"=>"Schedule", "value"=>"1")); ?> - - - -
- - -

- - - 'Dispatch','value' => set_value('Dispatch'),'id'=>'Dispatch', 'class' => 'form-control' ,'required' => 'true'); - // echo form_input($data); - $data = array('name' => 'Dispatch','value' => set_value('Dispatch'),'id'=>'Dispatch', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '3', 'cols' => '40'); - echo Form_textarea($data); - - ?> - -
- -
-
-
-
- -
- -
- 'Exchangerateon','value' => set_value('Exchangerateon',$CurrentDate),'id'=>'Exchangerateon', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;'); - echo form_input($data); - ?> -
-
-
- -
- 'ExchangeRate','value' => set_value('ExchangeRate'),'id'=>'ExchangeRate', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'USRate()'); - echo form_input($data); - ?> -
-
-
- -
- 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;'); - // echo form_input($data); - $data = array('name' => 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true'); - echo form_input($data); - ?> -
-
-
-
-
- - Payment Details - -
- - Payable Terms - - -
- - - - - - - - -
-
-
- - -
- -
-
-Add Line Item - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
SNoRequisition NoMaterial CodeDescriptionQuantityUOMRateBasic AmountReceived QtyRejected QtyPending QtyAction
-
- -
- -
-
- - - 'txttotallanding','value' => set_value('txttotallanding'),'id'=>'txttotallanding', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- -
- - - 'txttotalhighseas','value' => set_value('txttotalhighseas'),'id'=>'txttotalhighseas', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- -
- - - 'txttotalcustom','value' => set_value('txttotalcustom'),'id'=>'txttotalcustom', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- -
- - - 'txttotalexcise','value' => set_value('txttotalexcise'),'id'=>'txttotalexcise', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- -
- - - 'txttotalexciseED','value' => set_value('txttotalexciseED'),'id'=>'txttotalexciseED', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- - -
- - - 'txttotalexciseSH','value' => set_value('txttotalexciseSH'),'id'=>'txttotalexciseSH', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- -
- - - 'txttotalcustomED','value' => set_value('txttotalcustomED'),'id'=>'txttotalcustomED', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- -
- - - 'txttotalcustomSH','value' => set_value('txttotalcustomSH'),'id'=>'txttotalcustomSH', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- -
- - - 'txttotalAdditionalExciseduty','value' => set_value('txttotalAdditionalExciseduty'),'id'=>'txttotalAdditionalExciseduty', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- - -
- - - 'txttotalgrossduty','value' => set_value('txttotalgrossduty'),'id'=>'txttotalgrossduty', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- -
- - - 'txttotalavlmodvat','value' => set_value('txttotalavlmodvat'),'id'=>'txttotalavlmodvat', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- - -
- - - 'txttotalgrossexpense','value' => set_value('txttotalgrossexpense'),'id'=>'txttotalgrossexpense', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
- - - - -
- 'txtToatlOrder','value' => set_value('txtToatlOrder'),'id'=>'txtToatlOrder', 'class' => 'form-control' ,'required' => 'true','readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
-
- - - -
-
- 'txtSpcialInstruction','value' => set_value('txtSpcialInstruction'),'id'=>'txtSpcialInstruction', 'class' => 'form-control','rows' => '10', 'cols' => '40' ); - echo form_textarea($data); - ?> -
-
-
- -

- - - - - -   Save -   Submit - - -
-
-
- -
- -
-
-
-
- - - - - - - - +Address; + } +} +//echo "$CompanyAddress"; +$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); +$CurrentDate = $dt->format('Y-m-d'); +//echo $CurrentDate; +$MaxPoDate = ''; +if(!empty($MaxPODate)) +{ + foreach ($MaxPODate as $date) + { + $MaxPoDate = $date->PODate; + } +} + +$INR=''; +$INRSYM=''; +if(!empty($INRSYMBOL)) +{ + foreach ($INRSYMBOL as $INR) + { + $INRSYM=$INR->Currency_Code; + $INR=$INR->FontCode2000; + } +} + +//echo $INRSYM; + +if(!empty($AvlimportBudAmt)) +{ + + $AvlAmount = $AvlimportBudAmt; + +} + +// if(!empty($AvlBudAmt)) +// { + +// $AvlAmount = $AvlBudAmt; + +// } + +//echo "view $AvlAmount"; +?> + + + + + + + + + + +
+ +
+
+ 'form-label-left ImportPO ','name' => 'ImportPO','id' => 'ImportPO'); + + echo form_open($this->config->base_url().'/purchaseorder/addPO/',$attributes); ?> + + +
+ + +

Siddharth Industries - Import Purchase Order


+ + + +
+
+
+
+
+ + + 'Selected Requisition Numbers'); + if(!empty($ReqList)) + { + foreach ($ReqList as $SID): + + // print_r($SID->ReqNo); + $options[$SID->ReqNo] = $SID->ReqNo ."-". $SID->ReqBy; + $ReqType = $SID->ReqType; + endforeach; + } + echo form_multiselect('RequistionNo', $options,set_value('RequistionNo'),'id="RequistionNo"' , 'required="true"'); + + ?> +
+
+ + + 'Select Currency Type'); + //print_r($Currency); + if(!empty($Currency)) + { //print_r($Currency); + foreach ($Currency as $CUR): + + + $options[$CUR->Currency_Code] = $CUR->Currency_Code.' '.' - '.' '.$CUR->Country_and_Currency; + + endforeach; + } + + echo form_dropdown('currencytype', $options,set_value('currencytype'),'id="currencytype"' ,'required="true"' ,'class="form-control select2'); + ?> + +
+ +
+
+
+
+ + + 'Select Supplier'); + //print_r( $options); + if(!empty($Suplist)) + { + foreach ($Suplist as $SID): + + + $options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName; + + endforeach; + } + + echo form_dropdown('drpSupplier', $options,set_value('drpSupplier'),'id="drpSupplier"' ,'required="true"' ,'class="form-control select2'); + + ?> + +
+

+ +
+ 'SupAddress','value' => set_value('SupAddress'),'id'=>'SupAddress', 'class' => 'form-control' ,'readonly' => 'true','rows' => '3', 'cols' => '40'); + echo Form_textarea($data); + ?> +
+
+ +
+
+
+
+ +
+ + 'POType','value' => set_value('POType',IMPORT),'id'=>'POType', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ +
+ 'PODate','value' => set_value('PODate',$CurrentDate),'id'=>'PODate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;'); + echo form_input($data); + ?> +
+
+
+
+ +
+ 'DeliveryAddr','value' => set_value('DeliveryAddr',$CompanyAddress),'id'=>'DeliveryAddr', 'class' => 'form-control' ,'required' => 'true', 'rows' => '3', 'cols' => '40'); + echo Form_textarea($data); + ?> +
+
+ + + +
+
+
+ + Select Delivery By
+ + + "DateRange", "id"=>"Date", "value"=>"0", 'checked'=>'checked')); ?>     + + "DateRange", "id"=>"Schedule", "value"=>"1")); ?> + + + +
+ + +

+ + + 'Dispatch','value' => set_value('Dispatch'),'id'=>'Dispatch', 'class' => 'form-control' ,'required' => 'true'); + // echo form_input($data); + $data = array('name' => 'Dispatch','value' => set_value('Dispatch'),'id'=>'Dispatch', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '3', 'cols' => '40'); + echo Form_textarea($data); + + ?> + +
+ +
+
+
+
+ +
+ +
+ 'Exchangerateon','value' => set_value('Exchangerateon',$CurrentDate),'id'=>'Exchangerateon', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;'); + echo form_input($data); + ?> +
+
+
+ +
+ 'ExchangeRate','value' => set_value('ExchangeRate'),'id'=>'ExchangeRate', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'USRate()'); + echo form_input($data); + ?> +
+
+
+ +
+ 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;'); + // echo form_input($data); + $data = array('name' => 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true'); + echo form_input($data); + ?> +
+
+
+
+
+ + Payment Details + +
+ + Payable Terms + + +
+ + + + + + + + +
+
+
+ + +
+ +
+
+Add Line Item + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
SNoRequisition NoMaterial CodeDescriptionQuantityUOMRateBasic AmountReceived QtyRejected QtyPending QtyAction
+
+ +
+ +
+
+ + + 'txttotallanding','value' => set_value('txttotallanding'),'id'=>'txttotallanding', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalhighseas','value' => set_value('txttotalhighseas'),'id'=>'txttotalhighseas', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalcustom','value' => set_value('txttotalcustom'),'id'=>'txttotalcustom', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalexcise','value' => set_value('txttotalexcise'),'id'=>'txttotalexcise', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalexciseED','value' => set_value('txttotalexciseED'),'id'=>'txttotalexciseED', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ + +
+ + + 'txttotalexciseSH','value' => set_value('txttotalexciseSH'),'id'=>'txttotalexciseSH', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalcustomED','value' => set_value('txttotalcustomED'),'id'=>'txttotalcustomED', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalcustomSH','value' => set_value('txttotalcustomSH'),'id'=>'txttotalcustomSH', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalAdditionalExciseduty','value' => set_value('txttotalAdditionalExciseduty'),'id'=>'txttotalAdditionalExciseduty', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ + +
+ + + 'txttotalgrossduty','value' => set_value('txttotalgrossduty'),'id'=>'txttotalgrossduty', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalavlmodvat','value' => set_value('txttotalavlmodvat'),'id'=>'txttotalavlmodvat', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ + +
+ + + 'txttotalgrossexpense','value' => set_value('txttotalgrossexpense'),'id'=>'txttotalgrossexpense', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ + + + +
+ 'txtToatlOrder','value' => set_value('txtToatlOrder'),'id'=>'txtToatlOrder', 'class' => 'form-control' ,'required' => 'true','readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+
+ + + +
+
+ 'txtSpcialInstruction','value' => set_value('txtSpcialInstruction'),'id'=>'txtSpcialInstruction', 'class' => 'form-control','rows' => '10', 'cols' => '40' ); + echo form_textarea($data); + ?> +
+
+
+ +

+ + + + + +   Save +   Submit + + +
+
+
+ +
+ +
+
+
+
+ + + + + + + +