-
-
-
-
-
+ });
+
+= "Amended Capital Purchase - $PONO "; ?>
- Back -
+
+
+
+
+
+
+
-
-
-
+
= "Amended Capital Purchase - $PONO "; ?>
+ Back
-
-
-
- 'form-label-left CapitalPO ', 'name' => 'CapitalPO', 'id' => 'CapitalPO', 'enctype' => 'multipart/form-data');
- echo form_open(base_url() . '/purchaseorder/addPO/', $attributes); ?>
+
+
+
+
+
+
+
+ 'form-label-left CapitalPO ', 'name' => 'CapitalPO', 'id' => 'CapitalPO', 'enctype' => 'multipart/form-data');
+ echo form_open(base_url() . '/purchaseorder/addPO/', $attributes); ?>
-
-
-
-
+
-
-
+
+ 'Selected Requisition Numbers');
- if (!empty($ReqList)) {
+ $options = array("0" => 'Selected Requisition Numbers');
+ if (!empty($ReqList)) {
- foreach ($ReqList as $SID) :
+ foreach ($ReqList as $SID):
- $options[$SID->ReqNo] = $SID->ReqNo;
+ $options[$SID->ReqNo] = $SID->ReqNo;
- endforeach;
- }
- echo form_multiselect('RequistionNo', $options, set_value('RequistionNo', array()), 'id="RequistionNo"', 'required="true"');
+ endforeach;
+ }
+ echo form_multiselect('RequistionNo', $options, set_value('RequistionNo', array()), 'id="RequistionNo"', 'required="true"');
- ?>
-
-
-
-
-
- 'POType', 'value' => set_value('POType', CAPITAL), 'id' => 'POType', 'class' => 'form-control', 'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
-
-
- SupplierID] = $SID->SupplierID . ' - ' . $SID->SupplierName;
- endforeach;
- }
- echo form_dropdown('drpSupplier', $options2, 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);
- ?>
-
-
+ ?>
-
- ?>
+
-
-
+
- if (!empty($Currency)) {
+ 'POType', 'value' => set_value('POType', CAPITAL), 'id' => 'POType', 'class' => 'form-control', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
- // $currentCurrencyType=$CurrencyDetail[0]->CurrencyCode;
- $options1[$Currency[0]->Currency_Code] = $Currency[0]->Currency_Code . ' ' . ' - ' . ' ' . $Currency[0]->Country_and_Currency;
+
+
+
+ SupplierID] = $SID->SupplierID . ' - ' . $SID->SupplierName;
+ endforeach;
+ }
+ echo form_dropdown('drpSupplier', $options2, set_value('drpSupplier', $SupId), 'id="drpSupplier" required="true" class="form-control select2"');
+ ?>
+
+
+
- foreach ($Currency as $Cur)
- if ($Currency[0]->Currency_Code != $Cur->Currency_Code) {
- $options1[$Cur->Currency_Code] = $Cur->Currency_Code . ' ' . ' - ' . ' ' . $Cur->Country_and_Currency;
- }
- }
+ 'SupAddress', 'value' => set_value('SupAddress', $Address), 'id' => 'SupAddress', 'class' => 'form-control', 'readonly' => 'true', 'rows' => '3', 'cols' => '40');
+ echo Form_textarea($data);
+ ?>
- echo form_dropdown('currencytype', $options1, set_value('currencytype', $currentCurrencyType), 'id="currencytype" class="form-control select2" required="true"');
+
+
+
+
+
-
- Select Delivery By
-
-
-
+
- "DateRange", "id" => "Date", "value" => "2", 'checked' => ('2' == $DeliverOption) ? TRUE : FALSE)); ?>
-
-
- "DateRange", "id" => "DeliverycheckDate", "value" => "0", 'checked' => ('0' == $DeliverOption) ? TRUE : FALSE)); ?>
-
-
- 'DateRange', 'value' => '1', 'checked' => ('1' == $DeliverOption) ? TRUE : FALSE, 'id' => 'Schedule')); ?>
-
+ if (!empty($Currency)) {
+
+ // $currentCurrencyType=$CurrencyDetail[0]->CurrencyCode;
+ $options1[$Currency[0]->Currency_Code] = $Currency[0]->Currency_Code . ' ' . ' - ' . ' ' . $Currency[0]->Country_and_Currency;
+
+ foreach ($Currency as $Cur)
+ if ($Currency[0]->Currency_Code != $Cur->Currency_Code) {
+ $options1[$Cur->Currency_Code] = $Cur->Currency_Code . ' ' . ' - ' . ' ' . $Cur->Country_and_Currency;
+ }
+ }
+
+ echo form_dropdown('currencytype', $options1, set_value('currencytype', $currentCurrencyType), 'id="currencytype" class="form-control select2" required="true"');
+
+ ?>
+
+
+
+ Select Delivery By
+
+
+
-
+
+ "DateRange", "id" => "Date", "value" => "2", 'checked' => ('2' == $DeliverOption) ? TRUE : FALSE)); ?>
+
+
+ "DateRange", "id" => "DeliverycheckDate", "value" => "0", 'checked' => ('0' == $DeliverOption) ? TRUE : FALSE)); ?>
+
+
+ 'DateRange', 'value' => '1', 'checked' => ('1' == $DeliverOption) ? TRUE : FALSE, 'id' => 'Schedule')); ?>
-
-
- 'Scheduleby', 'value' => set_value('Scheduleby', $DeliverSchedule), 'id' => 'Scheduleby', 'class' => 'form-control', 'required' => 'true', 'rows' => '3', 'cols' => '40', 'maxlength' => '110');
- echo Form_textarea($data);
- ?>
-
-
-
-
-
-
-
-
- 'date', 'name' => 'Deliverydate', 'value' => set_value('Deliverydate', $Deliverydt), 'id' => 'Deliverydate', 'class' => 'form-control num', 'required' => 'true', 'onkeypress' => 'return false;');
- echo form_input($data);
- ?>
-
-
-
-
-
- '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', 'maxlength' => '110');
- echo Form_textarea($data);
- ?>
-
-
-
-
-
- 'DeliveryAddr', 'value' => set_value('DeliveryAddr', $DeliveryAddress), 'id' => 'DeliveryAddr', 'class' => 'form-control', 'required' => 'true', 'rows' => '3', 'cols' => '40');
- echo Form_textarea($data);
- ?>
-
-
+
+
+ 'Scheduleby', 'value' => set_value('Scheduleby', $DeliverSchedule), 'id' => 'Scheduleby', 'class' => 'form-control', 'required' => 'true', 'rows' => '3', 'cols' => '40', 'maxlength' => '110');
+ echo Form_textarea($data);
+ ?>
-
-
-
-
- Check Today's Foreign Exchange value (Click here)
-
-
-
-
- 'date', 'name' => 'Exchangerateon', 'value' => set_value('Exchangerateon', $ExchangeRateOn), 'id' => 'Exchangerateon', 'class' => 'form-control num', 'required' => 'true', 'onkeypress' => 'return false;');
- echo form_input($data);
- ?>
-
-
-
-
-
- 'ExchangeRt', 'value' => set_value('ExchangeRt', $exchangeRate), 'id' => 'ExchangeRt', 'class' => 'form-control', 'onkeypress' => 'return isNumberKey(event);', 'style' => 'text-align:right');
- 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);
- ?>
-
-
-
-
-
- 'PODate', 'value' => set_value('PODate', $PODate), 'id' => 'PODate', 'class' => 'form-control num', 'required' => 'true', 'onkeypress' => 'return false;');
- echo form_input($data);
- ?>
-
-
-
-
+
+
+
+
+
- 'addmodeofshipment', 'value' => set_value('addmodeofshipment', $ModeOfShipment), 'id' => 'addmodeofshipment', 'class' => 'form-control');
- echo form_input($data);
- ?>
+ 'date', 'name' => 'Deliverydate', 'value' => set_value('Deliverydate', $Deliverydt), 'id' => 'Deliverydate', 'class' => 'form-control num', 'required' => 'true', 'onkeypress' => 'return false;');
+ echo form_input($data);
+ ?>
-
-
-
-
-
- 'amendsupplierreference', 'value' => set_value('amendsupplierreference', $SupplierReference), 'id' => 'amendsupplierreference', 'class' => 'form-control', 'maxlength' => '40');
- echo form_input($data);
- ?>
-
-
-
-
-
-
- 'amendsupplierofferno', 'value' => set_value('amendsupplierofferno', $SuppliersOfferNo), 'id' => 'amendsupplierofferno', 'class' => 'form-control');
- echo form_input($data);
- ?>
-
-
-
+
+
+ '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', 'maxlength' => '110');
+ echo Form_textarea($data);
+ ?>
-
-
-
+
+
-
+
+
+
+
+ 'DeliveryAddr', 'value' => set_value('DeliveryAddr', $DeliveryAddress), 'id' => 'DeliveryAddr', 'class' => 'form-control', 'required' => 'true', 'rows' => '3', 'cols' => '40');
+ echo Form_textarea($data);
+ ?>
+
+
+
+
+
+
+ Check Today's Foreign Exchange value (Click here)
+
+
+
+
+ 'date', 'name' => 'Exchangerateon', 'value' => set_value('Exchangerateon', $ExchangeRateOn), 'id' => 'Exchangerateon', 'class' => 'form-control num', 'required' => 'true', 'onkeypress' => 'return false;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'ExchangeRt', 'value' => set_value('ExchangeRt', $exchangeRate), 'id' => 'ExchangeRt', 'class' => 'form-control', 'onkeypress' => 'return isNumberKey(event);', 'style' => 'text-align:right');
+ echo form_input($data);
+ ?>
- 'amendotherreference', 'value' => set_value('amendotherreference', $OtherReferences), 'id' => 'amendotherreference', 'class' => 'form-control');
- 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);
+ ?>
- ConfigValue) {
- $optionsPO[$POpt->ConfigValue] = $POpt->ConfigValue;
- }
- endforeach;
- foreach ($PoTypeOptions as $POpt1) :
- if ($ServiceTypeOptions != $POpt1->ConfigValue) {
- $optionsPO[$POpt1->ConfigValue] = $POpt1->ConfigValue;
- }
- endforeach;
+
+
+
+
+
+
+
+ 'PODate', 'value' => set_value('PODate', $PODate), 'id' => 'PODate', 'class' => 'form-control num', 'required' => 'true', 'onkeypress' => 'return false;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+ 'addmodeofshipment', 'value' => set_value('addmodeofshipment', $ModeOfShipment), 'id' => 'addmodeofshipment', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+ 'amendsupplierreference', 'value' => set_value('amendsupplierreference', $SupplierReference), 'id' => 'amendsupplierreference', 'class' => 'form-control', 'maxlength' => '40');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+ 'amendsupplierofferno', 'value' => set_value('amendsupplierofferno', $SuppliersOfferNo), 'id' => 'amendsupplierofferno', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+ 'amendotherreference', 'value' => set_value('amendotherreference', $OtherReferences), 'id' => 'amendotherreference', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ ConfigValue) {
+ $optionsPO[$POpt->ConfigValue] = $POpt->ConfigValue;
+ }
+ endforeach;
+ foreach ($PoTypeOptions as $POpt1):
+ if ($ServiceTypeOptions != $POpt1->ConfigValue) {
+ $optionsPO[$POpt1->ConfigValue] = $POpt1->ConfigValue;
+ }
+ endforeach;
+ }
+
+ echo form_dropdown('PoTypeOptions', $optionsPO, set_value('PoTypeOptions'), 'id="PoTypeOptions" required="true" class="form-control select2"');
+ ?>
+
+
+
+
+ PaymentID) {
+ //echo $PaymentTerms."
"; + //print_r($Payment); + $options6[$rl->PaymentID] = $rl->PaymentTerms; + ?> + + + endforeach; -
- "; + //print_r($Payment); + $options6[$rl->PaymentID] = $rl->PaymentTerms; + ?> + + + endforeach; -
-
- PaymentID) {
- //echo $PaymentTerms."
"; - //print_r($Payment); - $options6[$rl->PaymentID] = $rl->PaymentTerms; - ?> - - PaymentID) { + $options6[$rl2->PaymentID] = $rl2->PaymentTerms; } endforeach; + } + echo form_dropdown('PaymentMethod', $options6, set_value('PaymentMethod', $PaymentTerms), 'id="PaymentMethod" required="true" class="form-control select2"'); - if (!empty($Payment)) { - foreach ($Payment as $rl2) : - - if ($PaymentTerms != $rl2->PaymentID) { - $options6[$rl2->PaymentID] = $rl2->PaymentTerms; - } - - endforeach; - } - - echo form_dropdown('PaymentMethod', $options6, set_value('PaymentMethod', $PaymentTerms), 'id="PaymentMethod" required="true" class="form-control select2"'); - - ?> -
- "; - //print_r($Payment); - $options6[$rl->PaymentID] = $rl->PaymentTerms; - ?> - - PaymentID) { + $options6[$rl2->PaymentID] = $rl2->PaymentTerms; } endforeach; + } + echo form_dropdown('PaymentMethod', $options6, set_value('PaymentMethod', $PaymentTerms), 'id="PaymentMethod" required="true" class="form-control select2"'); - if (!empty($Payment)) { - foreach ($Payment as $rl2) : - - if ($PaymentTerms != $rl2->PaymentID) { - $options6[$rl2->PaymentID] = $rl2->PaymentTerms; - } - - endforeach; - } - - echo form_dropdown('PaymentMethod', $options6, set_value('PaymentMethod', $PaymentTerms), 'id="PaymentMethod" required="true" class="form-control select2"'); - - ?> -
-
-
- 'Otherpayment', 'Otherpayment' => set_value('Otherpayment'), 'id' => 'Otherpayment', 'class' => 'form-control', 'required' => 'true');
- echo form_input($data);
- ?>
-
-
+ ?>
+
-
-
-
-
-
-
+ 'Otherpayment', 'Otherpayment' => set_value('Otherpayment'), 'id' => 'Otherpayment', 'class' => 'form-control', 'required' => 'true');
+ echo form_input($data);
+ ?>
- endforeach;
- foreach ($insuranceStatus as $INS1) :
- if ($InsuranceOptions != $INS1['value']) {
- $optionsInsurance[$INS1['value']] = $INS1['name'];
- }
- endforeach;
- }
-
- echo form_dropdown('insuranceStatus', $optionsInsurance, set_value('insuranceStatus'), 'id="insuranceStatus" required="true" class="form-control select2"');
-
-
- ?>
-
-
-
-
-
-
- 'InsuranceNumber', 'value' => set_value('InsuranceNumber', $InsuranceNumber), 'id' => 'InsuranceNumber', 'class' => 'form-control', 'required' => 'true');
- echo form_input($data);
- ?>
-
-
-
-
-
-
-
-
-
+
-
-
-
+ -
+
+
- +
+
+
+
+
+
+ 'txtTotalBasic', 'value' => set_value('txtTotalBasic', number_format($FinalTotalBasic, 2, '.', '')), 'id' => 'txtTotalBasic', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+ 'txtTotalDiscount', 'value' => set_value('txtTotalDiscount', number_format($TotalDiscountedAmt, 2, '.', '')), 'id' => 'txtTotalDiscount', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+ 'txtTotCgst', 'value' => set_value('txtTotCgst', number_format($TotalCGST, 2, '.', '')), 'id' => 'txtTotCgst', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+ 'txtTotSgst', 'value' => set_value('txtTotSgst', number_format($TotalSGST, 2, '.', '')), 'id' => 'txtTotSgst', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
-
+
+ 'txtTotIgst', 'value' => set_value('txtTotIgst', number_format($TotalIGST, 2, '.', '')), 'id' => 'txtTotIgst', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+ 'TotalOtherAllowances', 'value' => set_value('TotalOtherAllowances', number_format($Totalotherallowances, 2, '.', '')), 'id' => 'TotalOtherAllowances', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
-
-
-
- 'txtTotalBasic', 'value' => set_value('txtTotalBasic', number_format($FinalTotalBasic, 2, '.', '')), 'id' => 'txtTotalBasic', 'class' => 'form-control num', 'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
-
- 'txtTotalDiscount', 'value' => set_value('txtTotalDiscount', number_format($TotalDiscountedAmt, 2, '.', '')), 'id' => 'txtTotalDiscount', 'class' => 'form-control num', 'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
-
- 'txtTotCgst', 'value' => set_value('txtTotCgst', number_format($TotalCGST, 2, '.', '')), 'id' => 'txtTotCgst', 'class' => 'form-control num', 'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
-
- 'txtTotSgst', 'value' => set_value('txtTotSgst', number_format($TotalSGST, 2, '.', '')), 'id' => 'txtTotSgst', 'class' => 'form-control num', 'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
+
+
+
+
+
+
+
+
-
- 'txtTotIgst', 'value' => set_value('txtTotIgst', number_format($TotalIGST, 2, '.', '')), 'id' => 'txtTotIgst', 'class' => 'form-control num', 'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
-
- 'TotalOtherAllowances', 'value' => set_value('TotalOtherAllowances', number_format($Totalotherallowances, 2, '.', '')), 'id' => 'TotalOtherAllowances', 'class' => 'form-control num', 'readonly' => 'true');
- echo form_input($data);
- ?>
-
+
+
+ 'TotalFreight', 'value' => set_value('TotalFreight', number_format($TotalFreightvalue, 2, '.', '')), 'id' => 'TotalFreight', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
-
-
-
-
- 'TotalFreight', 'value' => set_value('TotalFreight', number_format($TotalFreightvalue, 2, '.', '')), 'id' => 'TotalFreight', 'class' => 'form-control num', 'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
+
-
-
- 'Totalservicesummary', 'value' => set_value('Totalservicesummary', number_format($totalCapitalOrder, 2, '.', '')), 'id' => 'Totalservicesummary', 'class' => 'form-control num', 'readonly' => 'true');
- echo form_input($data);
- ?>
-
+
+
+
+ 'Totalservicesummary', 'value' => set_value('Totalservicesummary', number_format($totalCapitalOrder, 2, '.', '')), 'id' => 'Totalservicesummary', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
-
+
+
+ 'txttotalfrieght', 'value' => set_value('txttotalfrieght', $TotalFrieght), 'id' => 'txttotalfrieght', 'class' => 'form-control', 'readonly' => 'true', 'style' => 'text-align:right;');
+ echo form_input($data);
+ ?>
+
+
+
+
+ 'txttotallanding', 'value' => set_value('txttotallanding', $TotalLanding), 'id' => 'txttotallanding', 'class' => 'form-control', 'readonly' => 'true', 'style' => 'text-align:right;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'txttotalAssessable', 'value' => set_value('txttotalAssessable', $totassesable), 'id' => 'txttotalAssessable', '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);
+ ?>
+
+
+
+
+
+ '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);
+ ?>
+
+
+
+
+
+ 'txttotalSubtotal', 'value' => set_value('txttotalSubtotal', $totSubtotal), 'id' => 'txttotalSubtotal', 'class' => 'form-control', 'readonly' => 'true', 'style' => 'text-align:right;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+ 'txttotalIgst', 'value' => set_value('txttotalIgst', $totigst), 'id' => 'txttotalIgst', '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);
+ ?>
@@ -1226,100 +1559,9 @@
-
-
-
-
-
-
- 'txttotalfrieght', 'value' => set_value('txttotalfrieght', $TotalFrieght), 'id' => 'txttotalfrieght', 'class' => 'form-control', 'readonly' => 'true', 'style' => 'text-align:right;');
- echo form_input($data);
- ?>
-
-
-
-
- 'txttotallanding', 'value' => set_value('txttotallanding', $TotalLanding), 'id' => 'txttotallanding', 'class' => 'form-control', 'readonly' => 'true', 'style' => 'text-align:right;');
- echo form_input($data);
- ?>
-
-
-
-
-
- 'txttotalAssessable', 'value' => set_value('txttotalAssessable', $totassesable), 'id' => 'txttotalAssessable', '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);
- ?>
-
-
-
-
-
- '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);
- ?>
-
-
-
-
-
- 'txttotalSubtotal', 'value' => set_value('txttotalSubtotal', $totSubtotal), 'id' => 'txttotalSubtotal', 'class' => 'form-control', 'readonly' => 'true', 'style' => 'text-align:right;');
- echo form_input($data);
- ?>
-
-
-
-
- 'txttotalIgst', 'value' => set_value('txttotalIgst', $totigst), 'id' => 'txttotalIgst', '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);
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 'CapitalToatlOrder', 'value' => set_value('CapitalToatlOrder', number_format($totalCapitalOrder, 2, '.', '')), 'id' => 'CapitalToatlOrder', 'class' => 'form-control', 'readonly' => 'true', 'style' => 'text-align:right;');
- echo form_input($data);
- ?>
-
-
-
-
-
-
-
-
- 'txtSpcialInstruction', 'value' => set_value('txtSpcialInstruction', $scopeofwork), 'id' => 'txtSpcialInstruction', 'class' => 'form-control', 'rows' => '10', 'cols' => '40');
- echo form_textarea($data);
- ?>
-
+
+
+
+ 'CapitalToatlOrder', 'value' => set_value('CapitalToatlOrder', number_format($totalCapitalOrder, 2, '.', '')), 'id' => 'CapitalToatlOrder', 'class' => 'form-control', 'readonly' => 'true', 'style' => 'text-align:right;');
+ echo form_input($data);
+ ?>
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 'txtSpcialInstruction', 'value' => set_value('txtSpcialInstruction', $scopeofwork), 'id' => 'txtSpcialInstruction', 'class' => 'form-control', 'rows' => '10', 'cols' => '40');
+ echo form_textarea($data);
+ ?>
-
-
+
- format('d-m-Y'); ?>
-
- -
+
+
+ - -
+
+
+
-
+ +
+
+
+
-
- 'AWAITING APPROVE',
- 'AWAITING RELEASE' => 'AWAITING APPROVE',
- 'RELEASER ONHOLD' => 'APPROVER ONHOLD',
- 'PO RELEASED' => 'PO APPROVED',
- ];
+
+
+
+ +
+
+
+
+
+
+
+
+
+ Submit
- if (isset($PoStatusName) && !empty($PoStatusName)) {
- if (isset($statusMappings[$PoStatusName])) {
- echo $statusMappings[$PoStatusName];
- } else {
- echo $PoStatusName;
- }
- } else {
- echo "Status not provided";
- }
- ?>
-
+
+
-
+
+
+
+
+
+ format('d-m-Y'); ?>
+
+ +
+ + + 'AWAITING APPROVE', + 'AWAITING RELEASE' => 'AWAITING APPROVE', + 'RELEASER ONHOLD' => 'APPROVER ONHOLD', + 'PO RELEASED' => 'PO APPROVED', + ]; - -
+ + +
+ + + 'AWAITING APPROVE', + 'AWAITING RELEASE' => 'AWAITING APPROVE', + 'RELEASER ONHOLD' => 'APPROVER ONHOLD', + 'PO RELEASED' => 'PO APPROVED', + ]; - -
-
+
-
-
- Freight Calculation On
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
-
+
-
-
+
+
+
Edit Capital Purchase Order Item
+ +
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
+
+
-
\ No newline at end of file
+ }
+
\ No newline at end of file
diff --git a/app/Views/editImportAmendPO.php b/app/Views/editImportAmendPO.php
index 3790585a..79b55514 100755
--- a/app/Views/editImportAmendPO.php
+++ b/app/Views/editImportAmendPO.php
@@ -664,7 +664,7 @@ if (!empty($RequistionDetails)) {
-
-
-
-
-
-
- Edit Capital Purchase Order Item
- -
-
+
+
Edit Import Purchase Order Item
@@ -1043,9 +1043,10 @@ if (!empty($RequistionDetails)) {
-
+
+
+
+
+
+
Freight Type
'Select Freight Type');
@@ -1057,14 +1058,8 @@ if (!empty($RequistionDetails)) {
echo form_dropdown('drpamendFreight', $options, set_value('drpamendFreight'), 'id="drpamendFreight" class="form-control "');
?>
-
- NO Of Trips
- 'AmendNOOfTrips', 'value' => set_value('AmendNOOfTrips'), 'id' => 'AmendNOOfTrips', 'class' => 'form-control num', 'onchange' => 'calculateFreight(0);');
- echo form_input($data);
- ?>
-
-
+
+
@@ -1163,6 +1169,8 @@ if (!empty($RequistionDetails)) {
+
+
Freight Rate
'AmendtxtFreight', 'value' => set_value('AmendtxtFreight'), 'id' => 'AmendtxtFreight', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'calculateFreight(0);');
@@ -1072,7 +1067,7 @@ if (!empty($RequistionDetails)) {
?>
-
+
+
Freight Amt In
'AmendtxtAfterFreight', 'value' => set_value('AmendtxtAfterFreight'), 'id' => 'AmendtxtAfterFreight', 'class' => 'form-control num', 'readonly' => 'true');
@@ -1081,8 +1076,19 @@ if (!empty($RequistionDetails)) {
+
+
+
+ NO Of Trips
+ 'AmendNOOfTrips', 'value' => set_value('AmendNOOfTrips'), 'id' => 'AmendNOOfTrips', 'class' => 'form-control num', 'onchange' => 'calculateFreight(0);');
+ echo form_input($data);
+ ?>
+
+ @@ -1163,6 +1169,8 @@ if (!empty($RequistionDetails)) {
diff --git a/app/Views/editRevenueAmendPO.php b/app/Views/editRevenueAmendPO.php
index e4c39dd7..753b3bdc 100755
--- a/app/Views/editRevenueAmendPO.php
+++ b/app/Views/editRevenueAmendPO.php
@@ -1908,6 +1908,9 @@ if (!empty($INRSYMBOL)) {
@@ -1935,6 +1938,8 @@ if (!empty($INRSYMBOL)) {
-
+