From 6e05f847abb8fc7d124b5e943692464483439e62 Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Thu, 22 Jun 2017 11:33:47 +0530 Subject: [PATCH] Po order list fix --- application/config/constants.php | 17 +- application/controllers/purchaseorder.php | 18 +- .../controllers/servicepurchaseorder.php | 14 +- application/logs/log-2017-06-21.php | 0 application/logs/log-2017-06-22.php | 5 + .../models/inwardgateregister_model.php | 0 .../views/EditservicePurchaseorder.php | 132 +- application/views/capitalpurchaseorder.php | 3859 ++++++++++------- .../views/editRevenuepurchaseorder.php | 14 + application/views/viewinwardgateregister.php | 0 10 files changed, 2504 insertions(+), 1555 deletions(-) mode change 100644 => 100755 application/logs/log-2017-06-21.php create mode 100644 application/logs/log-2017-06-22.php mode change 100644 => 100755 application/models/inwardgateregister_model.php mode change 100644 => 100755 application/views/viewinwardgateregister.php diff --git a/application/config/constants.php b/application/config/constants.php index 4205b1eb..cd78c4a9 100755 --- a/application/config/constants.php +++ b/application/config/constants.php @@ -181,7 +181,22 @@ define('RMC_CAL', 'txtpurchaserate+txtc define('CALCULATE_TOTAL', '(txtrmc*quantity)+basicprice'); /* Capital Po Calculations */ define('Capital_Landing_Charge', 'basicPrice*(landCharge/100)'); -define('Capital_Highseas_Charge', '(basicPrice+afterLandingCharge)*(highSeas/100)'); +define('Capital_Highseas_Charge', '((highSeas/100) * (basicPrice+afterLandingCharge))'); +define('Capital_Customduty_Charge', '((Customduty/100) * (basicPrice+afterLandingCharge+afterHighseas))'); +define('Capital_Excise_Charge', '((Excise/100) * (basicPrice+afterLandingCharge+afterHighseas+afterCustomduty))'); +define('Capital_ExciseEDcess_Charge', '(ExciseEDcessCharge/100) * ExciseDuty'); +define('Capital_ExciseSHcess_Charge', '(ExciseSHcessCharge/100) * ExciseDuty'); +define('Capital_CustomEDcess_Charge', '((CustomEDcess/100) * (afterLandingCharge+AfterHighseas+AfterCustomduty+AfterExcisedutyTax+AfterExcisedutyEDcess+AfterExcisedutySHcess))'); +define('Capital_CustomSHcess_Charge', '((CustomSHcess/100) * (afterLandingCharge+AfterHighseas+AfterCustomduty+AfterExcisedutyTax+AfterExcisedutyEDcess+AfterExcisedutySHcess))'); +define('Capital_AdditionalExciseduty_Charge', '((AdditionalExciseduty/100) * (basicPrices+afterLandingCharge+AfterHighseas+AfterCustomduty+AfterExcisedutyTax+AfterExcisedutyEDcess+AfterExcisedutySHcess+AfterCustomEDcess+AfterCustomSHcess))'); + +define('Capital_Grossdutypayable_Charge', '(AfterAdditionalExciseduty+afterLandingCharge+AfterHighseas+AfterCustomduty+AfterExcisedutyTax+AfterExcisedutyEDcess+AfterExcisedutySHcess+AfterCustomEDcess+AfterCustomSHcess)'); +define('Capital_ModvatCharge_Charge', '(AfterExcisedutyTax+AfterExcisedutyEDcess+AfterExcisedutySHcess+AfterAdditionalExciseduty)'); + +define('Capital_Grossexpenses_Charge', '(Grossdutypayable-AvailableModvat)'); +define('Capital_purchaserate_Charge', '(AfterBasicPriceTax/PurQuantity)'); +define('Capital_CustomDutyExpenses_Charge', '(Grossexpenses/PurQuantity)'); +define('Capital_RMCIncludingCustomers_Charge', '(purchaserate+CustomDutyExpenses)'); diff --git a/application/controllers/purchaseorder.php b/application/controllers/purchaseorder.php index cf89af0f..1bb39377 100755 --- a/application/controllers/purchaseorder.php +++ b/application/controllers/purchaseorder.php @@ -531,7 +531,7 @@ class purchaseorder extends BaseController $SupplierID = $this->input->post('drpSupplier'); $DeliveryAddr = $this->input->post('DeliveryAddr'); $dt = $this->input->post('Deliverydt'); - $Deliverydt = $this->getDateformat($dt); + //$Deliverydt = $this->getDateformat($dt); $DeliveryOption = $this->input->post('DateRange'); if($DeliveryOption==1){ $Deliverydt = ''; @@ -657,7 +657,16 @@ $DeliveryOption = $this->input->post('DateRange'); $SupplierID = $this->input->post('drpSupplier'); $DeliveryAddr = $this->input->post('txtDeliveryAddress'); $dt = $this->input->post('Deliverydt'); - $Deliverydt = $this->getDateformat($dt); + //$Deliverydt = $this->getDateformat($dt); + $DeliveryOption = $this->input->post('DateRange'); + if($DeliveryOption==1){ + $Deliverydt = ''; + $DeliverySchedule = $this->input->post('Scheduleby'); + } + else{ + $Deliverydt = $this->getDateformat($dt); + $DeliverySchedule = ''; + } $POType = $this->input->post('POType'); $PoRange = $this->input->post('txtPoRange'); @@ -674,7 +683,7 @@ $DeliveryOption = $this->input->post('DateRange'); $updateddt = $dt->format('Y-m-d H:i:s'); // PO Master // PO Master - $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>$POStatus,'ServiceDescription'=>$SpcialInstruction,'UpdateBY'=>$updatedBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'UpdatedOn'=>$updateddt ); + $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>$POStatus,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ServiceDescription'=>$SpcialInstruction,'UpdateBY'=>$updatedBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'UpdatedOn'=>$updateddt ); $POMaster = $this->purchaseorder_model->updatePOMaster($PONO,$POList); @@ -1073,6 +1082,9 @@ public function importpoprint($PONO) { $PONO =$this->input->post('txtPONO'); +$POdt = ''; +$createddt=''; + $PODate = $this->getDateformat($POdt); $SupplierID = $this->input->post('drpSupplier'); $DeliveryAddr = $this->input->post('DeliveryAddr'); diff --git a/application/controllers/servicepurchaseorder.php b/application/controllers/servicepurchaseorder.php index 95785403..347b1ba6 100755 --- a/application/controllers/servicepurchaseorder.php +++ b/application/controllers/servicepurchaseorder.php @@ -70,7 +70,7 @@ class servicepurchaseorder extends BaseController $SupplierID = $this->input->post('drpSupplier'); $DeliveryAddr = $this->input->post('DeliveryAddr'); $dt = $this->input->post('Deliverydt'); - $Deliverydt = $this->getDateformat($dt); + //$Deliverydt = $this->getDateformat($dt); $DeliveryOption = $this->input->post('DateRange'); if($DeliveryOption==1){ $Deliverydt = ''; @@ -178,7 +178,15 @@ class servicepurchaseorder extends BaseController $SupplierID = $this->input->post('drpSupplier'); $DeliveryAddr = $this->input->post('txtDeliveryAddress'); $dt = $this->input->post('Deliverydt'); - $Deliverydt = $this->getDateformat($dt); + $DeliveryOption = $this->input->post('DateRange'); + if($DeliveryOption==1){ + $Deliverydt = ''; + $DeliverySchedule = $this->input->post('Scheduleby'); + } + else{ + $Deliverydt = $this->getDateformat($dt); + $DeliverySchedule = ''; + } $POType = $this->input->post('POType'); @@ -196,7 +204,7 @@ class servicepurchaseorder extends BaseController // PO Master - $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>$POStatus,'ServiceDescription'=>$SpcialInstruction,'UpdateBY'=>$updatedBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'UpdatedOn'=>$updateddt ); + $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>$POStatus,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ServiceDescription'=>$SpcialInstruction,'UpdateBY'=>$updatedBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'UpdatedOn'=>$updateddt ); $POMaster = $this->purchaseorder_model->updatePOMaster($PONO,$POList); diff --git a/application/logs/log-2017-06-21.php b/application/logs/log-2017-06-21.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-06-22.php b/application/logs/log-2017-06-22.php new file mode 100644 index 00000000..4bc381e0 --- /dev/null +++ b/application/logs/log-2017-06-22.php @@ -0,0 +1,5 @@ + + +ERROR - 2017-06-22 08:00:58 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/Git_Server/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-06-22 08:01:33 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/Git_Server/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-06-22 08:01:52 --> Severity: Notice --> Undefined property: stdClass::$AvlBudAmt /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/editimportpo.php 1474 diff --git a/application/models/inwardgateregister_model.php b/application/models/inwardgateregister_model.php old mode 100644 new mode 100755 diff --git a/application/views/EditservicePurchaseorder.php b/application/views/EditservicePurchaseorder.php index 6f9f4013..c6b302b2 100755 --- a/application/views/EditservicePurchaseorder.php +++ b/application/views/EditservicePurchaseorder.php @@ -119,8 +119,45 @@ $("#txtBasicValue").val(''); var Material = ; var AvlBudAmt = ''; - - // For Binding DepartmentName + //ServiceTable + var rows = document.getElementById('ServiceTable').rows.length; + +if(DeletedMaterialCode!=undefined && DeletedMaterialCode!=''){ + + $("#MaterialCode").append( $('').val(DeletedMaterialCode).html(DeletedMaterialCode + "-" + DeletedMaterialName)); + +} + +for(i=2;i<=rows;i++){ + +//var j=1; + $.each(Material[i], function(idx, obj) { + + // j=j+1; + var materialCode = $('#materialCode'+i); + + + + + if(obj.materialCode == materialCode ) + { + $("#MaterialCode").val(''); + } + + + + else{ + $("#MaterialCode").append( $('').val(obj.MaterialCode).html(obj.MaterialCode + "-" + obj.MaterialName)); + + } + + + }); + + + + +} // For Binding DepartmentName $.each(y, function(idx, obj) { if(obj.ReqNo === id) { @@ -159,6 +196,7 @@ $("#txtBasicValue").val(''); if(isAdded == "0") { + $("#MaterialCode").append( $('').val(obj.MaterialCode).html(obj.MaterialCode + "-" + obj.MaterialName)); } @@ -187,16 +225,21 @@ $('#MaterialCode').change(function() { { var y = ; - - $.each(y, function(idx, obj) { - if(obj.MaterialCode === id) + for(i=0;iKrishiKalyantax; $TotalSwachhBharattax = $TotalSwachhBharattax + $record->SwachhBharattax; $TotalSummary = $TotalSummary + $record->TotalValue; + + $TotalBasicAmount = $TotalBasicAmount + $record->BasicValue; } @@ -1326,7 +1371,11 @@ $(document).ready(function () { - diff --git a/application/views/capitalpurchaseorder.php b/application/views/capitalpurchaseorder.php index 16f0cca3..b78d6f1b 100755 --- a/application/views/capitalpurchaseorder.php +++ b/application/views/capitalpurchaseorder.php @@ -1,1583 +1,2390 @@ -format('Y-m-d'); -$MaxPoDate = ''; -$AvlAmount = 0; -if(!empty($MaxPODate)) -{ - foreach ($MaxPODate as $date) + format('Y-m-d'); + $MaxPoDate = ''; + $AvlAmount = 0; + if(!empty($MaxPODate)) { - $MaxPoDate = $date->PODate; - } -} -if(!empty($CompanyDetails)) -{ - foreach ($CompanyDetails as $Req) + foreach ($MaxPODate as $date) + { + $MaxPoDate = $date->PODate; + } + } + if(!empty($CompanyDetails)) + { + foreach ($CompanyDetails as $Req) + { + $CompanyAddress = $Req->Address; + } + } + if(!empty($AvlBudAmt)) { - $CompanyAddress = $Req->Address; - } -} -if(!empty($AvlBudAmt)) -{ - - $AvlAmount = $AvlBudAmt; - -} -?> - - +
+ 'form-label-left CapitalPO ','name' => 'CapitalPO','id' => 'ImportPO'); - }); - -
- 'form-label-left ImportPO ','name' => 'ImportPO','id' => 'ImportPO'); - - echo form_open($this->config->base_url().'/purchaseorder/addPO/',$attributes); ?> - - -
- -
-
- -

