-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
\ No newline at end of file
+ });
+
\ No newline at end of file
diff --git a/app/Views/alterpurchaseorder.php b/app/Views/alterpurchaseorder.php
index 3a4cd529..c6f6634b 100644
--- a/app/Views/alterpurchaseorder.php
+++ b/app/Views/alterpurchaseorder.php
@@ -173,40 +173,40 @@ if (!empty($INRSYMBOL)) {
$(function() {
- $("#PODate").datepicker({
- // minDate : 'now',
- // maxDate : 'now',
- dateFormat: 'dd-mm-yy',
- changeMonth: true,
- changeYear: true,
- yearRange: '-100:+0'
- });
- $("#Deliverydt").datepicker({
- minDate: 'now',
- dateFormat: 'dd-mm-yy',
- changeMonth: true,
- changeYear: true,
- yearRange: '0:+10'
- });
+ // $("#PODate").datepicker({
+ // // minDate : 'now',
+ // // maxDate : 'now',
+ // dateFormat: 'dd-mm-yy',
+ // changeMonth: true,
+ // changeYear: true,
+ // yearRange: '-100:+0'
+ // });
+ // $("#Deliverydt").datepicker({
+ // minDate: 'now',
+ // dateFormat: 'dd-mm-yy',
+ // changeMonth: true,
+ // changeYear: true,
+ // yearRange: '0:+10'
+ // });
- $("#Date1").datepicker({
- // minDate : 'now',
- dateFormat: 'dd-mm-yy',
- changeMonth: true,
- changeYear: true,
- yearRange: '0:+10'
- });
+ // $("#Date1").datepicker({
+ // // minDate : 'now',
+ // dateFormat: 'dd-mm-yy',
+ // changeMonth: true,
+ // changeYear: true,
+ // yearRange: '0:+10'
+ // });
- $("#MRC").datepicker({
- // minDate : 'now',
- dateFormat: 'dd-mm-yy',
- changeMonth: true,
- changeYear: true,
- yearRange: '0:+10'
- });
+ // $("#MRC").datepicker({
+ // // minDate : 'now',
+ // dateFormat: 'dd-mm-yy',
+ // changeMonth: true,
+ // changeYear: true,
+ // yearRange: '0:+10'
+ // });
var SelectedMaterialList = {
Mat: []
@@ -1911,10 +1911,11 @@ if (!empty($INRSYMBOL)) {
$("#EditRevenueMaterialCode").select2();
$("#MaterialCode").select2();
$("#ServiceMaterialCode").select2();
+ $("#emergency_itemcode").select2();
+
});
- $("#emergency_itemcode").select2();
@@ -2021,6 +2022,7 @@ if (!empty($INRSYMBOL)) {
.num {
text-align: right;
}
+<<<<<<< HEAD
.header-container {
display: flex;
@@ -2128,13 +2130,135 @@ if (!empty($INRSYMBOL)) {
-
-
-
-
- -
Report - Pending Purchase Order
+ .dataTables_filter {
+ width: 50%;
+ float: right;
+ text-align: right;
+ }
-
-
Select Tax Range*
+======= + + .header-container { + display: flex; + justify-content: space-between; + align-items: center; + padding: 25px; + } + + .header-container h2 { + flex: 1; + text-align: center; + margin: 0; + } + + .centered { + display: flex; + /* justify-content: center; */ + align-items: center; + height: 10vh; + } + + .centered label, + .centered input { + margin: 0 5px; + } + + .mandatory { + color: red; + text-align: right; + background-color: white; + } + + + + +
+======= + + .header-container { + display: flex; + justify-content: space-between; + align-items: center; + padding: 25px; + } + + .header-container h2 { + flex: 1; + text-align: center; + margin: 0; + } + + .centered { + display: flex; + /* justify-content: center; */ + align-items: center; + height: 10vh; + } + + .centered label, + .centered input { + margin: 0 5px; + } + + .mandatory { + color: red; + text-align: right; + background-color: white; + } + + + + +
+
+
+
+
+
+ 'form-label-left CreatealterPO ', 'name' => 'CreatealterPO', 'id' => 'CreatealterPO');
+
+ echo form_open(base_url() . '/purchaseorder/addalterPO/', $attributes); ?>
+
+
+
+
+
+ Emergency Purchase Order
+
+
+
+
+
+
+
+
+ 'Select Request Type');
+
+ if (!empty($RequestType)) {
+
+ foreach ($RequestType as $RID) :
+ if ($RID->ConfigValue == "SERVICE" || $RID->ConfigValue == "REVENUE") {
+ $options[$RID->ConfigValue] = $RID->ConfigValue;
+ }
+ endforeach;
+ }
+
+ echo form_dropdown('RequestType', $options, set_value('ConfigValue'), 'id="purpose"', 'class = "form-control select2"', 'required="true"');
+
+ ?>
+
+
+
+
+
+
+ 'POType', 'value' => set_value('POType', $ReqType), 'id' => 'POType', 'class' => 'form-control', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'Select Supplier');
+ //print_r( $options);
+
+ if (!empty($Suplist)) {
+ foreach ($Suplist as $SID) :
+ $options[$SID->SupplierID] = $SID->SupplierID . ' - ' . $SID->SupplierName;
+ endforeach;
+ }
+
+ echo form_dropdown('drpSupplier', $options, set_value('drpSupplier'), 'id="drpSupplier"', 'required="true"', 'class="form-control select2"');
+
+ ?>
+
+
+
+
+
+ 'SupAddress', 'value' => set_value('SupAddress'), 'id' => 'SupAddress', 'class' => 'form-control', 'readonly' => 'true', 'rows' => '3', 'cols' => '40');
+ echo Form_textarea($data);
+ ?>
+
+
+
+ Select Tax Range*
+>>>>>>> b5e10f55a3448c644114ed6e55752b30684440f3
+<<<<<<< HEAD
+>>>>>>> b5e10f55a3448c644114ed6e55752b30684440f3
"Range", "id" => "Local", "value" => "0", 'checked' => set_radio('Range', '0', TRUE))); ?>
"Range", "id" => "Inter_state", "value" => "1", 'checked' => set_radio('Range', '1', FALSE))); ?>
+=======
+
+
+>>>>>>> b5e10f55a3448c644114ed6e55752b30684440f3
'Selected Work Status');
@@ -2145,15 +2269,25 @@ if (!empty($INRSYMBOL)) {
echo form_dropdown('workstatus', $options4, set_value('workstatus'), 'id="workstatusValue"', 'required="true"', 'class="form-control select2');
?>
+<<<<<<< HEAD
Select Delivery By*
+======= +
+======= +
+ Select Delivery By*
+>>>>>>> b5e10f55a3448c644114ed6e55752b30684440f3
+<<<<<<< HEAD
+>>>>>>> b5e10f55a3448c644114ed6e55752b30684440f3
"DateRange", "id" => "Date", "value" => "0", 'checked' => set_radio('DateRange', '0', true))); ?>
"DateRange", "id" => "Schedule", "value" => "1", 'checked' => set_radio('DateRange', '1', false))); ?>
+=======
+
+
+>>>>>>> b5e10f55a3448c644114ed6e55752b30684440f3
'Scheduleby', 'value' => set_value('Scheduleby'), 'id' => 'Scheduleby', 'class' => 'form-control', 'required' => 'true', 'rows' => '3', 'cols' => '40', 'maxlength' => '110');
@@ -2169,9 +2303,15 @@ if (!empty($INRSYMBOL)) {
?>
+<<<<<<< HEAD
+=======
+
+<<<<<<< HEAD
+
+
+>>>>>>> b5e10f55a3448c644114ed6e55752b30684440f3
'DeliveryAddr', 'value' => set_value('DeliveryAddr', $CompanyAddress), 'id' => 'DeliveryAddr', 'class' => 'form-control', 'required' => 'true', 'rows' => '3', 'cols' => '40');
echo Form_textarea($data);
@@ -2180,6 +2320,7 @@ if (!empty($INRSYMBOL)) {
@@ -2201,13 +2342,43 @@ if (!empty($INRSYMBOL)) {
+=======
+
+
+
+<<<<<<< HEAD
+
+
+
+ 'txtcurrencytype', 'value' => set_value('txtcurrencytype'), 'id' => 'txtcurrencytype', 'class' => 'form-control', 'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'txtexachangerate', 'value' => set_value('txtexachangerate'), 'id' => 'txtexachangerate', 'class' => 'form-control', 'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+>>>>>>> b5e10f55a3448c644114ed6e55752b30684440f3
To check Today's Foreign Exchange value
+=======
+
+
+
+>>>>>>> b5e10f55a3448c644114ed6e55752b30684440f3
+<<<<<<< HEAD
'Select Department Name');
@@ -2227,30 +2398,68 @@ if (!empty($INRSYMBOL)) {
'Cost Center Name');
+=======
+
+=======
+
+<<<<<<< HEAD
+
+
+
+ 'Cost Center Name');
+
if (!empty($CostList)) {
foreach ($CostList as $cost) :
+>>>>>>> b5e10f55a3448c644114ed6e55752b30684440f3
+
+ if (!empty($CostList)) {
+
+<<<<<<< HEAD
+ foreach ($CostList as $cost) :
$options2[$cost['CostCenterCode']] = $cost['CostCenterCode'] . ' ' . ' - ' . ' ' . $cost['CostCenterName'];
endforeach;
}
+=======
+ $options2[$cost['CostCenterCode']] = $cost['CostCenterCode'] . ' ' . ' - ' . ' ' . $cost['CostCenterName'];
+
+ endforeach;
+ }
echo form_dropdown('CostCenterName', $options2, set_value('CostCenterName'), 'id="CostCenterName"', 'class="form-control select2"', 'required="true"', 'multiple="true"');
?>
+
+
+<<<<<<< HEAD
+
+ 'AvalBuget', 'value' => set_value('AvalBuget'), 'id' => 'AvalBuget', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_hidden($data);
+ // echo form_input($data);
+>>>>>>> b5e10f55a3448c644114ed6e55752b30684440f3
+
+ echo form_dropdown('CostCenterName', $options2, set_value('CostCenterName'), 'id="CostCenterName"', 'class="form-control select2"', 'required="true"', 'multiple="true"');
+
+ ?>
+
+
+=======
+
+
+>>>>>>> b5e10f55a3448c644114ed6e55752b30684440f3
'AvalBuget', 'value' => set_value('AvalBuget'), 'id' => 'AvalBuget', 'class' => 'form-control num', 'readonly' => 'true');
@@ -2303,6 +2512,7 @@ if (!empty($INRSYMBOL)) {
@@ -2343,6 +2553,68 @@ if (!empty($INRSYMBOL)) {
+=======
+
+
+
+
+
+
+ 'PODate', 'value' => set_value('PODate', $CurrentDate), 'id' => 'PODate', 'class' => 'form-control', 'required' => 'true', 'onkeypress' => 'return false;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'emergmodeofshipment', 'value' => set_value('emergmodeofshipment'), 'id' => 'emergmodeofshipment', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+ 'emergsupplierreference', 'value' => set_value('emergsupplierreference'), 'id' => 'emergsupplierreference', 'class' => 'form-control', 'maxlength' => '40');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'emergsupplierofferno', 'value' => set_value('emergsupplierofferno'), 'id' => 'emergsupplierofferno', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+ 'emergotherreference', 'value' => set_value('emergotherreference'), 'id' => 'emergotherreference', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+<<<<<<< HEAD
+ 'Select');
+
+ if (!empty($PoTypeOptions)) {
+ foreach ($PoTypeOptions as $POpt) :
+>>>>>>> b5e10f55a3448c644114ed6e55752b30684440f3
+=======
+
+
+
+
+
+
+
+>>>>>>> b5e10f55a3448c644114ed6e55752b30684440f3
+
@@ -2418,17 +2697,55 @@ if (!empty($INRSYMBOL)) {
echo form_input($data);
?>
+<<<<<<< HEAD
+=======
+
+=======
+
+
+
+
+>>>>>>> b5e10f55a3448c644114ed6e55752b30684440f3
'Select', '1' => 'REVENUE', '2' => 'CAPITAL');
echo form_dropdown('BudgetType', $optionsnew, set_value('BudgetType'), 'id="BudgetType"', 'required="true"', 'class="form-control select2');
?>
+<<<<<<< HEAD
+
+
+
+
+
+ IS THIS OPEN ORDER FORMAT
+
+
+ Select Line Item
+
+
+
+
+
+
+
+
@@ -2755,97 +3073,108 @@ if (!empty($INRSYMBOL)) {
+
+
+
+
+<<<<<<< HEAD
+
+
Packing Calculation On
+>>>>>>> b5e10f55a3448c644114ed6e55752b30684440f3
@@ -2655,6 +2972,7 @@ if (!empty($INRSYMBOL)) {
-
Delivery Challan /Inv No
-
-
- Delivery Challan /Inv Date
-
- 'Date1', 'value' => set_value('Date1', $CurrentDate), 'id' => 'Date1', 'class' => 'form-control num', 'required' => 'true');
- echo form_input($data); ?>
-
- Material Received Date
- 'MRC', 'value' => set_value('MRC', $CurrentDate), 'id' => 'MRC', 'class' => 'form-control num', 'required' => 'true');
- echo form_input($data); ?>
+
Delivery Challan /Inv No
+
+
+ Delivery Challan /Inv Date
+
+ 'Date1', 'value' => set_value('Date1', $CurrentDate), 'id' => 'Date1', 'class' => 'form-control num', 'required' => 'true');
+ echo form_input($data); ?>
+
+ Material Received Date
+ 'MRC', 'value' => set_value('MRC', $CurrentDate), 'id' => 'MRC', 'class' => 'form-control num', 'required' => 'true');
+ echo form_input($data); ?>
-
-
+
+
+
+
+
+
+
+
+ Vehicle No
+
+
+ Courier No
+
-
-
-
-
-
-
-
-
-
Vehicle No
-
+
Is Quality Check Required
+
-
+
- Courier No
-
+
+<<<<<<< HEAD
+
-
- Is Quality Check Required
-
-
-
-
-
-
-
-
+=======
+
+
-->
+
+>>>>>>> b5e10f55a3448c644114ed6e55752b30684440f3
-
-
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
+<<<<<<< HEAD
+=======
+
+>>>>>>> b5e10f55a3448c644114ed6e55752b30684440f3
-
+
+<<<<<<< HEAD
@@ -2882,6 +3225,45 @@ if (!empty($INRSYMBOL)) {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SERVICE Bill Details
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Add Import Purchase Order Item
+
+
+
+
+
+
+
+
+
+ 'Req No');
+ echo form_dropdown('ImportMaterialCode', $options, set_value('ImportMaterialCode'), 'id="ImportMaterialCode"', 'class="form-control required"');
+
+ ?>
+
+
+
+
+
+ 'ImportDepartmentName', 'value' => set_value('ImportDepartmentName'), 'id' => 'ImportDepartmentName', 'class' => 'form-control', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'Select Cost Center');
+
+ echo form_dropdown('ImportCostCenter', $options, set_value('ImportCostCenter'), 'id="ImportCostCenter"', 'class="form-control"');
+
+ ?>
+
+
+
+
+
+ 'importbudAmt', 'value' => set_value('importbudAmt'), 'id' => 'importbudAmt', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_hidden($data);
+ ?>
+
+
+
+
+
+
+
+
+ 'Item Code');
+
+ if (!empty($MaterialList)) {
+ foreach ($MaterialList as $SID) :
+
+
+ $options[$SID->MaterialCode] = $SID->MaterialCode . ' ' . ' - ' . ' ' . $SID->MaterialName;
+
+ endforeach;
+ }
+
+ echo form_dropdown('ImportMaterialCode', $options, set_value('ImportMaterialCode'), 'id="ImportMaterialCode"', 'class="form-control"');
+
+ ?>
+
+
+
+
+
+ 'ImportItemName', 'value' => set_value('ImportItemName'), 'id' => 'ImportItemName', 'class' => 'form-control', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'ImUOM', 'value' => set_value('ImUOM'), 'id' => 'ImUOM', 'class' => 'form-control', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'imQuantity', 'value' => set_value('imQuantity'), 'id' => 'imQuantity', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'imRate', 'value' => set_value('imRate'), 'id' => 'imRate', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'imTotalAmount', 'value' => set_value('imTotalAmount'), 'id' => 'imTotalAmount', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+>>>>>>> b5e10f55a3448c644114ed6e55752b30684440f3
-
-
+
+
\ No newline at end of file
diff --git a/app/Views/createPOfromRequistion.php b/app/Views/createPOfromRequistion.php
index b467baf5..0bfda90c 100644
--- a/app/Views/createPOfromRequistion.php
+++ b/app/Views/createPOfromRequistion.php
@@ -1,14 +1,16 @@
+ .Date-filter-form {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ /* Adjust the gap as needed */
+ }
+
+ .Date-filter-form input,
+ .Date-filter-form button {
+ padding: 5px;
+ font-size: 14px;
+ }
+
+ .Date-filter-form button {
+ background-color: #007bff;
+ color: white;
+ border: none;
+ cursor: pointer;
+ }
+
+ .Date-filter-form button:hover {
+ background-color: #0056b3;
+ }
+
+ .icon-button {
+ background: none;
+ border: none;
+ cursor: pointer;
+ color: #007bff;
+ font-size: 18px;
+ }
+
+ .icon-button:hover {
+ color: #0056b3;
+ }
+
+
+ Basic Price in US $ per Ton :
+
+
+
+
+
+ 'imBasicPrice', 'value' => set_value('imBasicPrice'), 'id' => 'imBasicPrice', 'class' => 'form-control num', 'placeholder ' => 'basic price', 'onkeypress' => 'return isNumberKey(event);');
+ echo form_input($data);
+ ?>
+
+
+
+ Exchange Rate :
+
+
+
+
+
+ 'ExchangeRt', 'value' => set_value('ExchangeRt'), 'id' => 'ExchangeRt', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);');
+ echo form_input($data);
+ ?>
+
+
+
+
+ Basic value :
+
+
+
+
+
+
+
+ 'INRBasicvalue', 'value' => set_value('INRBasicvalue'), 'id' => 'INRBasicvalue', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
++
+
+
+
+
+ Basic Price:
+
+
+
+
+ 'BasicPriceTax', 'value' => set_value('BasicPriceTax'), 'id' => 'BasicPriceTax', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);');
+ echo form_input($data);
+ ?>
+
+
+
+
+ 'AfterBasicPriceTax', 'value' => set_value('AfterBasicPriceTax'), 'id' => 'AfterBasicPriceTax', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+ Landing charge
+
+
+
+
+ 'LandingCharge', 'value' => set_value('LandingCharge'), 'id' => 'LandingCharge', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);');
+ echo form_input($data);
+ ?>
+
+
+
+
+ 'AfterLandingCharge', 'value' => set_value('AfterLandingCharge'), 'id' => 'AfterLandingCharge', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+ High seas sales charge
+
+
+
+
+ 'Highseas ', 'value' => set_value('Highseas'), 'id' => 'Highseas', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);');
+ echo form_input($data);
+ ?>
+
+
+
+
+ 'AfterHighseas', 'value' => set_value('AfterHighseas'), 'id' => 'AfterHighseas', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+ Custom duty : (a)
+
+
+
+
+ 'Customduty', 'value' => set_value('Customduty'), 'id' => 'Customduty', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);');
+ echo form_input($data);
+ ?>
+
+
+
+
+ 'AfterCustomduty', 'value' => set_value('AfterCustomduty'), 'id' => 'AfterCustomduty', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+ Excise duty : (b)
+
+
+
+
+ 'ExcisedutyTax', 'value' => set_value('ExcisedutyTax'), 'id' => 'ExcisedutyTax', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);');
+ echo form_input($data);
+ ?>
+
+
+
+
+ 'AfterExcisedutyTax', 'value' => set_value('AfterExcisedutyTax'), 'id' => 'AfterExcisedutyTax', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+ Excise duty ED_cess : (C)
+
+
+
+
+ 'ExcisedutyEDcess', 'value' => set_value('ExcisedutyEDcess'), 'id' => 'ExcisedutyEDcess', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);');
+ echo form_input($data);
+ ?>
+
+
+
+
+ 'AfterExcisedutyEDcess', 'value' => set_value('AfterExcisedutyEDcess'), 'id' => 'AfterExcisedutyEDcess', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+ Excise duty S & H cess :(d)
+
+
+
+
+ 'ExcisedutySHcess', 'value' => set_value('ExcisedutySHcess'), 'id' => 'ExcisedutySHcess', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);');
+ echo form_input($data);
+ ?>
+
+
+
+
+ 'AfterExcisedutySHcess', 'value' => set_value('AfterExcisedutySHcess'), 'id' => 'AfterExcisedutySHcess', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+ Custom ED_cess : (e)
+
+
+
+
+ 'CustomEDcess', 'value' => set_value('CustomEDcess'), 'id' => 'CustomEDcess', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);');
+ echo form_input($data);
+ ?>
+
+
+
+
+ 'AfterCustomEDcess', 'value' => set_value('AfterCustomEDcess'), 'id' => 'AfterCustomEDcess', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+ Custom S & H cess : (f)
+
+
+
+
+ 'CustomSHcess', 'value' => set_value('CustomSHcess'), 'id' => 'CustomSHcess', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);');
+ echo form_input($data);
+ ?>
+
+
+
+
+ 'AfterCustomSHcess', 'value' => set_value('AfterCustomSHcess'), 'id' => 'AfterCustomSHcess', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+<<<<<<< HEAD
+=======
+
+
+
+ Additional Excise duty : (g)
+
+
+
+
+ 'AdditionalExciseduty ', 'value' => set_value('AdditionalExciseduty'), 'id' => 'AdditionalExciseduty', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);');
+ echo form_input($data);
+ ?>
+
+
+
+
+ 'AfterAdditionalExciseduty', 'value' => set_value('AfterAdditionalExciseduty'), 'id' => 'AfterAdditionalExciseduty', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+ Gross duty payable
+
+
+
+
+ 'Grossdutypayable ', 'value' => set_value('Grossdutypayable'), 'id' => 'Grossdutypayable', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);');
+ echo form_input($data);
+ ?>
+
+
+
+
+ Available Modvat set-off on import :
+
+
+
+
+
+ 'AvailableModvat', 'value' => set_value('AvailableModvat'), 'id' => 'AvailableModvat', 'class' => 'form-control num', '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 num', 'onkeypress' => 'return isNumberKey(event);');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ +
+
+
+ purchase rate [Basic]
+
+
+
+
+ 'purchaserate', 'value' => set_value('purchaserate'), 'id' => 'purchaserate', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);');
+ echo form_input($data);
+ ?>
+
+
+ Quantity
+
+
+
+ 'PurQuantity', 'value' => set_value('PurQuantity'), 'id' => 'PurQuantity', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ Custom Duty Expenses
+
+
+
+
+
+ 'CustomDutyExpenses ', 'value' => set_value('CustomDutyExpenses'), 'id' => 'CustomDutyExpenses', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);');
+ echo form_input($data);
+ ?>
+
+
+
@@ -5298,7 +6285,15 @@ if (!empty($INRSYMBOL)) {
+ RMC Including Customers
+
+
+
+>>>>>>> b5e10f55a3448c644114ed6e55752b30684440f3
+ 'RMCIncludingCustomers', 'value' => set_value('RMCIncludingCustomers'), 'id' => 'RMCIncludingCustomers', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);');
+ echo form_input($data);
+ ?>
+
+
-
+
'form-label-left CreatePO ', 'name' => 'CreatePO', 'id' => 'CreatePO', 'method' => 'post', 'role' => 'form');
echo form_open(base_url() . 'purchaseOrder', $attributes); ?>
-
-
-
+
+
+
+
+
+
+
+
-
-
\ No newline at end of file
diff --git a/app/Views/employeeListing.php b/app/Views/employeeListing.php
index 5ce3392d..b57abb59 100644
--- a/app/Views/employeeListing.php
+++ b/app/Views/employeeListing.php
@@ -63,12 +63,18 @@
color: #0056b3;
}
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Requisition Details -
+
+
+
+
+
+
+
+
+ 'ReqType', 'value' => set_value('ReqType'), 'id' => 'ReqType', 'class' => 'form-control', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'ReqBy', 'value' => set_value('ReqBy'), 'id' => 'ReqBy', 'class' => 'form-control', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'Desigination', 'value' => set_value('Desigination'), 'id' => 'Desigination', 'class' => 'form-control', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+ 'RequistionDate', 'value' => set_value('RequistionDate'), 'id' => 'RequistionDate', 'class' => 'form-control', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'CostCenter', 'value' => set_value('CostCenter'), 'id' => 'CostCenter', 'class' => 'form-control', 'readonly' => 'true');
+ echo form_input($data); ?>
+
+
+
+
+
+
+ 'AvlBudgetAmount', 'value' => set_value('AvlBudgetAmount'), 'id' => 'AvlBudgetAmount', 'class' => 'form-control', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+ | SNo | +Item Code | +Item Description | +UOM | +Requested Quantity | +Ordered Quantity | +Status | +
|---|
+
+
+ Ok
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Do you want to create an Import PO for this Requisition?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Cancel
+
+
+
-
+
-
-
-
- Create Purchase Order from Requistion
-
+
+
+
+ Create Purchase Order from Requistion
+
- getFlashdata('error');
- if ($error) {
- ?>
-
getFlashdata('listErrors');
if ($listErrors) { ?>
-
-
- getFlashdata('error'); ?>
-
+ getFlashdata('error');
+ if ($error) {
+ ?>
+
+
+ getFlashdata('error'); ?>
+
getFlashdata('success');
if ($success) {
?>
-
-
+
+
getFlashdata('success'); ?>
-
+
listErrors('
', '
');
- ?>
+ ?>
-
+
+
-
-
+
+
-
+
+
getFlashdata('listErrors'); ?>
+
-
-
-
-
-
-
-
-
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Requisition Details -
-
-
-
-
-
-
-
-
- 'ReqType', 'value' => set_value('ReqType'), 'id' => 'ReqType', 'class' => 'form-control', 'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
-
-
-
- 'ReqBy', 'value' => set_value('ReqBy'), 'id' => 'ReqBy', 'class' => 'form-control', 'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
-
-
-
- 'Desigination', 'value' => set_value('Desigination'), 'id' => 'Desigination', 'class' => 'form-control', 'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
-
-
-
-
-
- 'RequistionDate', 'value' => set_value('RequistionDate'), 'id' => 'RequistionDate', 'class' => 'form-control', 'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
-
-
-
- 'CostCenter', 'value' => set_value('CostCenter'), 'id' => 'CostCenter', 'class' => 'form-control', 'readonly' => 'true');
- echo form_input($data); ?>
-
-
-
-
-
-
- 'AvlBudgetAmount', 'value' => set_value('AvlBudgetAmount'), 'id' => 'AvlBudgetAmount', 'class' => 'form-control', 'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
-
-
-
-
- | SNo | -Item Code | -Item Description | -UOM | -Requested Quantity | -Ordered Quantity | -Status | -
|---|
-
-
- Ok
-
- | Requistion Number | Requistion Type | Requested By | -Tot. No. Of Line Items | -Po Created Line Items | -Partial PO Created Line Items | +Tot Line Items | +Po Line Items | +Partial PO Line Items | New Line Items | Status | Department | @@ -305,85 +357,179 @@ span.highlight { $index = 1; foreach ($ReqList as $record) { ?> -
|---|---|---|---|---|---|---|---|---|---|---|---|
| - | - ReqDate); - $RequestedDate = $dt->format('d-m-Y'); - echo $RequestedDate; - ?> - | -ReqNo; ?> | -ReqType; ?> | -FirstName; ?> | -TotalNoofLineItems; ?> | -PolineItems; ?> | -PartilallyLineItems; ?> | -newLineItem; ?> | -StatusName; ?> | -DepartmentName; ?> | -Designation; ?> | -
| + | + ReqDate); + $RequestedDate = $dt->format('d-m-Y'); + echo $RequestedDate; + ?> + | +ReqNo; ?> | +ReqType; ?> | +FirstName; ?> | +TotalNoofLineItems; ?> | +PolineItems; ?> | +PartilallyLineItems; ?> | +newLineItem; ?> | +StatusName; ?> | +DepartmentName; ?> | +Designation; ?> | +
-
+
-
-
-
-
-
-
-
-
+
+
+
+
+
-
+ getFlashdata('error');
if ($error) {
@@ -81,50 +87,39 @@
echo show_alert($type, $success);
}
?>
-
-
-
-
- listErrors('
- ', '
');
- ?>
-
-
-
-
- Employee Details
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
+
-
-
+
+
+
+
| Created Date | -Emp ID | +Emp ID | Employee Name | Contact Number | Designation | @@ -155,18 +150,18 @@ } } ?> +
|---|
- Employee Monthly Payment Listing
+
-
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Employee Monthly Payment Listing
+
+
+
+
+
+
+
+
+
-
-
+
+
@@ -78,81 +95,72 @@ $('html').bind('keypress', function(e) {
- "Jan", "2" => "Feb","3" => "Mar","4" => "Apr","5" => "May","6" => "June","7"=> "July","8"=> "Aug","9" => "Sep","10"=> "Oct","11" => "Nov","12"=>"Dec");
-
- $currentmontharray = array(array($month."-".$year => $monthsoptions[$month]."-".$year));
- // For find out Next and previous month and year from current year
- $aftersix = array();
- for ($i = 0; $i <3;$i++){
-
- $month++;
- if($month > 12)
- {
- $month = 1;
- $year = $year +1;
- }
-
- $aftersix[]=array($month."-".$year => $monthsoptions[$month]."-".$year);
-
- }
-
- $year = date("Y");
- $month = date("m");
-
- $beforesix = array();
- for ($i = 3; $i >0;$i--){
-
- $month--;
- if($month < 1 )
- {
- $month = 12;
- $year = $year - 1;
- }
-
- $beforesix[]=array($month."-".$year => $monthsoptions[$month]."-".$year);
-
- }
-
- $beforesix = array_reverse($beforesix);
-
-
- $options = array_merge($options,$beforesix);
- //echo count($options);
-
- $options = array_merge($options,$currentmontharray);
- $options = array_merge($options,$aftersix);
-
- $ot = array();
- foreach($options as $o)
- {
-
- foreach($o as $key => $value)
- {
-
- $ot[$key] = $value;
-
- }
-
- }
- ?>
+ //echo $current;
+ $month = date("m");
+ if ($month < 10) {
+ $month = substr($month, 1);
+ }
+ $currentselection = $month . "-" . $year;
+ $options = array();
+ $monthsoptions = array("1" => "Jan", "2" => "Feb", "3" => "Mar", "4" => "Apr", "5" => "May", "6" => "June", "7" => "July", "8" => "Aug", "9" => "Sep", "10" => "Oct", "11" => "Nov", "12" => "Dec");
+
+ $currentmontharray = array(array($month . "-" . $year => $monthsoptions[$month] . "-" . $year));
+ // For find out Next and previous month and year from current year
+ $aftersix = array();
+ for ($i = 0; $i < 3; $i++) {
+
+ $month++;
+ if ($month > 12) {
+ $month = 1;
+ $year = $year + 1;
+ }
+
+ $aftersix[] = array($month . "-" . $year => $monthsoptions[$month] . "-" . $year);
+ }
+
+ $year = date("Y");
+ $month = date("m");
+
+ $beforesix = array();
+ for ($i = 3; $i > 0; $i--) {
+
+ $month--;
+ if ($month < 1) {
+ $month = 12;
+ $year = $year - 1;
+ }
+
+ $beforesix[] = array($month . "-" . $year => $monthsoptions[$month] . "-" . $year);
+ }
+
+ $beforesix = array_reverse($beforesix);
+
+
+ $options = array_merge($options, $beforesix);
+ //echo count($options);
+
+ $options = array_merge($options, $currentmontharray);
+ $options = array_merge($options, $aftersix);
+
+ $ot = array();
+ foreach ($options as $o) {
+
+ foreach ($o as $key => $value) {
+
+ $ot[$key] = $value;
+ }
+ }
+ ?>
-
-
+
-
+
@@ -202,98 +210,135 @@ $('html').bind('keypress', function(e) {
$record)
- {
- $index++;
- if(in_array($record->EmpID,$testarray)) { $index--; }else{ array_push($testarray,$record->EmpID);
- ?>
+ if (!empty($sample)) {
-
-
-
- EmpID ; ?>
- FirstName; ?>
-
- DateofJoining);
- $newDateFormat = $date->format('d-m-Y');
- echo $newDateFormat;
- ?>
-
- Designation; ?>
- NoofDays; ?>
- Key)){echo "contenteditable='false';"; } ?>
- Key)){?> title="Payslip Calculated"
- style="text-align:right;color:blue;"
- style="text-align:right;" >
- Days_worked)){echo $record->Days_worked+$record->sunday_count;}else{echo "0.00";}?>
-
- Key)){echo "contenteditable='false';"; } ?>
- Key)){?> title="Payslip Calculated"
- style="text-align:right;color:blue;"
- style="text-align:right;" >
- LOP_Days)){echo $record->LOP_Days;}else{echo "0.00";}?>
-
- Key)){echo "contenteditable='false';"; } ?>
- Key)){?> title="Payslip Calculated"
- style="text-align:right;color:blue;"
- style="text-align:right;" >
- Paid_leave)){echo number_format($record->Paid_leave,2,'.','');}else { echo number_format(0.00,2,'.','');} ?>
-
- Key)){echo "contenteditable='false';"; } ?>
- Key)){?> title="Payslip Calculated"
- style="text-align:right;color:blue;"
- style="text-align:right;" >
- OT_Hrs_Worked)){echo $record->OT_Hrs_Worked;}else { echo number_format(0.00,2,'.','');} ?>
-
- TotalSalary; ?>
-
- TotalSalary / $record->NoofDays; echo number_format($perDaySalary, 2); ?>
-
-
- Days_worked+$record->sunday_count); echo number_format($workedSalary, 2); ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ $index = 0;
+ $i = 0;
+ foreach ($sample as $i => $record) {
+ $index++;
+ if (in_array($record->EmpID, $testarray)) {
+ $index--;
+ } else {
+ array_push($testarray, $record->EmpID);
+ ?>
+
+
+
+
+ EmpID; ?>
+ FirstName; ?>
+
+ DateofJoining);
+ $newDateFormat = $date->format('d-m-Y');
+ echo $newDateFormat;
+ ?>
+
+ Designation; ?>
+ NoofDays; ?>
+ Key)) {
+ echo "contenteditable='false';";
+ } ?>
+ Key)) { ?> title="Payslip Calculated"
+ style="text-align:right;color:blue;"
+ style="text-align:right;" >
+ Days_worked)) {
+ echo $record->Days_worked + $record->sunday_count;
+ } else {
+ echo "0.00";
+ } ?>
+
+ Key)) {
+ echo "contenteditable='false';";
+ } ?>
+ Key)) { ?> title="Payslip Calculated"
+ style="text-align:right;color:blue;"
+ style="text-align:right;" >
+ LOP_Days)) {
+ echo $record->LOP_Days;
+ } else {
+ echo "0.00";
+ } ?>
+
+ Key)) {
+ echo "contenteditable='false';";
+ } ?>
+ Key)) { ?> title="Payslip Calculated"
+ style="text-align:right;color:blue;"
+ style="text-align:right;" >
+ Paid_leave)) {
+ echo number_format($record->Paid_leave, 2, '.', '');
+ } else {
+ echo number_format(0.00, 2, '.', '');
+ } ?>
+
+ Key)) {
+ echo "contenteditable='false';";
+ } ?>
+ Key)) { ?> title="Payslip Calculated"
+ style="text-align:right;color:blue;"
+ style="text-align:right;" >
+ OT_Hrs_Worked)) {
+ echo $record->OT_Hrs_Worked;
+ } else {
+ echo number_format(0.00, 2, '.', '');
+ } ?>
+
+
+ TotalSalary; ?>
+
+ TotalSalary / $record->NoofDays;
+ echo number_format($perDaySalary, 2); ?>
+
+
+ Days_worked + $record->sunday_count);
+ echo number_format($workedSalary, 2); ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- Key)){echo "contenteditable='false';"; } ?>
- Key)){?> title="Payslip Calculated"
- style="text-align:right;color:blue;"
- style="text-align:right;" >
- Monthly_Due)){echo $record->Monthly_Due; $totalmonthloan []=$record->Monthly_Due;}else { echo number_format(0.00,2,'.','');} ?>
-
+ Key)) {
+ echo "contenteditable='false';";
+ } ?>
+ Key)) { ?> title="Payslip Calculated"
+ style="text-align:right;color:blue;"
+ style="text-align:right;" >
+ Monthly_Due)) {
+ echo $record->Monthly_Due;
+ $totalmonthloan[] = $record->Monthly_Due;
+ } else {
+ echo number_format(0.00, 2, '.', '');
+ } ?>
+
@@ -304,41 +349,59 @@ $('html').bind('keypress', function(e) {
-
-
+
+
- Key)){echo "contenteditable='true';"; } ?>
- Key)){?> title="Payslip Calculated"
- style="text-align:right;color:blue;"
- style="text-align:right;" >
-
- Other_Deductions)){echo $record->Other_Deductions;$totalotherDet [] = $record->Other_Deductions;}else{ echo number_format(0.00,2,'.','');} ?>
-
+ Key)) {
+ echo "contenteditable='true';";
+ } ?>
+ Key)) { ?> title="Payslip Calculated"
+ style="text-align:right;color:blue;"
+ style="text-align:right;" >
-
- Key)){echo "contenteditable='true';"; } ?>
- Key)){?> title="Payslip Calculated"
- style="text-align:right;color:blue;"
- style="text-align:right;" >
- Festival_Bonus)){echo $record->Festival_Bonus;$totalfestival [] = $record->Festival_Bonus;}else{ echo number_format(0.00,2,'.','');;} ?>
-
+ Other_Deductions)) {
+ echo $record->Other_Deductions;
+ $totalotherDet[] = $record->Other_Deductions;
+ } else {
+ echo number_format(0.00, 2, '.', '');
+ } ?>
+
-
+
+ Key)) {
+ echo "contenteditable='true';";
+ } ?>
+ Key)) { ?> title="Payslip Calculated"
+ style="text-align:right;color:blue;"
+ style="text-align:right;" >
+ Festival_Bonus)) {
+ echo $record->Festival_Bonus;
+ $totalfestival[] = $record->Festival_Bonus;
+ } else {
+ echo number_format(0.00, 2, '.', '');;
+ } ?>
+
- Key)){echo "contenteditable='false';"; } ?>
- Key)){?> title="Payslip Calculated"
- style="text-align:right;color:blue;" >
- Estimate)){
- echo $record->Estimate; $estTotal [] = $record->Estimate;
- }else {
- echo $empSalary[$i]; $estTotal [] = $empSalary[$i];
- }
- ?>
-
+
+
+ Key)) {
+ echo "contenteditable='false';";
+ } ?>
+ Key)) { ?> title="Payslip Calculated"
+ style="text-align:right;color:blue;" >
+ Estimate)) {
+ echo $record->Estimate;
+ $estTotal[] = $record->Estimate;
+ } else {
+ echo $empSalary[$i];
+ $estTotal[] = $empSalary[$i];
+ }
+ ?>
+
@@ -347,52 +410,51 @@ $('html').bind('keypress', function(e) {
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
+
-
+
+
+ }
+ }
+ }
+
+
+ ?>
@@ -403,14 +465,14 @@ $('html').bind('keypress', function(e) {
Total
-
+
-
+
-
-
+
+
@@ -418,7 +480,7 @@ $('html').bind('keypress', function(e) {
-
-
+
@@ -428,479 +490,491 @@ $('html').bind('keypress', function(e) {
-->