edit importpo

This commit is contained in:
vadivel J 2024-09-26 17:18:54 +05:30
parent 0d0a4a37df
commit a22c8c09a4
2 changed files with 1761 additions and 1702 deletions

View File

@ -1269,9 +1269,11 @@ if (!empty($getlogpodtl)) {
</div> <!-- container --> </div> <!-- container -->
</div> <!-- content --> </div> <!-- content -->
</div> </div>
<div id="importpomodel" class="modal fade" tabindex="-1" role="dialog"
<div align="center">
<div id="importpomodel" 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 " > <div class="modal-dialog modal-full-width " >
<div class="modal-content" style="width:1060px;" > <div class="modal-content" style="width:1060px;" >
<div class="modal-header"> <div class="modal-header">
<h4 class="modal-title">Add Import Purchase Order Item</h4> <h4 class="modal-title">Add Import Purchase Order Item</h4>
@ -1279,7 +1281,9 @@ if (!empty($getlogpodtl)) {
aria-hidden="true">×</button> aria-hidden="true">×</button>
</div> </div>
<form class="form-control"> <form class="form-control">
<div class="modal-body p-4">
<div class="modal-body p-4" align="left">
<div class="form-row"> <div class="form-row">
@ -1870,19 +1874,21 @@ if (!empty($getlogpodtl)) {
</form> </form>
</div> </div>
</div> </div>
</div><!-- /.modal --> </div><!-- /.modal -->
<div id="editimportpomodel" class="modal fade" tabindex="-1" role="dialog" </div>
<div align="center">
<div id="editimportpomodel" 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 " >
<div class="modal-content"> <div class="modal-content" style="width:1060px;" >
<div class="modal-header"> <div class="modal-header">
<h4 class="modal-title">Edit Import Purchase Order Item</h4> <h4 class="modal-title">Edit Import Purchase Order Item</h4>
<button type="button" class="close" data-dismiss="modal" <button type="button" class="close" data-dismiss="modal"
aria-hidden="true">×</button> aria-hidden="true">×</button>
</div> </div>
<form> <form>
<div class="modal-body p-4"> <div class="modal-body p-4" align="left">
<div class="form-row"> <div class="form-row">
<div class="form-group col-md-3"> <div class="form-group col-md-3">
@ -2074,6 +2080,8 @@ if (!empty($getlogpodtl)) {
</div>--> </div>-->
</div> </div>
<br>
<div class="form-row" style="border:1px solid black;"> <div class="form-row" style="border:1px solid black;">
<br /> <br />
<div class="form-group col-md-6 p-2 mt-1" style="padding:0px;"> <div class="form-group col-md-6 p-2 mt-1" style="padding:0px;">
@ -2290,10 +2298,12 @@ if (!empty($getlogpodtl)) {
</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');
@ -2305,14 +2315,14 @@ if (!empty($getlogpodtl)) {
echo form_dropdown('drpeditFreight', $options, set_value('drpeditFreight'), 'id="drpeditFreight" class="form-control "'); echo form_dropdown('drpeditFreight', $options, set_value('drpeditFreight'), 'id="drpeditFreight" class="form-control "');
?> ?>
</div> </div>
<div class="form-group col-md-3" id="EditTripsValue" style="display:block;"> <div class="form-group col-md-4" id="EditTripsValue" style="display:block;">
<span>NO Of Trips</span> <span>NO Of Trips</span>
<?php <?php
$data = array('name' => 'editNOOfTrips', 'value' => set_value('editNOOfTrips'), 'id' => 'editNOOfTrips', 'class' => 'form-control num', 'onchange' => 'calculateFreight(1);'); $data = array('name' => 'editNOOfTrips', 'value' => set_value('editNOOfTrips'), 'id' => 'editNOOfTrips', 'class' => 'form-control num', 'onchange' => 'calculateFreight(1);');
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 <?php
$data = array('name' => 'edittxtFreight', 'value' => set_value('edittxtFreight'), 'id' => 'edittxtFreight', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'calculateFreight(1);'); $data = array('name' => 'edittxtFreight', 'value' => set_value('edittxtFreight'), 'id' => 'edittxtFreight', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'calculateFreight(1);');
@ -2320,7 +2330,7 @@ if (!empty($getlogpodtl)) {
?> ?>
</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 <?php echo $INR; ?></span> <span>Freight Amt <?php echo $INR; ?></span>
<?php <?php
$data = array('name' => 'edittxtAfterFreight', 'value' => set_value('edittxtAfterFreight'), 'id' => 'edittxtAfterFreight', 'class' => 'form-control num', 'readonly' => 'true'); $data = array('name' => 'edittxtAfterFreight', 'value' => set_value('edittxtAfterFreight'), 'id' => 'edittxtAfterFreight', 'class' => 'form-control num', 'readonly' => 'true');
@ -2332,6 +2342,9 @@ if (!empty($getlogpodtl)) {
<!--End of Adding of freight in edit model --> <!--End of Adding of freight in edit model -->
<br>
<center> <label>Cost of the product Per UOM</label></center> <center> <label>Cost of the product Per UOM</label></center>
<hr /> <hr />
@ -2346,7 +2359,7 @@ if (!empty($getlogpodtl)) {
</div> </div>
</div> </div>
<div class="form-group col-md-6"> <div class="form-group col-md-6">
<span>Quantity</span> <label>Quantity</label>
<div> <div>
<?php <?php
$data = array('name' => 'EditPurQuantity', 'value' => set_value('EditPurQuantity'), 'id' => 'EditPurQuantity', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'EditCalculateCtable()'); $data = array('name' => 'EditPurQuantity', 'value' => set_value('EditPurQuantity'), 'id' => 'EditPurQuantity', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'EditCalculateCtable()');
@ -2424,7 +2437,9 @@ if (!empty($getlogpodtl)) {
</form> </form>
</div> </div>
</div> </div>
</div><!-- /.modal --> </div><!-- /.modal -->
</div>
<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" style="width: 1200px; !important"> <div class="modal-dialog modal-full-width" style="width: 1200px; !important">
@ -2884,6 +2899,8 @@ if (!empty($getlogpodtl)) {
</div> </div>
</div> </div>
</div><!-- /.modal --> </div><!-- /.modal -->
</div>
<script type="text/javascript"> <script type="text/javascript">

View File

@ -968,6 +968,10 @@ if (!empty($INRSYMBOL)) {
</table><!-- serviceTax table closed here --> </table><!-- serviceTax table closed here -->
</div> </div>
</div><!-- 7. form-row div closed here --> </div><!-- 7. form-row div closed here -->
<br>
<div class="form-row" style="padding: 0px;"> <div class="form-row" style="padding: 0px;">
<div class="form-group col-md-2"> <div class="form-group col-md-2">
@ -1015,6 +1019,9 @@ if (!empty($INRSYMBOL)) {
</div><!-- col-md-2 div closed here --> </div><!-- col-md-2 div closed here -->
</div><!-- 8 form-row div closed here --> </div><!-- 8 form-row div closed here -->
<br>
<div class="form-row"> <div class="form-row">
<div class="form-group col-md-12"> <div class="form-group col-md-12">
<label>Description Of Service<span class="text-danger">*</label> <label>Description Of Service<span class="text-danger">*</label>
@ -1025,6 +1032,10 @@ if (!empty($INRSYMBOL)) {
?> ?>
</div><!-- div closed here --> </div><!-- div closed here -->
</div><!-- 9 form-row div closed here --> </div><!-- 9 form-row div closed here -->
<br>
<div class="form-row" style="padding:0px;"> <div class="form-row" style="padding:0px;">
<div class="form-group col-md-12"> <div class="form-group col-md-12">
<label>Scope Of Work</label> <?php <label>Scope Of Work</label> <?php
@ -1032,11 +1043,23 @@ if (!empty($INRSYMBOL)) {
echo form_textarea($data); ?> echo form_textarea($data); ?>
</div><!-- div closed here --> </div><!-- div closed here -->
</div><!-- 10 form-row div closed here --> </div><!-- 10 form-row div closed here -->
<br>
<div class="form-row">
<div class="form-group col-md-12">
<label for="POFile">Select Purchase Order File</label>
<input type="file" class="d-block" name="POFile" id="POFile"><br>
</div>
</div>
<div class="form-row"> <div class="form-row">
<div class="form-group col-md-12"> <div class="form-group col-md-12">
<br /> <br />
<div align="right" style="padding-right:10px"> <div align="right" style="padding-right:10px">
<input type="file" name="POFile" id="POFile"><br>
<input type="hidden" name="txtStatus" id="txtStatus" /> <input type="hidden" name="txtStatus" id="txtStatus" />
<input type="hidden" name="txtRowCount" id="txtRowCount" /> <input type="hidden" name="txtRowCount" id="txtRowCount" />
<input type="hidden" name="txtDeletedRow" id="txtDeletedRow" /> <input type="hidden" name="txtDeletedRow" id="txtDeletedRow" />
@ -1059,10 +1082,12 @@ if (!empty($INRSYMBOL)) {
</div> <!-- container --> </div> <!-- container -->
</div> <!-- content --> </div> <!-- content -->
</div> </div>
<div id="SERVICE" class="modal fade" tabindex="-1" role="dialog"
<div align="center">
<div id="SERVICE" 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-lg"> <div class="modal-dialog modal-full-width">
<div class="modal-content"> <div class="modal-content" style="width: 1060px;">
<div class="modal-header"> <div class="modal-header">
<h4 class="modal-title">Add Service Purchase Order Item</h4> <h4 class="modal-title">Add Service Purchase Order Item</h4>
<button type="button" class="close" data-dismiss="modal" <button type="button" class="close" data-dismiss="modal"
@ -1071,6 +1096,9 @@ if (!empty($INRSYMBOL)) {
<form> <form>
<div class="modal-body p-4"> <div class="modal-body p-4">
<div align="left">
<div class="form-row"> <div class="form-row">
<div class="form-group col-md-3"> <div class="form-group col-md-3">
<label>Req No<span class="badge mandatory">*</span></label> <label>Req No<span class="badge mandatory">*</span></label>
@ -1340,6 +1368,9 @@ if (!empty($INRSYMBOL)) {
</div> </div>
</div><!-- SERVICE --> </div><!-- SERVICE -->
</div>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<div class="form-row"> <div class="form-row">
@ -1351,18 +1382,24 @@ if (!empty($INRSYMBOL)) {
</form><!-- SERVICE form closed here --> </form><!-- SERVICE form closed here -->
</div> </div>
</div>
</div> </div>
</div><!-- /.modal --> </div><!-- /.modal -->
<div id="EDITSERVICE" class="modal fade" tabindex="-1" role="dialog"
<div align="center">
<div id="EDITSERVICE" 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-lg"> <div class="modal-dialog modal-full-width">
<div class="modal-content"> <div class="modal-content " style="width: 1060px;">
<div class="modal-header"> <div class="modal-header">
<h4 class="modal-title">Edit Service Purchase Order Item</h4> <h4 class="modal-title">Edit Service Purchase Order Item</h4>
<button type="button" class="close" data-dismiss="modal" <button type="button" class="close" data-dismiss="modal"
aria-hidden="true">×</button> aria-hidden="true">×</button>
</div> </div>
<form> <form>
<div align="left">
<div class="modal-body p-4"> <div class="modal-body p-4">
<div class="form-row"> <div class="form-row">
<div class="form-group col-md-3"> <div class="form-group col-md-3">
@ -1608,6 +1645,8 @@ if (!empty($INRSYMBOL)) {
</div><!-- EDITSERVICE.9 form-row closed here --> </div><!-- EDITSERVICE.9 form-row closed here -->
</div> </div>
</div>
<div class="modal-footer"> <div class="modal-footer">
<div class="form-row"> <div class="form-row">
<a class="btn btn-success" data-dismiss="modal" value="Cancel">Cancel</a> <a class="btn btn-success" data-dismiss="modal" value="Cancel">Cancel</a>
@ -1618,7 +1657,10 @@ if (!empty($INRSYMBOL)) {
</div> </div>
</div> </div>
</div><!-- /.modal --> </div><!-- /.modal -->
</div>
<!-- <script type="text/html" id="ServiceList"> <!-- <script type="text/html" id="ServiceList">