Siddharth Industries - Capital 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"'); - - ?> -
-
- -
- + echo form_open($this->config->base_url().'/purchaseorder/addPO/',$attributes); ?> - 'Select Currency Type '); - //print_r( $options); +
- if(!empty($Currency)) - { - - foreach ($Currency as $Cur): +
+
- $options[$Cur->CurrencyCode] = $Cur->CurrencyCode.' '.' - '.' '.$Cur->CurrencyName; +

Siddharth Industries - Capital Purchase Order

- endforeach; - } + +
+
+
+
+
+
+ + 'Selected Requisition Numbers'); + if(!empty($ReqList)) + { + foreach ($ReqList as $SID): - ?> - -
-
- -
-
-
-
- - - 'Select Supplier'); - //print_r( $options); - - if(!empty($Suplist)) - { - foreach ($Suplist as $SID): - - - $options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName; + // 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"'); - 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); - ?> -
-
-
- -
- 'ExchangeRt','value' => set_value('ExchangeRt'),'id'=>'ExchangeRt', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);'); - echo form_input($data); - ?> -
- -
-
-
-
- -
- - 'POType','value' => set_value('POType',CAPITAL),'id'=>'POType', 'class' => 'form-control' ,'readonly' => 'true'); - 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); - ?> -
-
-
- -
- 'PODate','value' => set_value('PODate',$CurrentDate),'id'=>'PODate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;'); - echo form_input($data); - ?> -
-
-
-
-
- Select Delivery By
- - - "DateRange", "id"=>"Date", "value"=>"0", 'checked'=>set_radio('DateRange', '0', TRUE))); ?>     - - "DateRange", "id"=>"Schedule", "value"=>"1", 'checked'=>set_radio('DateRange', '1', FALSE))); ?> - - -
- - -

