service purchase order edited
This commit is contained in:
parent
bae10d4af7
commit
6bc9533242
@ -1441,7 +1441,7 @@ if (!empty($getlogpodtl)) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group col-md-12">
|
<div class="form-group col-md-12 px-4">
|
||||||
|
|
||||||
<div align="left">
|
<div align="left">
|
||||||
<label>Select File</label>
|
<label>Select File</label>
|
||||||
@ -1485,6 +1485,8 @@ if (!empty($getlogpodtl)) {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-12 px-4">
|
||||||
|
<div align="left">
|
||||||
<label>Request On : </label><?php if (isset($Reqon)) {
|
<label>Request On : </label><?php if (isset($Reqon)) {
|
||||||
echo $Reqon;
|
echo $Reqon;
|
||||||
} ?><br />
|
} ?><br />
|
||||||
@ -1513,6 +1515,12 @@ if (!empty($getlogpodtl)) {
|
|||||||
echo "Status not provided";
|
echo "Status not provided";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div> <!-- end card body-->
|
</div> <!-- end card body-->
|
||||||
|
|||||||
@ -379,7 +379,7 @@ if (!empty($getlogpodtl)) {
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-body">
|
<div class="card-body p-4">
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
@ -728,7 +728,7 @@ if (!empty($getlogpodtl)) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<br><br><br>
|
<br><br><br><br>
|
||||||
<div class="box-body" style="margin-top: -3%;">
|
<div class="box-body" style="margin-top: -3%;">
|
||||||
<table id="ImportTax" class="table table-bordered table-hover" style="background-color:#fff;font-size:12px;">
|
<table id="ImportTax" class="table table-bordered table-hover" style="background-color:#fff;font-size:12px;">
|
||||||
<thead>
|
<thead>
|
||||||
@ -968,6 +968,8 @@ if (!empty($getlogpodtl)) {
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<br><br>
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
@ -1153,7 +1155,7 @@ if (!empty($getlogpodtl)) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="form-row p-3">
|
<div class="form-row p-4">
|
||||||
<div class="form-group col-md-12">
|
<div class="form-group col-md-12">
|
||||||
<label>Special Instructions </label> <?php
|
<label>Special Instructions </label> <?php
|
||||||
$data = array('name' => 'txtSpcialInstruction', 'value' => set_value('txtSpcialInstruction', strip_tags($ServiceDescription)), 'id' => 'txtSpcialInstruction', 'class' => 'form-control', 'rows' => '10', 'cols' => '40');
|
$data = array('name' => 'txtSpcialInstruction', 'value' => set_value('txtSpcialInstruction', strip_tags($ServiceDescription)), 'id' => 'txtSpcialInstruction', 'class' => 'form-control', 'rows' => '10', 'cols' => '40');
|
||||||
@ -1162,17 +1164,26 @@ if (!empty($getlogpodtl)) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="form-row px-4">
|
||||||
|
|
||||||
<div class="form-group col-md-12">
|
<div class="form-group col-md-3" align="left">
|
||||||
|
|
||||||
<div align="right">
|
<label>Select File</label>
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<input type="file" class="form-control" name="POFile" id="POFile">
|
<input type="file" class="form-control" name="POFile" id="POFile">
|
||||||
<?php if ($PrePOFile) { ?>
|
<?php if ($PrePOFile) { ?>
|
||||||
<label><a title="previously uploaded PO File" href="<?php echo base_url() . 'public/uploads/POfiles/' . $PrePOFile ?>"><span>previously uploaded - </span><small><?= $PrePOFile; ?></small></a></label>
|
<label><a title="previously uploaded PO File" href="<?php echo base_url() . 'public/uploads/POfiles/' . $PrePOFile ?>"><span>previously uploaded - </span><small><?= $PrePOFile; ?></small></a></label>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<input type="hidden" id="PrePOFile" name="PrePOFile" value="<?php echo $PrePOFile; ?>" />
|
<input type="hidden" id="PrePOFile" name="PrePOFile" value="<?php echo $PrePOFile; ?>" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-row px-4">
|
||||||
|
|
||||||
|
<div class="form-group col-md-12">
|
||||||
|
|
||||||
|
<div align="right">
|
||||||
|
|
||||||
<input type="hidden" name="txtPoRange" id="txtPoRange" />
|
<input type="hidden" name="txtPoRange" id="txtPoRange" />
|
||||||
<input type="hidden" name="isEdit" id="isEdit" value="0" />
|
<input type="hidden" name="isEdit" id="isEdit" value="0" />
|
||||||
<input type="hidden" name="txtStatus" id="txtStatus" />
|
<input type="hidden" name="txtStatus" id="txtStatus" />
|
||||||
@ -1210,6 +1221,9 @@ if (!empty($getlogpodtl)) {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-row px-4">
|
||||||
<div class="form-group col-md-12" align="left" style="padding-right:10px">
|
<div class="form-group col-md-12" align="left" style="padding-right:10px">
|
||||||
<div class="col-md-5 col-md-offset-7" align="left"><br />
|
<div class="col-md-5 col-md-offset-7" align="left"><br />
|
||||||
<label>Request On :</label><?php echo $Reqon; ?><br />
|
<label>Request On :</label><?php echo $Reqon; ?><br />
|
||||||
@ -1235,6 +1249,11 @@ if (!empty($getlogpodtl)) {
|
|||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -2447,7 +2466,7 @@ if (!empty($getlogpodtl)) {
|
|||||||
</div><!-- /.modal -->
|
</div><!-- /.modal -->
|
||||||
<div id="viewimportmodal" class="modal fade" tabindex="-1" role="dialog"
|
<div id="viewimportmodal" class="modal fade" tabindex="-1" role="dialog"
|
||||||
aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;">
|
aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;">
|
||||||
<div class="modal-dialog modal-full-width">
|
<div class="modal-dialog modal-full-width" style="width: 1200px; !important">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h4 class="modal-title">View Import Purchase Order Item</h4>
|
<h4 class="modal-title">View Import Purchase Order Item</h4>
|
||||||
@ -2492,7 +2511,7 @@ if (!empty($getlogpodtl)) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row" style="margin-bottom: 10px;">
|
<div class="form-row" style="margin-bottom: 10px;">
|
||||||
<div class="form-group col-md-2">
|
<div class="form-group col-md-3">
|
||||||
<label>Item Code<span class="text-danger" style="color:red;text-align:right;background-color: #fff;">*</span></label>
|
<label>Item Code<span class="text-danger" style="color:red;text-align:right;background-color: #fff;">*</span></label>
|
||||||
<!--In this item code the value should come from DB , so it getting error , so i am disabling this div , once get the data from DB uncommand this div-->
|
<!--In this item code the value should come from DB , so it getting error , so i am disabling this div , once get the data from DB uncommand this div-->
|
||||||
<div>
|
<div>
|
||||||
@ -2510,40 +2529,45 @@ if (!empty($getlogpodtl)) {
|
|||||||
echo form_dropdown('ViewMaterialCode', $options, set_value('ViewMaterialCode'), 'id="ViewMaterialCode" class="form-control"'); ?>
|
echo form_dropdown('ViewMaterialCode', $options, set_value('ViewMaterialCode'), 'id="ViewMaterialCode" class="form-control"'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-2">
|
<div class="form-group col-md-3">
|
||||||
<label>Item Name</label>
|
<label>Item Name</label>
|
||||||
<div>
|
<div>
|
||||||
<?php $data = array('name' => 'ViewItemName', 'value' => set_value('ViewItemName'), 'id' => 'ViewItemName', 'class' => 'form-control', 'readonly' => 'true');
|
<?php $data = array('name' => 'ViewItemName', 'value' => set_value('ViewItemName'), 'id' => 'ViewItemName', 'class' => 'form-control', 'readonly' => 'true');
|
||||||
echo form_input($data); ?>
|
echo form_input($data); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-1">
|
<div class="form-group col-md-3">
|
||||||
<label>UOM</label>
|
<label>UOM</label>
|
||||||
<div>
|
<div>
|
||||||
<?php $data = array('name' => 'ViewUOM', 'value' => set_value('ViewUOM'), 'id' => 'ViewUOM', 'class' => 'form-control', 'readonly' => 'true');
|
<?php $data = array('name' => 'ViewUOM', 'value' => set_value('ViewUOM'), 'id' => 'ViewUOM', 'class' => 'form-control', 'readonly' => 'true');
|
||||||
echo form_input($data); ?>
|
echo form_input($data); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-2">
|
<div class="form-group col-md-3">
|
||||||
<label>Quantity<span class="text-danger" style="color:red;text-align:right;background-color: #fff;">*</span></label>
|
<label>Quantity<span class="text-danger" style="color:red;text-align:right;background-color: #fff;">*</span></label>
|
||||||
<div>
|
<div>
|
||||||
<?php $data = array('name' => 'ViewQuantity', 'value' => set_value('ViewQuantity'), 'id' => 'ViewQuantity', 'readonly' => true, 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'EditRatechange(),ExceedEditQuantityCheck()');
|
<?php $data = array('name' => 'ViewQuantity', 'value' => set_value('ViewQuantity'), 'id' => 'ViewQuantity', 'readonly' => true, 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'EditRatechange(),ExceedEditQuantityCheck()');
|
||||||
echo form_input($data); ?>
|
echo form_input($data); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-2">
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-3"></div>
|
||||||
|
<div class="form-group col-md-3">
|
||||||
<label id=labelEditRate><?php echo "Rate in $Currencycode ($Value)"; ?><span class="text-danger" style="color:red;text-align:right;background-color: #fff;">*</span> </label>
|
<label id=labelEditRate><?php echo "Rate in $Currencycode ($Value)"; ?><span class="text-danger" style="color:red;text-align:right;background-color: #fff;">*</span> </label>
|
||||||
<div>
|
<div>
|
||||||
<?php $data = array('name' => 'ViewRate', 'value' => set_value('ViewRate'), 'id' => 'ViewRate', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'readonly' => true, 'onchange' => 'EditRatechange()');
|
<?php $data = array('name' => 'ViewRate', 'value' => set_value('ViewRate'), 'id' => 'ViewRate', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'readonly' => true, 'onchange' => 'EditRatechange()');
|
||||||
echo form_input($data); ?>
|
echo form_input($data); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-1">
|
<div class="form-group col-md-3">
|
||||||
<label>Per</label>
|
<label>Per</label>
|
||||||
<?php $data = array('name' => 'ViewPer', 'value' => set_value('ViewPer'), 'id' => 'ViewPer', 'readonly' => true, 'class' => 'form-control');
|
<?php $data = array('name' => 'ViewPer', 'value' => set_value('ViewPer'), 'id' => 'ViewPer', 'readonly' => true, 'class' => 'form-control');
|
||||||
echo form_input($data); ?>
|
echo form_input($data); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-2" style="padding: 0px;">
|
<div class="form-group col-md-3" style="padding: 0px;">
|
||||||
<!-- <label><?php echo "Basic Value In"; ?></label>-->
|
<!-- <label><?php echo "Basic Value In"; ?></label>-->
|
||||||
<!-- <p id=label3> -->
|
<!-- <p id=label3> -->
|
||||||
<label id=label3><?php echo "Basic Value In $Currencycode ($Value)"; ?></label><!-- </p> -->
|
<label id=label3><?php echo "Basic Value In $Currencycode ($Value)"; ?></label><!-- </p> -->
|
||||||
@ -2554,11 +2578,17 @@ if (!empty($getlogpodtl)) {
|
|||||||
echo form_input($data); ?>
|
echo form_input($data); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-row" style="margin-bottom: 10px;">
|
<div class="form-row" style="margin-bottom: 10px;">
|
||||||
|
<div class="form-group col-md-3"></div>
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-3">
|
||||||
<!-- Basic Price in US $ per Ton : -->
|
<!-- Basic Price in US $ per Ton : -->
|
||||||
<label id=labelEditBasicPriceUs><b><?php echo "Basic Price in $Currencycode ($Value)" ?></b></label>
|
<label id=labelEditBasicPriceUs>
|
||||||
|
<?php echo "Basic Price in $Currencycode ($Value)" ?>
|
||||||
|
</label>
|
||||||
<div>
|
<div>
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'ViewimBasicPrice', 'value' => set_value('ViewimBasicPrice'), 'id' => 'ViewimBasicPrice', 'class' => 'form-control num', 'placeholder ' => 'basic price', 'onkeypress' => 'return isNumberKey(event);', 'readonly' => 'true');
|
$data = array('name' => 'ViewimBasicPrice', 'value' => set_value('ViewimBasicPrice'), 'id' => 'ViewimBasicPrice', 'class' => 'form-control num', 'placeholder ' => 'basic price', 'onkeypress' => 'return isNumberKey(event);', 'readonly' => 'true');
|
||||||
@ -2588,12 +2618,16 @@ if (!empty($getlogpodtl)) {
|
|||||||
<a href="http://www.xe.com/" target="_blank"><u>Click nere to check Today's Foreign Exchange value</u></a>
|
<a href="http://www.xe.com/" target="_blank"><u>Click nere to check Today's Foreign Exchange value</u></a>
|
||||||
</div>-->
|
</div>-->
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row" style="border: 1px solid;padding:0px;margin: 10px 0px;">
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
<div class="form-row p-2" style="border: 1px solid;padding:0px;margin: 10px 0px;">
|
||||||
|
<br>
|
||||||
|
|
||||||
<div class="form-group col-md-6" style="padding:15px;">
|
<div class="form-group col-md-6" style="padding:15px;">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="form-group col-md-4">
|
<div class="form-group col-md-4">
|
||||||
Basic Price (<?php echo $INR ?>)
|
<label> Basic Price (<?php echo $INR ?>)</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-4">
|
<div class="form-group col-md-4">
|
||||||
<div>
|
<div>
|
||||||
@ -2713,6 +2747,7 @@ if (!empty($getlogpodtl)) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group col-md-6" style="padding:15px;">
|
<div class="form-group col-md-6" style="padding:15px;">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="form-group col-md-4">
|
<div class="form-group col-md-4">
|
||||||
@ -2762,9 +2797,10 @@ if (!empty($getlogpodtl)) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<br>
|
||||||
<!--Start of Adding of Frieght model-->
|
<!--Start of Adding of Frieght model-->
|
||||||
<div class="form-row" style="padding:0px;">
|
<div class="form-row" style="padding:0px;">
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-4">
|
||||||
<span>Freight Type </span>
|
<span>Freight Type </span>
|
||||||
<?php
|
<?php
|
||||||
$options = array("0" => 'Select Freight Type');
|
$options = array("0" => 'Select Freight Type');
|
||||||
@ -2776,26 +2812,31 @@ if (!empty($getlogpodtl)) {
|
|||||||
}
|
}
|
||||||
echo form_dropdown('drpviewFreight', $options, set_value('drpviewFreight'), 'id="drpviewFreight" class="form-control " disabled'); ?>
|
echo form_dropdown('drpviewFreight', $options, set_value('drpviewFreight'), 'id="drpviewFreight" class="form-control " disabled'); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-3" id="ViewTripsValue" style="display:block;">
|
<div class="form-group col-md-4" id="ViewTripsValue" style="display:block;">
|
||||||
<span>NO Of Trips</span>
|
<span>NO Of Trips</span>
|
||||||
<?php $data = array('name' => 'viewNOOfTrips', 'value' => set_value('viewNOOfTrips'), 'id' => 'viewNOOfTrips', 'class' => 'form-control num', 'onchange' => 'calculateFreight(2);', 'disabled' => 'disabled');
|
<?php $data = array('name' => 'viewNOOfTrips', 'value' => set_value('viewNOOfTrips'), 'id' => 'viewNOOfTrips', 'class' => 'form-control num', 'onchange' => 'calculateFreight(2);', 'disabled' => 'disabled');
|
||||||
echo form_input($data); ?>
|
echo form_input($data); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-4">
|
||||||
<span>Freight Rate </span>
|
<span>Freight Rate </span>
|
||||||
<?php $data = array('name' => 'viewtxtFreight', 'value' => set_value('viewtxtFreight'), 'id' => 'viewtxtFreight', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'calculateFreight(2);', 'readonly' => 'true');
|
<?php $data = array('name' => 'viewtxtFreight', 'value' => set_value('viewtxtFreight'), 'id' => 'viewtxtFreight', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'calculateFreight(2);', 'readonly' => 'true');
|
||||||
echo form_input($data); ?>
|
echo form_input($data); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-3" style="padding-left: 0px;">
|
<div class="form-group col-md-4" style="padding-left: 0px;">
|
||||||
<span>Freight Amt In <?php echo $INR; ?></span>
|
<span>Freight Amt In <?php echo $INR; ?></span>
|
||||||
<?php $data = array('name' => 'viewtxtAfterFreight', 'value' => set_value('viewtxtAfterFreight'), 'id' => 'viewtxtAfterFreight', 'class' => 'form-control num', 'readonly' => 'true');
|
<?php $data = array('name' => 'viewtxtAfterFreight', 'value' => set_value('viewtxtAfterFreight'), 'id' => 'viewtxtAfterFreight', 'class' => 'form-control num', 'readonly' => 'true');
|
||||||
echo form_input($data); ?>
|
echo form_input($data); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!--End of Adding of freight in edit model -->
|
|
||||||
<div class="form-row">
|
<br>
|
||||||
|
|
||||||
<center> <label>Cost of the product Per KG</label></center>
|
<center> <label>Cost of the product Per KG</label></center>
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
<!--End of Adding of freight in edit model -->
|
||||||
|
<div class="form-row">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="form-group col-md-6">
|
<div class="form-group col-md-6">
|
||||||
@ -2857,7 +2898,13 @@ if (!empty($getlogpodtl)) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
<div class="form-row" style="margin-bottom: 10px;">
|
<div class="form-row" style="margin-bottom: 10px;">
|
||||||
<div class="form-group col-md-12">
|
<div class="form-group col-md-12">
|
||||||
<label>Import Description :</label>
|
<label>Import Description :</label>
|
||||||
@ -5390,19 +5437,6 @@ if (!empty($getlogpodtl)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$(function() {
|
|
||||||
//$("#revenueTax").DataTable();
|
|
||||||
$('#ImportTax').DataTable({
|
|
||||||
"paging": false,
|
|
||||||
"lengthChange": true,
|
|
||||||
"searching": false,
|
|
||||||
"ordering": false,
|
|
||||||
// "info": true,
|
|
||||||
"autoWidth": true
|
|
||||||
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
$("#PaymentTerms").change(function() {
|
$("#PaymentTerms").change(function() {
|
||||||
|
|
||||||
if ($('#PaymentTerms').val().trim() == 'PT08')
|
if ($('#PaymentTerms').val().trim() == 'PT08')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user