From 65aa4fb0781fcddbb60a80692acc5bc5178f1b0e Mon Sep 17 00:00:00 2001 From: aadhavan valli Date: Sat, 21 Sep 2024 13:30:51 +0530 Subject: [PATCH] CHANGE_PURCHASE_ORDER_SERVICE_REVENUE__CAPITAL_IMPORT_ADD_EDIT_CHECK_MODAL --- app/Controllers/Purchaseorder.php | 91 +- app/Views/capitalpurchaseorder.php | 40 +- app/Views/editCapitalPo.php | 1350 ++++++++++++------------ app/Views/editRevenuepurchaseorder.php | 130 ++- app/Views/editimportpo.php | 106 +- app/Views/importpo.php | 12 +- app/Views/includes/new_footer.php | 1 + app/Views/purchaseorder.php | 19 +- 8 files changed, 958 insertions(+), 791 deletions(-) diff --git a/app/Controllers/Purchaseorder.php b/app/Controllers/Purchaseorder.php index 0d2cce20..75d00545 100755 --- a/app/Controllers/Purchaseorder.php +++ b/app/Controllers/Purchaseorder.php @@ -1330,6 +1330,7 @@ class Purchaseorder extends BaseController } //echo "OUT"; + // print_r($this->request->getPost());die; for ($i = 1; $i <= $RowCount; $i++) { //echo "IN"; $MaterialCode = $this->request->getPost('materialCode' . $i); @@ -1444,7 +1445,20 @@ class Purchaseorder extends BaseController if ($SkipInsert == "False") { if (strlen((string)$POLineItemNo) == 0) { + $this->requistion_model = new requistion_model(); + $RetItemNo = $this->requistion_model->getItemNumber($Reqnumber, $MaterialCode); + + $ItemNo = ''; + if (count($RetItemNo) > 0) { + $ItemNo = $RetItemNo[0]['ItemNo']; + } + $POLineItemList = array('PONO' => $PONO, 'ReqNo' => $Reqnumber, 'MaterialCode' => $MaterialCode, 'Quantity' => $Quantity, 'ReceivedQuantity' => $recqty, 'Rate' => $itemRate, 'Status' => $LineItemStatus, 'CreatedBy' => $updatedBy, 'CreatedDate' => $updateddt, 'CostCenterCode' => $CostCenter); + + $POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList); + if (count($POLineItem) > 0) { + $LineItemNo = $POLineItem[0]['LineItemNo']; + } } else { $LineItemNo = $POLineItemNo; @@ -1453,13 +1467,63 @@ class Purchaseorder extends BaseController $POLineItem = $this->purchaseorder_model->updatePOLineItem($PONO, $POLineItemNo, $POLineItemList); } - - $isExists = $this->purchaseorder_model->LineItemExistsinRevenueTax($LineItemNo); - - if (is_array($isExists) && count($isExists) == 0) { + $isExists = $this->purchaseorder_model->LineItemExistsinRevenueTax($LineItemNo); + + // Ensure $isExists is an array, or initialize it as an empty array + if (!is_array($isExists)) { + $isExists = []; + } + + if (count($isExists) == 0) { + $RevenueTaxList = array( + 'LineItemNo' => $LineItemNo, + 'DiscountType' => $DiscountType, + 'DiscountValue' => $DiscountValue, + 'AfterDiscount' => $AfterDiscount, + 'PackagingType' => $PackagingType, + 'PackagingValue' => $PackagingValue, + 'PackagingCalulatedOn' => $PackagingOption, + 'AfterPackagingValue' => $AfterPackagingValue, + 'FreightType' => $FreightType, + 'FreightValue' => $FreightValue, + 'AfterFreightValue' => $AfterFreightValue, + 'Insurance' => $InsuranceValue, + 'TotalValue' => $TotalOrderValue, + 'CGST' => $Cgst, + 'AfterCGST' => $AfterCgst, + 'SGST' => $Sgst, + 'AfterSGST' => $AfterSgst, + 'IGST' => $Igst, + 'AfterIGST' => $AfterIgst, + 'NoOfTrip' => $NOOfTrip + ); + $RevenueList = $this->purchaseorder_model->addRevenueTax($RevenueTaxList); } else { - $RevenueTaxList = array('DiscountType' => $DiscountType, 'DiscountValue' => $DiscountValue, 'AfterDiscount' => $AfterDiscount, 'PackagingType' => $PackagingType, 'PackagingValue' => $PackagingValue, 'PackagingCalulatedOn' => $PackagingOption, 'AfterPackagingValue' => $AfterPackagingValue, 'FreightType' => $FreightType, 'FreightValue' => $FreightValue, 'AfterFreightValue' => $AfterFreightValue, 'Insurance' => $InsuranceValue, 'TotalValue' => $TotalOrderValue, 'UpdateBY' => $updatedBy, 'UpdatedOn' => $updateddt, 'CGST' => $Cgst, 'AfterCGST' => $AfterCgst, 'SGST' => $Sgst, 'AfterSGST' => $AfterSgst, 'IGST' => $Igst, 'AfterIGST' => $AfterIgst, 'CreatedBy' => $updatedBy, 'NoOfTrip' => $NOOfTrip); + $RevenueTaxList = array( + 'DiscountType' => $DiscountType, + 'DiscountValue' => $DiscountValue, + 'AfterDiscount' => $AfterDiscount, + 'PackagingType' => $PackagingType, + 'PackagingValue' => $PackagingValue, + 'PackagingCalulatedOn' => $PackagingOption, + 'AfterPackagingValue' => $AfterPackagingValue, + 'FreightType' => $FreightType, + 'FreightValue' => $FreightValue, + 'AfterFreightValue' => $AfterFreightValue, + 'Insurance' => $InsuranceValue, + 'TotalValue' => $TotalOrderValue, + 'UpdateBY' => $updatedBy, + 'UpdatedOn' => $updateddt, + 'CGST' => $Cgst, + 'AfterCGST' => $AfterCgst, + 'SGST' => $Sgst, + 'AfterSGST' => $AfterSgst, + 'IGST' => $Igst, + 'AfterIGST' => $AfterIgst, + 'CreatedBy' => $updatedBy, + 'NoOfTrip' => $NOOfTrip + ); $this->purchaseorder_model->updateRevenueTax($LineItemNo, $RevenueTaxList); } } @@ -2366,7 +2430,10 @@ class Purchaseorder extends BaseController // print_r($isExists); // die(); - if (is_array($isExists) && count($isExists) == 0) { + if (!is_array($isExists)) { + $isExists = []; + } + if (count($isExists) == 0) { // print_r(count($isExists)); // echo $isExists; // die(); @@ -2751,8 +2818,6 @@ class Purchaseorder extends BaseController /*Edit Capital po*/ function EditCapitalPurchaseOrder() { - - $PONO = $this->request->getPost('txtPONO'); $POdt = $this->request->getPost('PODate'); $PODate = get_date_time_format($POdt); @@ -2879,7 +2944,6 @@ class Purchaseorder extends BaseController } } } - $POMaster = $this->purchaseorder_model->updatePOMaster($PONO, $POList); $LineItemStatus = REQITEM_NEW; @@ -2901,7 +2965,7 @@ class Purchaseorder extends BaseController $this->purchaseorder_model->insertlogpo($logpo); } } - + // print_r($this->request->getPost());die; for ($i = 1; $i <= $RowCount; $i++) { $MaterialCode = $this->request->getPost('materialCode' . $i); @@ -3056,7 +3120,7 @@ class Purchaseorder extends BaseController - + // print_r(strlen((string)$POLineItemNo));die; if ($SkipInsert == "False") { @@ -3064,6 +3128,11 @@ class Purchaseorder extends BaseController $POLineItemList = array('PONO' => $PONO, 'ReqNo' => $Reqnumber, 'MaterialCode' => $MaterialCode, 'Quantity' => $Quantity, 'Rate' => $itemRate, 'Status' => $LineItemStatus, 'CreatedBy' => $CreateBy, 'CreatedDate' => $createddt, 'CostCenterCode' => $CostCenter, 'ServiceMaterialDescription' => $CapitalItemDescription, 'Per' => $Per); $POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList); + // if($i != 1){ + // print_r(value:$POLineItem); + // die; + // } + $LineItemNo = ''; if (count($POLineItem) > 0) { diff --git a/app/Views/capitalpurchaseorder.php b/app/Views/capitalpurchaseorder.php index 75fb008c..95915c00 100755 --- a/app/Views/capitalpurchaseorder.php +++ b/app/Views/capitalpurchaseorder.php @@ -3306,26 +3306,26 @@ // })); var rowHtml = ` - - ${temp} - ${Reqnumber} - ${materialCode} - ${materialName} - ${quantity} - ${uom} - ${itemRate} - ${basicval} - ${TotalTaxValue} - ${Total} - - -     - - - - - - `; + + ${temp} + ${Reqnumber} + ${materialCode} + ${materialName} + ${quantity} + ${uom} + ${itemRate} + ${basicval} + ${TotalTaxValue} + ${Total} + + +     + + + + + + `; $('#capitalAppend').append(rowHtml); diff --git a/app/Views/editCapitalPo.php b/app/Views/editCapitalPo.php index 0d7c906f..b50ab48a 100755 --- a/app/Views/editCapitalPo.php +++ b/app/Views/editCapitalPo.php @@ -617,7 +617,7 @@ 'date', 'name' => 'PODate', 'value' => set_value('PODate', $PODate), 'id' => 'PODate', 'class' => 'form-control num', 'required' => 'true', 'onkeypress' => 'return false;'); + $data = array('name' => 'PODate', 'value' => set_value('PODate', $PODate), 'id' => 'PODate', 'class' => 'form-control num form-date-search', 'required' => 'true', 'onkeypress' => 'return false;'); echo form_input($data); ?> @@ -1384,11 +1384,14 @@ PONO ?> LineItemNos; ?> @@ -1640,226 +1643,206 @@ -
-
-
-
-
- -
- 'Select Discount Type'); - //print_r( $options); - - if (!empty($TaxType)) { - foreach ($TaxType as $SID) : - - - $options[$SID->ConfigValue] = $SID->ConfigValue; - - endforeach; - } - - echo form_dropdown('DiscountType', $options, set_value('DiscountType'), 'id="DiscountType"', 'class="form-control"'); - - ?> -
-
-
- -
- 'txtDiscount', 'value' => set_value('txtDiscount'), 'id' => 'txtDiscount', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'calculateDiscount(0);'); - echo form_input($data); - ?> -
-
-
- -
- 'txtAfterDiscount', 'value' => set_value('txtAfterDiscount', 0.00), 'id' => 'txtAfterDiscount', 'class' => 'form-control num', 'readonly' => 'true'); - echo form_input($data); - ?> -
-
- - -
-
- -
- 'Select Freight Type'); - //print_r( $options); - - if (!empty($FreightType)) { - foreach ($FreightType as $SID) : - - - $options[$SID->ConfigValue] = $SID->ConfigValue; - - endforeach; - } - - echo form_dropdown('drpFreightloc', $options, set_value('drpFreightloc'), 'id="drpFreightloc"', 'class="form-control "'); - - ?> -
-
- - -
- -
- 'txtFreightloc', 'value' => set_value('txtFreightloc'), 'id' => 'txtFreightloc', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'calculateFreightlocaddper();'); - echo form_input($data); - ?> -
-
- -
- -
- 'txtAfterFreightloc', 'value' => set_value('txtAfterFreightloc'), 'id' => 'txtAfterFreightloc', 'class' => 'form-control num', 'readonly' => 'true'); - echo form_input($data); - ?> -
-
- -
- - - - - - - - -
-
- - CGST In % -
- -
-
- - 'Cgst', 'value' => set_value('Cgst', 0), 'id' => 'Cgst', 'class' => 'form-control num', 'placeholder' => 'CGST TAX PERCENTAGE', 'onchange' => 'Ratechange();ChangeSgst();', 'onkeypress' => 'return isNumberKey(event);'); - echo form_input($data); - ?> -
- -
-
-
- - 'AfterCgst', 'value' => set_value('AfterCgst', 0), 'id' => 'AfterCgst', 'class' => 'form-control num', 'placeholder' => 'After CGST', 'readonly' => 'true'); - echo form_input($data); - ?> -
- -
- - -
-
- - SGST In % -
- -
-
- - 'Sgst', 'value' => set_value('Sgst', 0), 'id' => 'Sgst', 'class' => 'form-control num', 'placeholder' => 'SGST TAX PERCENTAGE', 'onchange' => 'Ratechange()', 'onkeypress' => 'return isNumberKey(event);'); - echo form_input($data); - ?> -
- -
-
-
- - 'AfterSgst', 'value' => set_value('AfterSgst', 0), 'id' => 'AfterSgst', 'class' => 'form-control num', 'placeholder' => 'After SGST', 'readonly' => 'true'); - echo form_input($data); - ?> -
- -
- -
- -
-
- - IGST In % -
- -
-
- - 'Igst', 'value' => set_value('Igst', 0), 'id' => 'Igst', 'class' => 'form-control num', 'placeholder' => 'IGST TAX PERCENTAGE', 'onchange' => 'Ratechange()', 'onkeypress' => 'return isNumberKey(event);'); - echo form_input($data); - ?> -
- -
-
-
- - 'AfterIgst', 'value' => set_value('AfterIgst', 0), 'id' => 'AfterIgst', 'class' => 'form-control num', 'placeholder' => 'After IGST', 'readonly' => 'true'); - echo form_input($data); - ?> -
- -
- -
-
-
- -
-
-
- 'OtherAllowances', 'value' => set_value('OtherAllowances', 0), 'id' => 'OtherAllowances', 'class' => 'form-control num', 'placeholder' => 'Other Allowances', 'onkeypress' => 'return isNumberKey(event);'); - echo form_input($data); - ?> -
-
-
- -
-
-
- 'txtTotalOrderValue', 'value' => set_value('txtTotalOrderValue', 0), 'id' => 'txtTotalOrderValue', 'class' => 'form-control num', 'placeholder' => 'Total Order Amount', 'onkeypress' => 'return isNumberKey(event);', 'readonly' => 'true'); - echo form_input($data); - ?> -
-
- - -
+
+
+
+
+ +
+ 'Select Discount Type'); + if (!empty($TaxType)) { + foreach ($TaxType as $SID) : + $options[$SID->ConfigValue] = $SID->ConfigValue; + endforeach; + } + echo form_dropdown('DiscountType', $options, set_value('DiscountType'), 'id="DiscountType"', 'class="form-control"'); + ?>
+
+ +
+ 'txtDiscount', 'value' => set_value('txtDiscount'), 'id' => 'txtDiscount', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'calculateDiscount(0);'); + echo form_input($data); + ?> +
+
+
+ +
+ 'txtAfterDiscount', 'value' => set_value('txtAfterDiscount', 0.00), 'id' => 'txtAfterDiscount', 'class' => 'form-control num', 'readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ +
+
+
+ +
+ +
+ 'Select Freight Type'); + //print_r( $options); + + if (!empty($FreightType)) { + foreach ($FreightType as $SID) : + + + $options[$SID->ConfigValue] = $SID->ConfigValue; + + endforeach; + } + + echo form_dropdown('drpFreightloc', $options, set_value('drpFreightloc'), 'id="drpFreightloc"', 'class="form-control "'); + + ?> +
+
+ + +
+ +
+ 'txtFreightloc', 'value' => set_value('txtFreightloc'), 'id' => 'txtFreightloc', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'calculateFreightlocaddper();'); + echo form_input($data); + ?> +
+
+ +
+ +
+ 'txtAfterFreightloc', 'value' => set_value('txtAfterFreightloc'), 'id' => 'txtAfterFreightloc', 'class' => 'form-control num', 'readonly' => 'true'); + echo form_input($data); + ?> +
+
+ +
+ +
+
+ CGST In % +
+ +
+
+ 'Cgst', 'value' => set_value('Cgst', 0), 'id' => 'Cgst', 'class' => 'form-control num', 'placeholder' => 'CGST TAX PERCENTAGE', 'onchange' => 'Ratechange();ChangeSgst();', 'onkeypress' => 'return isNumberKey(event);'); + echo form_input($data); + ?> +
+ +
+
+
+ 'AfterCgst', 'value' => set_value('AfterCgst', 0), 'id' => 'AfterCgst', 'class' => 'form-control num', 'placeholder' => 'After CGST', 'readonly' => 'true'); + echo form_input($data); + ?> +
+ +
+
+ +
+
+ + SGST In % +
+ +
+
+ + 'Sgst', 'value' => set_value('Sgst', 0), 'id' => 'Sgst', 'class' => 'form-control num', 'placeholder' => 'SGST TAX PERCENTAGE', 'onchange' => 'Ratechange()', 'onkeypress' => 'return isNumberKey(event);'); + echo form_input($data); + ?> +
+ +
+
+
+ + 'AfterSgst', 'value' => set_value('AfterSgst', 0), 'id' => 'AfterSgst', 'class' => 'form-control num', 'placeholder' => 'After SGST', 'readonly' => 'true'); + echo form_input($data); + ?> +
+ +
+ +
+ +
+
+ IGST In % +
+ +
+
+ + 'Igst', 'value' => set_value('Igst', 0), 'id' => 'Igst', 'class' => 'form-control num', 'placeholder' => 'IGST TAX PERCENTAGE', 'onchange' => 'Ratechange()', 'onkeypress' => 'return isNumberKey(event);'); + echo form_input($data); + ?> +
+ +
+
+
+ + 'AfterIgst', 'value' => set_value('AfterIgst', 0), 'id' => 'AfterIgst', 'class' => 'form-control num', 'placeholder' => 'After IGST', 'readonly' => 'true'); + echo form_input($data); + ?> +
+ +
+ +
+
+
+ +
+
+
+ 'OtherAllowances', 'value' => set_value('OtherAllowances', 0), 'id' => 'OtherAllowances', 'class' => 'form-control num', 'placeholder' => 'Other Allowances', 'onkeypress' => 'return isNumberKey(event);'); + echo form_input($data); + ?> +
+
+
+ +
+
+
+ 'txtTotalOrderValue', 'value' => set_value('txtTotalOrderValue', 0), 'id' => 'txtTotalOrderValue', 'class' => 'form-control num', 'placeholder' => 'Total Order Amount', 'onkeypress' => 'return isNumberKey(event);', 'readonly' => 'true'); + echo form_input($data); + ?> +
+
+ +
@@ -2361,47 +2344,51 @@
-
-
- -
- 'Select Discount Type'); - //print_r( $options); - - if (!empty($TaxType)) { - foreach ($TaxType as $SID) : - - - $options[$SID->ConfigValue] = $SID->ConfigValue; - - endforeach; - } - - echo form_dropdown('EditDiscountType', $options, set_value('EditDiscountType'), 'id="EditDiscountType"', 'class="form-control"'); - - ?> +
-
-
- -
- 'txtEditDiscount', 'value' => set_value('txtEditDiscount'), 'id' => 'txtEditDiscount', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'EditRatechange();calculateDiscount(1);', 'style' => 'text-align:right;'); - echo form_input($data); - ?> +
+ +
+ 'Select Discount Type'); + //print_r( $options); + + if (!empty($TaxType)) { + foreach ($TaxType as $SID) : + + + $options[$SID->ConfigValue] = $SID->ConfigValue; + + endforeach; + } + + echo form_dropdown('EditDiscountType', $options, set_value('EditDiscountType'), 'id="EditDiscountType"', 'class="form-control"'); + + ?> +
-
-
- -
- 'txtEditAfterDiscount', 'value' => set_value('txtEditAfterDiscount'), 'id' => 'txtEditAfterDiscount', 'class' => 'form-control num', 'readonly' => 'true', 'style' => 'text-align:right;'); - echo form_input($data); - ?> +
+ +
+ 'txtEditDiscount', 'value' => set_value('txtEditDiscount'), 'id' => 'txtEditDiscount', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'EditRatechange();calculateDiscount(1);', 'style' => 'text-align:right;'); + echo form_input($data); + ?> +
+
+
+ +
+ 'txtEditAfterDiscount', 'value' => set_value('txtEditAfterDiscount'), 'id' => 'txtEditAfterDiscount', 'class' => 'form-control num', 'readonly' => 'true', 'style' => 'text-align:right;'); + echo form_input($data); + ?> +
+
+
@@ -2450,466 +2437,457 @@ ?>
+
+
+
+ CGST In % +
+
+
+ 'EditCgst', 'value' => set_value('EditCgst'), 'id' => 'EditCgst', 'class' => 'form-control num', 'placeholder' => 'CGST TAX PERCENTAGE', 'onchange' => 'EditRatechange();ChangeEditSgst();', 'onkeypress' => 'return isNumberKey(event);'); + echo form_input($data); + ?> +
+ +
+
+
+ 'EditAfterCgst', 'value' => set_value('EditAfterCgst'), 'id' => 'EditAfterCgst', 'class' => 'form-control num', 'placeholder' => 'After CGST', 'readonly' => 'true'); + echo form_input($data); + ?> +
+ +
+
+
+
+ SGST In % +
+
+
+ + 'EditSgst', 'value' => set_value('EditSgst'), 'id' => 'EditSgst', 'class' => 'form-control num', 'placeholder' => 'SGST TAX PERCENTAGE', 'onchange' => 'EditRatechange()', 'onkeypress' => 'return isNumberKey(event);'); + echo form_input($data); + ?> +
+ +
+
+
+ 'EditAfterSgst', 'value' => set_value('EditAfterSgst'), 'id' => 'EditAfterSgst', 'class' => 'form-control num', 'placeholder' => 'After SGST', 'readonly' => 'true'); + echo form_input($data); + ?> +
+ +
-
+
+
+ IGST In % +
- CGST In % -
+
+
-
-
+ 'EditIgst', 'value' => set_value('EditIgst'), 'id' => 'EditIgst', 'class' => 'form-control num', 'placeholder' => 'IGST TAX PERCENTAGE', 'onchange' => 'EditRatechange()', 'onkeypress' => 'return isNumberKey(event);'); + echo form_input($data); + ?> +
+ +
+
+
+ + 'EditAfterIgst', 'value' => set_value('EditAfterIgst'), 'id' => 'EditAfterIgst', 'class' => 'form-control num', 'placeholder' => 'After IGST', 'readonly' => 'true'); + echo form_input($data); + ?> +
- 'EditCgst', 'value' => set_value('EditCgst'), 'id' => 'EditCgst', 'class' => 'form-control num', 'placeholder' => 'CGST TAX PERCENTAGE', 'onchange' => 'EditRatechange();ChangeEditSgst();', 'onkeypress' => 'return isNumberKey(event);'); - echo form_input($data); - ?>
-
-
- - 'EditAfterCgst', 'value' => set_value('EditAfterCgst'), 'id' => 'EditAfterCgst', 'class' => 'form-control num', 'placeholder' => 'After CGST', 'readonly' => 'true'); - echo form_input($data); - ?> +
+
+
-
- -
-
-
- - SGST In % -
- -
-
- - 'EditSgst', 'value' => set_value('EditSgst'), 'id' => 'EditSgst', 'class' => 'form-control num', 'placeholder' => 'SGST TAX PERCENTAGE', 'onchange' => 'EditRatechange()', 'onkeypress' => 'return isNumberKey(event);'); - echo form_input($data); - ?> -
- -
-
-
- - 'EditAfterSgst', 'value' => set_value('EditAfterSgst'), 'id' => 'EditAfterSgst', 'class' => 'form-control num', 'placeholder' => 'After SGST', 'readonly' => 'true'); - echo form_input($data); - ?> -
- -
- -
- -
-
- - IGST In % -
- -
-
- - 'EditIgst', 'value' => set_value('EditIgst'), 'id' => 'EditIgst', 'class' => 'form-control num', 'placeholder' => 'IGST TAX PERCENTAGE', 'onchange' => 'EditRatechange()', 'onkeypress' => 'return isNumberKey(event);'); - echo form_input($data); - ?> -
- -
-
-
- - 'EditAfterIgst', 'value' => set_value('EditAfterIgst'), 'id' => 'EditAfterIgst', 'class' => 'form-control num', 'placeholder' => 'After IGST', 'readonly' => 'true'); - echo form_input($data); - ?> -
- -
- -
-
-
- -
- -
-
- 'EditOtherAllowances', 'value' => set_value('EditOtherAllowances'), 'id' => 'EditOtherAllowances', 'class' => 'form-control num', 'placeholder' => 'Other Allowances', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'EditRatechange();'); - echo form_input($data); - ?> -
-
-
- -
-
-
- 'EdittxtTotalOrderValue', 'value' => set_value('EdittxtTotalOrderValue'), 'id' => 'EdittxtTotalOrderValue', 'class' => 'form-control num', 'placeholder' => 'Total Order Amount', 'onkeypress' => 'return isNumberKey(event);', 'readonly' => 'true'); - echo form_input($data); - ?> -
-
-
-
-
-
-
-
-
- Basic Price -
- -
-
- 'EditAfterBasicPriceTax', 'value' => set_value('EditAfterBasicPriceTax'), 'id' => 'EditAfterBasicPriceTax', 'class' => 'form-control', 'readonly' => 'true'); - echo form_input($data); - ?> -
+
+
+ 'EditOtherAllowances', 'value' => set_value('EditOtherAllowances'), 'id' => 'EditOtherAllowances', 'class' => 'form-control num', 'placeholder' => 'Other Allowances', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'EditRatechange();'); + echo form_input($data); + ?>
-
-
- Landing charge -
-
-
- 'EditLandingCharge', 'value' => set_value('EditLandingCharge'), 'id' => 'EditLandingCharge', 'class' => 'form-control', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'EditRatechange();'); - echo form_input($data); - ?> -
-
-
-
- 'EditAfterLandingCharge', 'value' => set_value('EditAfterLandingCharge'), 'id' => 'EditAfterLandingCharge', 'class' => 'form-control', 'readonly' => 'true'); - echo form_input($data); - ?> -
-
+
+
-
-
- Assessable Value (A) -
-
- -
-
-
- 'EditAfterAssessable', 'value' => set_value('EditAfterAssessable'), 'id' => 'EditAfterAssessable', 'class' => 'form-control', 'readonly' => 'true'); - echo form_input($data); - ?> -
-
-
-
-
- Custom duty (B) -
-
-
- 'EditCustomduty', 'value' => set_value('EditCustomduty'), 'id' => 'EditCustomduty', 'class' => 'form-control', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'EditRatechange();'); - echo form_input($data); - ?> -
-
-
-
- 'EditAfterCustomduty', 'value' => set_value('EditAfterCustomduty'), 'id' => 'EditAfterCustomduty', 'class' => 'form-control', 'readonly' => 'true'); - echo form_input($data); - ?> -
-
-
- - - -
-
- Custom ED_cess (C) -
-
-
- 'EditCustomEDcess', 'value' => set_value('EditCustomEDcess'), 'id' => 'EditCustomEDcess', 'class' => 'form-control', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'EditRatechange();'); - echo form_input($data); - ?> -
-
-
-
- 'EditAfterCustomEDcess', 'value' => set_value('EditAfterCustomEDcess'), 'id' => 'EditAfterCustomEDcess', 'class' => 'form-control', 'readonly' => 'true'); - echo form_input($data); - ?> -
-
-
-
-
- Custom S & H cess (D) -
-
-
- 'EditCustomSHcess', 'value' => set_value('EditCustomSHcess'), 'id' => 'EditCustomSHcess', 'class' => 'form-control', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'EditRatechange();'); - echo form_input($data); - ?> -
-
-
-
- 'EditAfterCustomSHcess', 'value' => set_value('EditAfterCustomSHcess'), 'id' => 'EditAfterCustomSHcess', 'class' => 'form-control', 'readonly' => 'true'); - echo form_input($data); - ?> -
+
+
+ 'EdittxtTotalOrderValue', 'value' => set_value('EdittxtTotalOrderValue'), 'id' => 'EdittxtTotalOrderValue', 'class' => 'form-control num', 'placeholder' => 'Total Order Amount', 'onkeypress' => 'return isNumberKey(event);', 'readonly' => 'true'); + echo form_input($data); + ?>
-
-
-
- Subtotal (E) -
-
-