- - - 'Deliverydt','value' => set_value('Deliverydt',$CurrentDate),'id'=>'Deliverydt', 'class' => 'form-control' ,'required' => 'true'); - echo form_input($data); - ?> - -
- -
- -
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
SNoRequisition NoItem NameQuantityUOMRateBasic AmountTax AmountTotal Order AmountAction
+ if(!empty($Currency)) + { + + foreach ($Currency as $Cur): + + $options[$Cur->CurrencyCode] = $Cur->CurrencyCode.' '.' - '.' '.$Cur->CurrencyName; + + endforeach; + } + + echo form_dropdown('currencytype', $options,set_value('currencytype'),'id="currencytype"','class="form-control select2"' , 'required="true"'); + + ?> + +
+
+
-
- -
-
- - -
- -
-
- Service Tax @14% : -
- 'TotalAfterServiceTax','value' => set_value('TotalAfterServiceTax'),'id'=>'TotalAfterServiceTax', 'class' => 'form-control' ,'placeholder' => 'After Service Tax','readonly' => 'true'); - echo form_input($data); - ?> -
-
-
- Education cess @2% on service Tax : -
- 'TotalAfterEduCess','value' => set_value('TotalAfterEduCess'),'id'=>'TotalAfterEduCess', 'class' => 'form-control' ,'placeholder' => 'After Edu. cess','readonly' => 'true'); - echo form_input($data); - ?> -
-
-
- Sec. & Higher Edu. cess @1 % on service Tax : -
- 'TotalAfterSecHighTax','value' => set_value('TotalAfterSecHighTax'),'id'=>'TotalAfterSecHighTax', 'class' => 'form-control' ,'placeholder' => 'After High Edu. cess','readonly' => 'true'); - echo form_input($data); - ?> -
-
-
- Krishi Kalyan tax @.5 % on Basic Amount: -
- 'TotalAfterKrishiTax','value' => set_value('TotalAfterKrishiTax'),'id'=>'TotalAfterKrishiTax', 'class' => 'form-control' ,'placeholder' => 'After Krishi Kalyan tax.','readonly' => 'true'); - echo form_input($data); - ?> -
-
-
- Swachh Bharat tax @.5 % on Basic Amount: -
- 'TotalAfterSwachhTax','value' => set_value('TotalAfterSwachhTax'),'id'=>'TotalAfterSwachhTax', 'class' => 'form-control' ,'placeholder' => 'After Swatchh Bhart Tax.','readonly' => 'true'); - echo form_input($data); - ?> -
-
-
-
-
- -
- - - 'txttotallanding','value' => set_value('txttotallanding'),'id'=>'txttotallanding', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
+

