diff --git a/application/logs/log-2017-07-07.php b/application/logs/log-2017-07-07.php old mode 100644 new mode 100755 index 19496e2a..320de2a7 --- a/application/logs/log-2017-07-07.php +++ b/application/logs/log-2017-07-07.php @@ -66,3 +66,38 @@ ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encou ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464 ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464 ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464 +ERROR - 2017-07-07 07:42:03 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/webalizer/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-07-07 07:42:13 --> Severity: Notice --> Undefined variable: ExchangeRate /opt/lampp/htdocs/webalizer/siddharth_application/application/views/editCapitalPo.php 30 +ERROR - 2017-07-07 07:42:13 --> Severity: Notice --> Undefined variable: options1 /opt/lampp/htdocs/webalizer/siddharth_application/application/views/editCapitalPo.php 279 +ERROR - 2017-07-07 07:42:13 --> Severity: Warning --> Invalid argument supplied for foreach() /opt/lampp/htdocs/webalizer/siddharth_application/system/helpers/form_helper.php 332 +ERROR - 2017-07-07 07:42:13 --> Severity: Notice --> Undefined variable: index /opt/lampp/htdocs/webalizer/siddharth_application/application/views/editCapitalPo.php 2025 +ERROR - 2017-07-07 07:42:13 --> Severity: Notice --> Undefined variable: Currency /opt/lampp/htdocs/webalizer/siddharth_application/application/views/editCapitalPo.php 4407 +ERROR - 2017-07-07 07:45:52 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 138 +ERROR - 2017-07-07 07:45:52 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 140 +ERROR - 2017-07-07 07:45:52 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 186 +ERROR - 2017-07-07 07:47:11 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 138 +ERROR - 2017-07-07 07:47:11 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 140 +ERROR - 2017-07-07 07:47:11 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 186 +ERROR - 2017-07-07 07:49:42 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 138 +ERROR - 2017-07-07 07:49:42 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 140 +ERROR - 2017-07-07 07:49:42 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 186 +ERROR - 2017-07-07 07:51:11 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 138 +ERROR - 2017-07-07 07:51:11 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 140 +ERROR - 2017-07-07 07:51:11 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 186 +ERROR - 2017-07-07 08:03:00 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/webalizer/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-07-07 08:05:36 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/webalizer/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-07-07 08:05:40 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/webalizer/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-07-07 08:07:50 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/webalizer/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-07-07 08:11:04 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/webalizer/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-07-07 08:11:38 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 138 +ERROR - 2017-07-07 08:11:38 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 140 +ERROR - 2017-07-07 08:11:38 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 186 +ERROR - 2017-07-07 08:14:19 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 138 +ERROR - 2017-07-07 08:14:19 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 140 +ERROR - 2017-07-07 08:14:19 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 186 +ERROR - 2017-07-07 08:16:18 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 138 +ERROR - 2017-07-07 08:16:18 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 140 +ERROR - 2017-07-07 08:16:18 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 186 +ERROR - 2017-07-07 08:23:40 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 138 +ERROR - 2017-07-07 08:23:40 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 140 +ERROR - 2017-07-07 08:23:40 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/webalizer/siddharth_application/application/views/alterpurchaseorder.php 186 diff --git a/application/views/POlist.php b/application/views/POlist.php index db4b9681..0fe8784f 100755 --- a/application/views/POlist.php +++ b/application/views/POlist.php @@ -19,7 +19,7 @@
- +
diff --git a/application/views/alterpurchaseorder.php b/application/views/alterpurchaseorder.php index 0e11b813..5c409885 100755 --- a/application/views/alterpurchaseorder.php +++ b/application/views/alterpurchaseorder.php @@ -2081,8 +2081,8 @@ function populateValueMainFormForDeleteItem(rowid)
-
@@ -2325,7 +2325,7 @@ function populateValueMainFormForDeleteItem(rowid) -
+

@@ -2433,8 +2433,8 @@ function populateValueMainFormForDeleteItem(rowid)