+ +
+ 'SupAddress','value' => set_value('SupAddress'),'id'=>'SupAddress', 'class' => 'form-control' ,'readonly' => 'true','rows' => '3', 'cols' => '40'); + echo Form_textarea($data); + ?> +
+
+
+ +
+ 'ExchangeRt','value' => set_value('ExchangeRt'),'id'=>'ExchangeRt', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);'); + 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'); - echo form_input($data); - ?> +
- -
- 'txtSpcialInstruction','value' => set_value('txtSpcialInstruction'),'id'=>'txtSpcialInstruction', 'class' => 'form-control','rows' => '3', 'cols' => '40' ); - echo form_textarea($data); - ?> -
- - - - -
- - -
-   Save -   Submit - - -
-
-
-
-
-
- - + + \ No newline at end of file + } + \ No newline at end of file diff --git a/application/views/editRevenuepurchaseorder.php b/application/views/editRevenuepurchaseorder.php index 3e0df67b..e4a45ced 100755 --- a/application/views/editRevenuepurchaseorder.php +++ b/application/views/editRevenuepurchaseorder.php @@ -3825,6 +3825,20 @@ $('#txtDeliveryAddress').val(deladd); } } +// this function is used to clear data changing schedule option +$('#Scheduleby').change(function(){ + + $("#Deliverydt").datepicker({ + minDate : 'now', + dateFormat: 'mm/dd/yy',changeMonth: true, changeYear: true,yearRange: '0:+10' + }); + + }); + $('#Deliverydt').change(function(){ + + $('#Scheduleby').val(''); + + }); $(function () { //$("#revenueTax").DataTable(); diff --git a/application/views/viewinwardgateregister.php b/application/views/viewinwardgateregister.php old mode 100644 new mode 100755