diff --git a/application/views/capitalpurchaseorder.php b/application/views/capitalpurchaseorder.php index cac2330d..3e684eaa 100755 --- a/application/views/capitalpurchaseorder.php +++ b/application/views/capitalpurchaseorder.php @@ -1,1843 +1,1842 @@ - format('Y-m-d'); - $MaxPoDate = ''; - $AvlAmount = 0; - $paymentDate=''; - $paymentCheckDays='Before'; +format('Y-m-d'); +$MaxPoDate = ''; +$AvlAmount = 0; +$paymentDate=''; +$paymentCheckDays='Before'; $paymentCheckDays1='After'; - if(!empty($MaxPODate)) - { - foreach ($MaxPODate as $date) - { - $MaxPoDate = $date->PODate; - } - } - if(!empty($CompanyDetails)) - { - foreach ($CompanyDetails as $Req) - { - $CompanyAddress = $Req->Address; - } - } - if(!empty($AvlBudAmt)) - { - - $AvlAmount = $AvlBudAmt; - - } - - ?> - +} +if(!empty($CompanyDetails)) +{ +foreach ($CompanyDetails as $Req) +{ +$CompanyAddress = $Req->Address; +} +} +if(!empty($AvlBudAmt)) +{ - -
- 'form-label-left CapitalPO ','name' => 'CapitalPO','id' => 'ImportPO'); + +
+ 'form-label-left CapitalPO ','name' => 'CapitalPO','id' => 'ImportPO'); - echo form_open($this->config->base_url().'/purchaseorder/addPO/',$attributes); ?> +echo form_open($this->config->base_url().'/purchaseorder/addPO/',$attributes); ?> -
+
-
-
+
+
-

Siddharth Industries - Capital Purchase Order

+

Siddharth Industries - Capital Purchase Order

- -
-
-
-
-
-
- -
+ Print +
--> +
+
+
+
+
+
+ + 'Selected Requisition Numbers'); - if(!empty($ReqList)) - { - foreach ($ReqList as $SID): + $options = array("0"=>'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"'); + // 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( $options); +'Select Currency Type '); + //print_r( $options); - if(!empty($Currency)) - { - + if(!empty($Currency)) + { + - foreach ($Currency as $Cur): + foreach ($Currency as $Cur): - $options[$Cur->Currency_Code] = $Cur->Currency_Code.' '.' - '.' '.$Cur->Country_and_Currency; - - endforeach; - } + $options[$Cur->Currency_Code] = $Cur->Currency_Code.' '.' - '.' '.$Cur->Country_and_Currency; + + endforeach; + } - echo form_dropdown('currencytype', $options,set_value('currencytype'),'id="currencytype"','class="form-control select2"' , 'required="true"'); + echo form_dropdown('currencytype', $options,set_value('currencytype'),'id="currencytype"','class="form-control select2"' , 'required="true"'); - ?> + ?> -
-
- -
-
-
-
- +
+
+ +
+
+
+
+ - 'Select Supplier'); - //print_r( $options); + 'Select Supplier'); + //print_r( $options); - if(!empty($Suplist)) - { - foreach ($Suplist as $SID): - - - $options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName; + if(!empty($Suplist)) + { + foreach ($Suplist as $SID): + - endforeach; - } + $options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName; - echo form_dropdown('drpSupplier', $options,set_value('drpSupplier'),'id="drpSupplier"' ,'required="true"' ,'class="form-control select2'); + 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',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); - ?> -
-
- -
-
-
- - Select Delivery By
-
- - - - - - -

- - - 'Deliverydt','value' => set_value('Deliverydt',$CurrentDate),'id'=>'Deliverydt', 'class' => 'form-control' ,'required' => 'true'); - echo form_input($data); - ?> - -
- - - - -
- -
-
- -
- 'Exchangerateon','value' => set_value('Exchangerateon',$CurrentDate),'id'=>'Exchangerateon', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;'); - echo form_input($data); - ?> -
-
-
- -
- 'ExchangeRt','value' => set_value('ExchangeRt'),'id'=>'ExchangeRt', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);'); - echo form_input($data); - ?> -
- -
-
- -
- 'PODate','value' => set_value('PODate',$CurrentDate),'id'=>'PODate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;'); - echo form_input($data); - ?> -
-
-
+
+

+ +
+ 'SupAddress','value' => set_value('SupAddress'),'id'=>'SupAddress', 'class' => 'form-control' ,'readonly' => 'true','rows' => '3', 'cols' => '40'); + echo Form_textarea($data); + ?>
-
- Payment Details - -
- Payable Terms - +
+ +
+
+
+ +
+ '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); + ?> +
+
+ +
+
+
- 'Select Payment method'); - //print_r( $options); + Select Delivery By
+
+ + + + + +

+ - echo form_dropdown('PaymentMethod', $options1,set_value('PaymentMethod'),'id="PaymentMethod"' ,'class="form-control"'); - - ?> - - - - -
- -
- Payable AT - 'PayableAT','value' => set_value('PayableAT'),'id'=>'PayableAT', 'class' => 'form-control' ,'required' => 'true'); + 'Deliverydt','value' => set_value('Deliverydt',$CurrentDate),'id'=>'Deliverydt', 'class' => 'form-control' ,'required' => 'true'); echo form_input($data); - ?> - -
- -
- Payment Date
-
- - - - - - - - - - -
-
- -
-
-
-
-
#
- "DateRange", "id"=>"Date", "value"=>"0", 'checked'=>'checked')); ?>     - "DateRange", "id"=>"Schedule", "value"=>"1", 'checked'=>set_radio('DateRange', '1', FALSE))); ?> - -
+ "DateRange", "id"=>"Date", "value"=>"0", 'checked'=>'checked')); ?>     + "DateRange", "id"=>"Schedule", "value"=>"1", 'checked'=>set_radio('DateRange', '1', FALSE))); ?> - if(!empty($payment)) - { - foreach ($payment as $payment): +
- "Payment", "id"=>"Before", "value"=>"Before", 'checked'=>set_radio('Payment', 'Before', TRUE))); ?>     - "Payment", "id"=>"After", "value"=>"After", 'checked'=>set_radio('Payment', 'After', FALSE))); ?> + ?> -
- - - - - - - - - - - - - - + - + - -
SNoRequisition NoItem NameQuantityUOMRateBasic AmountTax AmountTotal Order AmountAction
+
+
+
+ +
+
+
+ +
+ 'Exchangerateon','value' => set_value('Exchangerateon',$CurrentDate),'id'=>'Exchangerateon', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;'); + echo form_input($data); + ?> +
+
+
+ +
+ 'ExchangeRt','value' => set_value('ExchangeRt'),'id'=>'ExchangeRt', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);'); + echo form_input($data); + ?> +
+ +
+
+ +
+ 'PODate','value' => set_value('PODate',$CurrentDate),'id'=>'PODate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;'); + echo form_input($data); + ?> +
+
+
+
+
+Payment Details + +
+Payable Terms + + + + 'Select Payment method'); + //print_r( $options); + + if(!empty($payment)) + { + foreach ($payment as $payment): + + + $options1[$rl->ConfigValue] = $rl->ConfigValue.' '.' - '.' '.$rl->ConfigValue; + + endforeach; + } + + echo form_dropdown('PaymentMethod', $options1,set_value('PaymentMethod'),'id="PaymentMethod"' ,'class="form-control"'); + + ?> + + + + +
+ +
+Payable AT + 'PayableAT','value' => set_value('PayableAT'),'id'=>'PayableAT', 'class' => 'form-control' ,'required' => 'true'); +echo form_input($data); +?> + +
+ +
+Payment Date
+ + + + "Payment", "id"=>"Before", "value"=>"Before", 'checked'=>set_radio('Payment', 'Before', TRUE))); ?>     + + "Payment", "id"=>"After", "value"=>"After", 'checked'=>set_radio('Payment', 'After', FALSE))); ?> + + + +
+ +
+ + + +
+
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + +
SNoRequisition NoItem NameQuantityUOMRateBasic AmountTax AmountTotal Order AmountAction
+
+
+ +
+
+ + +
-
-
+
+
+ +
+
+ +
+ + 'Select Req No'); + if(!empty($RequistionDetails)) + { + foreach ($RequistionDetails as $SID): + $RL[$SID->ReqNo] = $SID->ReqNo.' '.' - '.' '.$SID->DepartmentName; + endforeach; + } + + echo form_dropdown('Reqnumber', $RL,set_value('Reqnumber'),'id="Reqnumber"' ,'class="form-control select2 required"'); + + ?> - +
+
+
+
+ Service Tax ( ST ) @ 14% : +
+ 'AfterServiceTax','value' => set_value('AfterServiceTax'),'id'=>'AfterServiceTax', 'class' => 'form-control' ,'placeholder' => 'After Service Tax','readonly' => 'true'); + echo form_input($data); + ?> +
- +
+ Education cess @2% on ST : +
+ 'AfterEduCess','value' => set_value('AfterEduCess'),'id'=>'AfterEduCess', 'class' => 'form-control' ,'placeholder' => 'After Edu. cess','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+
+
+ Sec. & Higher Edu. cess @1 % on ST : +
+ 'AfterSecHighTax','value' => set_value('AfterSecHighTax'),'id'=>'AfterSecHighTax', 'class' => 'form-control' ,'placeholder' => 'After High Edu. cess','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ Krishi Kalyan tax @.5 % on Basic Account(BA): +
+ 'AfterKrishiTax','value' => set_value('AfterKrishiTax'),'id'=>'AfterKrishiTax', 'class' => 'form-control' ,'placeholder' => 'After Krishi Kalyan tax.','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+
+ Swachh Bharat tax @.5 % on BA: +
+ 'AfterSwachhTax','value' => set_value('AfterSwachhTax'),'id'=>'AfterSwachhTax', 'class' => 'form-control' ,'placeholder' => 'After Swatchh Bhart Tax.','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+
+
+
+
+
+
+ Basic Price In INR: +
+
+
+ 'BasicPriceTax','value' => set_value('BasicPriceTax'),'id'=>'BasicPriceTax', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);'); + echo form_input($data); + ?> +
+
+
+
+ 'AfterBasicPriceTax','value' => set_value('AfterBasicPriceTax'),'id'=>'AfterBasicPriceTax', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+
+
+ Landing charge +
+
+
+ 'LandingCharge','value' => set_value('LandingCharge'),'id'=>'LandingCharge', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);' ,'onchange'=>'Ratechange();'); + echo form_input($data); + ?> +
+
+
+
+ 'AfterLandingCharge','value' => set_value('AfterLandingCharge'),'id'=>'AfterLandingCharge', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+
+
+ High seas sales charge +
+
+
+ 'Highseas ','value' => set_value('Highseas'),'id'=>'Highseas', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);' , 'onchange'=>'Ratechange();'); + echo form_input($data); + ?> +
+
+
+
+ 'AfterHighseas','value' => set_value('AfterHighseas'),'id'=>'AfterHighseas', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+
+
+ Custom duty : (a) +
+
+
+ 'Customduty','value' => set_value('Customduty'),'id'=>'Customduty', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);' ,'onchange'=>'Ratechange();'); + echo form_input($data); + ?> +
+
+
+
+ 'AfterCustomduty','value' => set_value('AfterCustomduty'),'id'=>'AfterCustomduty', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+
+
+ Excise duty : (b) +
+
+
+ 'ExcisedutyTax','value' => set_value('ExcisedutyTax'),'id'=>'ExcisedutyTax', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);' ,'onchange'=>'Ratechange();'); + echo form_input($data); + ?> +
+
+
+
+ 'AfterExcisedutyTax','value' => set_value('AfterExcisedutyTax'),'id'=>'AfterExcisedutyTax', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+
+
+ Excise duty ED_cess : (C) +
+
+
+ 'ExcisedutyEDcess','value' => set_value('ExcisedutyEDcess'),'id'=>'ExcisedutyEDcess', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);' ,'onchange'=>'Ratechange();'); + echo form_input($data); + ?> +
+
+
+
+ 'AfterExcisedutyEDcess','value' => set_value('AfterExcisedutyEDcess'),'id'=>'AfterExcisedutyEDcess', 'class' => 'form-control','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+
+
+ Excise duty S & H cess :(d) +
+
+
+ 'ExcisedutySHcess','value' => set_value('ExcisedutySHcess'),'id'=>'ExcisedutySHcess', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();'); + echo form_input($data); + ?> +
+
+
+
+ 'AfterExcisedutySHcess','value' => set_value('AfterExcisedutySHcess'),'id'=>'AfterExcisedutySHcess', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+
+
+ Custom ED_cess : (e) +
+
+
+ 'CustomEDcess','value' => set_value('CustomEDcess'),'id'=>'CustomEDcess', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();'); + echo form_input($data); + ?> +
+
+
+
+ 'AfterCustomEDcess','value' => set_value('AfterCustomEDcess'),'id'=>'AfterCustomEDcess', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+
+
+ Custom S & H cess : (f) +
+
+
+ 'CustomSHcess','value' => set_value('CustomSHcess'),'id'=>'CustomSHcess', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();'); + echo form_input($data); + ?> +
+
+
+
+ 'AfterCustomSHcess','value' => set_value('AfterCustomSHcess'),'id'=>'AfterCustomSHcess', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+
+
+
+
+ Additional Excise duty : (g) +
+
+
+ 'AdditionalExciseduty ','value' => set_value('AdditionalExciseduty'),'id'=>'AdditionalExciseduty', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();'); + echo form_input($data); + ?> +
+
+
+
+ 'AfterAdditionalExciseduty','value' => set_value('AfterAdditionalExciseduty'),'id'=>'AfterAdditionalExciseduty', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+
+
+ Gross duty payable +
+
+
+ 'Grossdutypayable ','value' => set_value('Grossdutypayable'),'id'=>'Grossdutypayable', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+
+
+ Available Modvat set-off on import : +
+
+
+ 'AvailableModvat','value' => set_value('AvailableModvat'),'id'=>'AvailableModvat', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> (b + c + d + g) +
+
-
-
+
+ +
+ Gross expenses due to custom duty: +
+
+
+ 'Grossexpenses','value' => set_value('Grossexpenses'),'id'=>'Grossexpenses', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ +
+
+
+
+
+
+ purchase rate [Basic] +
+
+
+ 'purchaserate','value' => set_value('purchaserate'),'id'=>'purchaserate', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ Quantity +
+ 'PurQuantity','value' => set_value('PurQuantity'),'id'=>'PurQuantity', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();'); + echo form_input($data); + ?> +
+
+ +
+
+ +
+ Custom Duty Expenses +
+
+
+ 'CustomDutyExpenses ','value' => set_value('CustomDutyExpenses'),'id'=>'CustomDutyExpenses', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();','readonly' => 'true'); + echo form_input($data); + ?> +
+
+ +
+
+
+ RMC Including Customers +
+
+
+ 'RMCIncludingCustomers','value' => set_value('RMCIncludingCustomers'),'id'=>'RMCIncludingCustomers', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();','readonly' => 'true'); + echo form_input($data); + ?> +
+
+ + +
+ +
+
+
+ 'txtTotalOrderValue','value' => set_value('txtTotalOrderValue'),'id'=>'txtTotalOrderValue', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ +
+ +
+ + +
+ + + + + + +
+ + +
+
+
- -
-
- 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); - ?> -
-
-
- Total Tax Amount: -
- 'txtToatlOrder','value' => set_value('txtToatlOrder'),'id'=>'txtToatlOrder', 'class' => 'form-control' ,'required' => 'true','readonly' => 'true'); - echo form_input($data); - ?> -
-
+
+
+
+ Additional Excise duty : (g)
+
+
+ 'EditAdditionalExciseduty ','value' => set_value('EditAdditionalExciseduty'),'id'=>'EditAdditionalExciseduty', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'EditRatechange();'); + echo form_input($data); + ?> +
+
+
+
+ 'EditAfterAdditionalExciseduty','value' => set_value('EditAfterAdditionalExciseduty'),'id'=>'EditAfterAdditionalExciseduty', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+
+
+ Gross duty payable +
+
+
+ 'EditGrossdutypayable ','value' => set_value('EditGrossdutypayable'),'id'=>'EditGrossdutypayable', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'EditRatechange();','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+
+
+ Available Modvat set-off on import : +
+
+
+ 'EditAvailableModvat','value' => set_value('EditAvailableModvat'),'id'=>'EditAvailableModvat', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> (b + c + d + g) +
-
-
+
+
-
- +
+ Gross expenses due to custom duty: +
+
+
+ 'EditGrossexpenses','value' => set_value('EditGrossexpenses'),'id'=>'EditGrossexpenses', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'EditRatechange();','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); - ?> -
+
+
+
+
+
+
+ purchase rate [Basic] +
+
+
+ 'Editpurchaserate','value' => set_value('Editpurchaserate'),'id'=>'Editpurchaserate', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'EditRatechange();','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ Quantity +
+ 'EditPurQuantity','value' => set_value('EditPurQuantity'),'id'=>'EditPurQuantity', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'EditRatechange();'); + echo form_input($data); + ?> +
+
-
- +
+
- 'txttotalhighseas','value' => set_value('txttotalhighseas'),'id'=>'txttotalhighseas', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); - echo form_input($data); - ?> -
+
+ Custom Duty Expenses +
+
+
+ 'EditCustomDutyExpenses ','value' => set_value('EditCustomDutyExpenses'),'id'=>'EditCustomDutyExpenses', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'EditRatechange();','readonly' => 'true'); + 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); - ?> -
+
+
+
+ RMC Including Customers +
+
+
+ 'EditRMCIncludingCustomers','value' => set_value('EditRMCIncludingCustomers'),'id'=>'EditRMCIncludingCustomers', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'EditRatechange();','readonly' => 'true'); + 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); - ?> -
- - - - - - -
- 'txtSpcialInstruction','value' => set_value('txtSpcialInstruction'),'id'=>'txtSpcialInstruction', 'class' => 'form-control','rows' => '10', 'cols' => '40' ); - echo form_textarea($data); - ?> -
- - - - -
- - -
- - - - - - - - - - -   Save -   Submit - +
+
+
+ 'EdittxtTotalOrderValue','value' => set_value('EdittxtTotalOrderValue'),'id'=>'EdittxtTotalOrderValue', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+
-
-
-
- - + - - - + + +if(capitalType1 == 0) +{ +capitalType='International'; +$('#DomesticNOT').modal('hide'); + +} +else +{ +capitalType='Domestic'; +$('#DomesticNOT').modal('hide'); +$('#currencyOpt').hide(); +$('#FromOnlineRate').hide(); +$('#hideExchangeRateOn').hide(); +$('#hideExchangeRate').hide(); + +$('#currencytype').val(''); +$('#hideModalExchange').hide(); +$('#hideModalExchangeEdit').hide(); +$('#ExchangeRtModal').val('1'); + + + + + + +} + +} + + + + - diff --git a/application/views/createPOfromRequistion.php b/application/views/createPOfromRequistion.php index 39210def..02daa3f5 100755 --- a/application/views/createPOfromRequistion.php +++ b/application/views/createPOfromRequistion.php @@ -84,7 +84,7 @@