Merge branch 'new_theme' of bitbucket.org:venbainformationtechnology/ria into new_theme

This commit is contained in:
aadhavan valli 2024-09-26 17:27:24 +05:30
commit fb6d7e1d20
4 changed files with 2245 additions and 2127 deletions

View File

@ -1168,8 +1168,8 @@ if (!empty($getlogpodtl)) {
<div class="form-group col-md-3" align="left"> <div class="form-group col-md-3" align="left">
<label>Select File</label> <label>Select Purchase Order File</label>
<input type="file" class="form-control" name="POFile" id="POFile"> <input type="file" class="" 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 } ?>
@ -1269,17 +1269,21 @@ if (!empty($getlogpodtl)) {
</div> <!-- container --> </div> <!-- container -->
</div> <!-- content --> </div> <!-- content -->
</div> </div>
<div align="center">
<div id="importpomodel" class="modal fade" tabindex="-1" role="dialog" <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 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">Add Import Purchase Order Item</h4> <h4 class="modal-title">Add 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 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">
@ -1871,18 +1875,20 @@ if (!empty($getlogpodtl)) {
</div> </div>
</div> </div>
</div><!-- /.modal --> </div><!-- /.modal -->
</div>
<div align="center">
<div id="editimportpomodel" class="modal fade" tabindex="-1" role="dialog" <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()');
@ -2425,6 +2438,8 @@ if (!empty($getlogpodtl)) {
</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

@ -915,10 +915,12 @@ if (isset($AvlimportBudAmt) && !empty($AvlimportBudAmt)) {
</div> <!-- container --> </div> <!-- container -->
</div> <!-- content --> </div> <!-- content -->
</div> </div>
<div id="IMPORT" class="modal fade" tabindex="-1" role="dialog"
<div id="IMPORT" class="modal fade" align="center" 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">Add Import Purchase Order Item</h4> <h4 class="modal-title">Add Import Purchase Order Item</h4>
<button type="button" class="close" data-dismiss="modal" <button type="button" class="close" data-dismiss="modal"
@ -1468,14 +1470,16 @@ if (isset($AvlimportBudAmt) && !empty($AvlimportBudAmt)) {
</div> </div>
</div> </div>
<div class="form-row mt-3">
<div class="form-group col-md-11" style="margin-top:10px;"> <div class="form-group col-md-12">
<label>Import Description </label> <label>Import Description </label>
<?php <?php
$data = array('name' => 'addtxtInstruction', 'value' => set_value('addtxtInstruction'), 'id' => 'addtxtInstruction', 'class' => 'form-control', 'rows' => '10', 'cols' => '40'); $data = array('name' => 'addtxtInstruction', 'value' => set_value('addtxtInstruction'), 'id' => 'addtxtInstruction', 'class' => 'form-control', 'rows' => '10', 'cols' => '40');
echo form_textarea($data); echo form_textarea($data);
?> ?>
</div> </div>
</div>
</div> </div>
</div> </div>
@ -1488,10 +1492,11 @@ if (isset($AvlimportBudAmt) && !empty($AvlimportBudAmt)) {
</div> </div>
</div> </div>
</div><!-- /.modal --> </div><!-- /.modal -->
<div id="editimportpomodel" class="modal fade" tabindex="-1" role="dialog"
<div id="editimportpomodel" class="modal fade" align="center" 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"
@ -1898,9 +1903,10 @@ if (isset($AvlimportBudAmt) && !empty($AvlimportBudAmt)) {
</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">
<label>Freight Type </label> <label>Freight Type </label>
<?php <?php
$options = array("0" => 'Select Freight Type'); $options = array("0" => 'Select Freight Type');
@ -1912,7 +1918,7 @@ if (isset($AvlimportBudAmt) && !empty($AvlimportBudAmt)) {
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:none;"> <div class="form-group col-md-4" id="editTripsValue" style="display:none;">
<label>NO Of Trips</label> <label>NO Of Trips</label>
<?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);');
@ -1920,7 +1926,7 @@ if (isset($AvlimportBudAmt) && !empty($AvlimportBudAmt)) {
?> ?>
</div> </div>
<div class="form-group col-md-3"> <div class="form-group col-md-4">
<label>Freight Rate </label> <label>Freight Rate </label>
<?php <?php
$data = array('name' => 'txtEditFreight', 'value' => set_value('txtEditFreight'), 'id' => 'txtEditFreight', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'calculateFreight(1);'); $data = array('name' => 'txtEditFreight', 'value' => set_value('txtEditFreight'), 'id' => 'txtEditFreight', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'calculateFreight(1);');
@ -1928,7 +1934,7 @@ if (isset($AvlimportBudAmt) && !empty($AvlimportBudAmt)) {
?> ?>
</div> </div>
<div class="form-group col-md-3" style="padding-left: 0px;"> <div class="form-group col-md-4" style="padding-left: 0px;">
<label>Freight Amt In <?php echo $INR; ?></label> <label>Freight Amt In <?php echo $INR; ?></label>
<?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');
@ -1946,12 +1952,9 @@ if (isset($AvlimportBudAmt) && !empty($AvlimportBudAmt)) {
<br> <br>
<div class="form-row"> <div class="form-row">
<div class="form-group col-md-4"> <div class="form-group col-md-6">
<label>Duty Impact </label> <label>Duty Impact </label>
<!-- <p id=labelEditPurchaseRate><label><?php echo "purchase rate [Basic]/" ?></label> --> <!-- <p id=labelEditPurchaseRate><label><?php echo "purchase rate [Basic]/" ?></label> -->
</div>
<div class="form-group col-md-4">
<div> <div>
<?php <?php
$data = array('name' => 'EditDutyImpact', 'value' => set_value('EditDutyImpact'), 'id' => 'EditDutyImpact', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'readonly' => 'true'); $data = array('name' => 'EditDutyImpact', 'value' => set_value('EditDutyImpact'), 'id' => 'EditDutyImpact', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'readonly' => 'true');
@ -1959,7 +1962,7 @@ if (isset($AvlimportBudAmt) && !empty($AvlimportBudAmt)) {
?> ?>
</div> </div>
</div> </div>
<div class="form-group col-md-4" style="margin-top: -4.8%"> <div class="form-group col-md-6">
<label>Quantity</label> <label>Quantity</label>
<div> <div>
<?php <?php
@ -1969,14 +1972,13 @@ if (isset($AvlimportBudAmt) && !empty($AvlimportBudAmt)) {
</div> </div>
</div> </div>
</div> </div>
<div class="form-row"> <div class="form-row">
<div class="form-group col-md-4"> <div class="form-group col-md-6">
<!-- Custom Duty Expenses --> <!-- Custom Duty Expenses -->
<label><?php echo "Custom Duty($INR) /UOM" ?></label> <label><?php echo "Custom Duty($INR) /UOM" ?></label>
</div>
<div class="form-group col-md-4">
<div> <div>
<?php <?php
$data = array('name' => 'EditCustomDutyExpenses ', 'value' => set_value('EditCustomDutyExpenses'), 'id' => 'EditCustomDutyExpenses', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'readonly' => 'true'); $data = array('name' => 'EditCustomDutyExpenses ', 'value' => set_value('EditCustomDutyExpenses'), 'id' => 'EditCustomDutyExpenses', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'readonly' => 'true');
@ -1985,29 +1987,28 @@ if (isset($AvlimportBudAmt) && !empty($AvlimportBudAmt)) {
</div> </div>
</div> </div>
</div> </div>
<div class="form-row mt-2"> <div class="form-row mt-2">
<div class="form-group col-md-4"> <div class="form-group col-md-6">
<div>
<!-- RMC Including Customers -->
<label><?php echo "Clearing Charges ($INR)"; ?></label> <label><?php echo "Clearing Charges ($INR)"; ?></label>
<div>
<?php <?php
$data = array('name' => 'EditClearingCharges', 'value' => set_value('EditClearingCharges'), 'id' => 'EditClearingCharges', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'EditCalculateCtable()'); $data = array('name' => 'EditClearingCharges', 'value' => set_value('EditClearingCharges'), 'id' => 'EditClearingCharges', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'EditCalculateCtable()');
echo form_input($data); echo form_input($data);
?> ?>
</div> </div>
</div> </div>
<div class="form-group col-md-6">
<div class="form-group col-md-4">
<!-- RMC Including Customers -->
<label><?php echo "Nett per UOM($INR)"; ?></label> <label><?php echo "Nett per UOM($INR)"; ?></label>
</div>
<div class="form-group col-md-4">
<div> <div>
<?php <?php
$data = array('name' => 'EditNett', 'value' => set_value('EditNett'), 'id' => 'EditNett', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'readonly' => 'true'); $data = array('name' => 'EditNett', 'value' => set_value('EditNett'), 'id' => 'EditNett', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'readonly' => 'true');
echo form_input($data); echo form_input($data);
@ -2042,7 +2043,7 @@ if (isset($AvlimportBudAmt) && !empty($AvlimportBudAmt)) {
</div> </div>
<div class="form-row mt-3"> <div class="form-row mt-3">
<div class="form-row"> <div class="form-group col-md-12">
<label>Import Description :</label> <label>Import Description :</label>
<?php <?php
$data = array('name' => 'edittxtInstruction', 'value' => set_value('edittxtInstruction'), 'id' => 'edittxtInstruction', 'class' => 'form-control', 'rows' => '10', 'cols' => '40'); $data = array('name' => 'edittxtInstruction', 'value' => set_value('edittxtInstruction'), 'id' => 'edittxtInstruction', 'class' => 'form-control', 'rows' => '10', 'cols' => '40');

View File

@ -657,10 +657,10 @@ if (!empty($INRSYMBOL)) {
if (FreightType == "PER TRIP") { if (FreightType == "PER TRIP") {
$('#TripsValue').show(); $('#TripsValue').show();
$(this).parent().removeClass('col-md-4').addClass('col-md-2');
} else { } else {
$('#TripsValue').hide(); $('#TripsValue').hide();
$(this).parent().removeClass('col-md-2').addClass('col-md-4');
} }
if ($('#Rate').val() != '' && $('#MaterialCode').val() != "0") { if ($('#Rate').val() != '' && $('#MaterialCode').val() != "0") {
selValue = $("#drpFreight").val(); selValue = $("#drpFreight").val();
@ -704,10 +704,10 @@ if (!empty($INRSYMBOL)) {
if (FreightType == "PER TRIP") { if (FreightType == "PER TRIP") {
$('#EditTripsValue').show(); $('#EditTripsValue').show();
$(this).parent().removeClass('col-md-4').addClass('col-md-2');
} else { } else {
$('#EditTripsValue').hide(); $('#EditTripsValue').hide();
$(this).parent().removeClass('col-md-2').addClass('col-md-4');
} }
if ($('#EditRate').val() != '' && $('#EditMaterialCode').val() != "0") { if ($('#EditRate').val() != '' && $('#EditMaterialCode').val() != "0") {
selValue = $("#drpEditFreight").val(); selValue = $("#drpEditFreight").val();
@ -2224,10 +2224,23 @@ if (!empty($INRSYMBOL)) {
<input type="hidden" name="SpcialInstruction" id="SpcialInstruction" value=""> <input type="hidden" name="SpcialInstruction" id="SpcialInstruction" value="">
</div> </div>
</div> </div>
<label>Select Purchase Order File</label>
<div class="form-row">
<div class="form-group col-md-12">
<input type="file" 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">
<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="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" />
@ -2403,10 +2416,11 @@ if (!empty($INRSYMBOL)) {
</div> </div>
</div><!-- /.modal --> </div><!-- /.modal -->
<!-- Model for revenue po --> <!-- Model for revenue po -->
<div align="center">
<div id="REVENUE" class="modal fade" tabindex="-1" role="dialog" <div id="REVENUE" 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" align="left" style="width:1060px;">
<div class="modal-header"> <div class="modal-header">
<h4 class="modal-title">Select Revenue Purchase Order Line Item</h4> <h4 class="modal-title">Select Revenue Purchase Order Line Item</h4>
<button type="button" class="close" data-dismiss="modal" <button type="button" class="close" data-dismiss="modal"
@ -2462,8 +2476,9 @@ if (!empty($INRSYMBOL)) {
?> ?>
</div> </div>
</div> </div>
<div class="form-row"> <div class="form-row">
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>Item Code<span class="text-danger">*</span></label> <label>Item Code<span class="text-danger">*</span></label>
<div> <div>
<?php <?php
@ -2475,7 +2490,7 @@ if (!empty($INRSYMBOL)) {
?> ?>
</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>
<?php <?php
@ -2484,7 +2499,7 @@ if (!empty($INRSYMBOL)) {
?> ?>
</div> </div>
<div class="form-group col-md-1"> <div class="form-group col-md-3">
<label>UOM</label> <label>UOM</label>
<?php <?php
@ -2493,14 +2508,22 @@ if (!empty($INRSYMBOL)) {
?> ?>
</div> </div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>Qty<span class="text-danger">*</span></label> <label>Qty<span class="text-danger">*</span></label>
<?php <?php
$data = array('name' => 'Quantity', 'value' => set_value('Quantity'), 'id' => 'Quantity', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'change()'); $data = array('name' => 'Quantity', 'value' => set_value('Quantity'), 'id' => 'Quantity', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'change()');
echo form_input($data); echo form_input($data);
?> ?>
</div> </div>
<div class="form-group col-md-1">
</div>
<div class="form-row">
<div class="form-group col-md-3"></div>
<div class="form-group col-md-3">
<label><?php echo "Rate ($INRSYM)"; ?><span class="text-danger">*</span></label> <label><?php echo "Rate ($INRSYM)"; ?><span class="text-danger">*</span></label>
<!-- <label>Rate</label> --> <!-- <label>Rate</label> -->
<?php <?php
@ -2508,12 +2531,12 @@ if (!empty($INRSYMBOL)) {
echo form_input($data); echo form_input($data);
?> ?>
</div> </div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>Per</label> <?php <label>Per</label> <?php
$data = array('name' => 'AddPer', 'value' => set_value('AddPer'), 'id' => 'AddPer', 'class' => 'form-control'); $data = array('name' => 'AddPer', 'value' => set_value('AddPer'), 'id' => 'AddPer', 'class' => 'form-control');
echo form_input($data); ?> echo form_input($data); ?>
</div> </div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label><?php echo "Basic Amt ($INRSYM)"; ?></label> <label><?php echo "Basic Amt ($INRSYM)"; ?></label>
<!-- <label>Basic Amount</label> --> <!-- <label>Basic Amount</label> -->
<?php <?php
@ -2523,9 +2546,11 @@ if (!empty($INRSYMBOL)) {
</div> </div>
</div> </div>
<div class="form-row" style="padding:0px;"> <div class="form-row" style="padding:0px;">
<div class="form-group col-md-4"></div> <div class="form-group col-md-3"></div>
<div class="form-group col-md-4">
<div class="form-group col-md-3">
<label>Discount Type </label> <label>Discount Type </label>
<div> <div>
<?php <?php
@ -2546,7 +2571,8 @@ if (!empty($INRSYMBOL)) {
?> ?>
</div> </div>
</div> </div>
<div class="form-group col-md-2">
<div class="form-group col-md-3">
<label>Discount Rate </label> <label>Discount Rate </label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -2555,18 +2581,20 @@ if (!empty($INRSYMBOL)) {
?> ?>
</div> </div>
</div> </div>
<div class="form-group col-md-2">
<div class="form-group col-md-3">
<label>Discounted Amt <?php echo "($INRSYM)" ?></label> <label>Discounted Amt <?php echo "($INRSYM)" ?></label>
<?php <?php
$data = array('name' => 'txtAfterDiscount', 'value' => set_value('txtAfterDiscount', 0.00), 'id' => 'txtAfterDiscount', 'class' => 'form-control num', 'readonly' => 'true'); $data = array('name' => 'txtAfterDiscount', 'value' => set_value('txtAfterDiscount', 0.00), 'id' => 'txtAfterDiscount', 'class' => 'form-control num', 'readonly' => 'true');
echo form_input($data); echo form_input($data);
?> ?>
</div> </div>
</div> </div>
<div class="form-row" style="text-align:left;"> <div class="form-row" style="text-align:left;">
<div class="form-group col-md-4"></div> <div class="form-group col-md-3"></div>
<div class="form-group col-md-4"> <div class="form-group col-md-3">
<label>Packaging Type </label> <label>Packaging Type </label>
<div> <div>
<?php <?php
@ -2587,14 +2615,14 @@ if (!empty($INRSYMBOL)) {
?> ?>
</div> </div>
</div> </div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>Packaging Rate </label> <label>Packaging Rate </label>
<?php <?php
$data = array('name' => 'txtPackaging', 'value' => set_value('txtPackaging'), 'id' => 'txtPackaging', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'change();'); $data = array('name' => 'txtPackaging', 'value' => set_value('txtPackaging'), 'id' => 'txtPackaging', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'change();');
echo form_input($data); echo form_input($data);
?> ?>
</div> </div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>Packaging Amt <?php echo "($INRSYM)" ?></label> <label>Packaging Amt <?php echo "($INRSYM)" ?></label>
<?php <?php
$data = array('name' => 'txtAfterPackaging', 'value' => set_value('txtAfterPackaging', 0.00), 'id' => 'txtAfterPackaging', 'class' => 'form-control num', 'readonly' => 'true'); $data = array('name' => 'txtAfterPackaging', 'value' => set_value('txtAfterPackaging', 0.00), 'id' => 'txtAfterPackaging', 'class' => 'form-control num', 'readonly' => 'true');
@ -2604,8 +2632,9 @@ if (!empty($INRSYMBOL)) {
</div> </div>
<div class="form-row"> <div class="form-row">
<div class="form-group col-md-4"></div> <div class="form-group col-md-3"></div>
<div class="form-group col-md-4">
<div class="form-group col-md-3">
<label>Freight Type </label> <label>Freight Type </label>
<?php <?php
$options = array("0" => 'Select Freight Type'); $options = array("0" => 'Select Freight Type');
@ -2617,21 +2646,16 @@ if (!empty($INRSYMBOL)) {
echo form_dropdown('drpFreight', $options, set_value('drpFreight'), 'id="drpFreight" class="form-control "'); echo form_dropdown('drpFreight', $options, set_value('drpFreight'), 'id="drpFreight" class="form-control "');
?> ?>
</div> </div>
<div class="form-group col-md-2" id="TripsValue" style="display:none;">
<label>NO Of Trips</label> <div class="form-group col-md-3">
<?php
$data = array('name' => 'NOOfTrips', 'value' => set_value('NOOfTrips'), 'id' => 'NOOfTrips', 'class' => 'form-control num', 'onchange' => 'calculateFreight(0);');
echo form_input($data);
?>
</div>
<div class="form-group col-md-2">
<label>Freight Rate </label> <label>Freight Rate </label>
<?php <?php
$data = array('name' => 'txtFreight', 'value' => set_value('txtFreight'), 'id' => 'txtFreight', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'change();'); $data = array('name' => 'txtFreight', 'value' => set_value('txtFreight'), 'id' => 'txtFreight', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'change();');
echo form_input($data); echo form_input($data);
?> ?>
</div> </div>
<div class="form-group col-md-2">
<div class="form-group col-md-3">
<label>Freight Amt <?php echo "($INRSYM)" ?></label> <label>Freight Amt <?php echo "($INRSYM)" ?></label>
<?php <?php
$data = array('name' => 'txtAfterFreight', 'value' => set_value('txtAfterFreight', 0.00), 'id' => 'txtAfterFreight', 'class' => 'form-control num', 'readonly' => 'true'); $data = array('name' => 'txtAfterFreight', 'value' => set_value('txtAfterFreight', 0.00), 'id' => 'txtAfterFreight', 'class' => 'form-control num', 'readonly' => 'true');
@ -2641,18 +2665,31 @@ if (!empty($INRSYMBOL)) {
</div> </div>
<div class="form-row">
<div class="from-group col-md-9"></div>
<div class="form-group col-md-3" id="TripsValue" style="display:none;">
<label>NO Of Trips</label>
<?php
$data = array('name' => 'NOOfTrips', 'value' => set_value('NOOfTrips'), 'id' => 'NOOfTrips', 'class' => 'form-control num', 'onchange' => 'calculateFreight(0);');
echo form_input($data);
?>
</div>
</div>
<!-- cgst --> <!-- cgst -->
<div class="form-row"> <div class="form-row">
<div class="form-group col-md-8"></div> <div class="form-group col-md-6"></div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>CGST In %</label> <label>CGST In %</label>
<?php <?php
$data = array('name' => 'Cgst', 'value' => set_value('Cgst', 0), 'id' => 'Cgst', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'change();RevenueChangeSgst();'); $data = array('name' => 'Cgst', 'value' => set_value('Cgst', 0), 'id' => 'Cgst', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'change();RevenueChangeSgst();');
echo form_input($data); echo form_input($data);
?> ?>
</div> </div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>CGST Amt <?php echo "($INRSYM)" ?></label> <label>CGST Amt <?php echo "($INRSYM)" ?></label>
<?php <?php
$data = array('name' => 'AfterCgst', 'value' => set_value('AfterCgst', 0.00), 'id' => 'AfterCgst', 'class' => 'form-control num', 'readonly' => 'true'); $data = array('name' => 'AfterCgst', 'value' => set_value('AfterCgst', 0.00), 'id' => 'AfterCgst', 'class' => 'form-control num', 'readonly' => 'true');
@ -2663,15 +2700,15 @@ if (!empty($INRSYMBOL)) {
<!-- sgst --> <!-- sgst -->
<div class="form-row" id="SGSTAddModel"> <div class="form-row" id="SGSTAddModel">
<div class="form-group col-md-8"></div> <div class="form-group col-md-6"></div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>SGST In %</label> <label>SGST In %</label>
<?php <?php
$data = array('name' => 'Sgst', 'value' => set_value('Sgst', 0), 'id' => 'Sgst', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'change();'); $data = array('name' => 'Sgst', 'value' => set_value('Sgst', 0), 'id' => 'Sgst', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'change();');
echo form_input($data); echo form_input($data);
?> ?>
</div> </div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>SGST Amt <?php echo "($INRSYM)" ?></label> <label>SGST Amt <?php echo "($INRSYM)" ?></label>
<?php <?php
$data = array('name' => 'AfterSgst', 'value' => set_value('AfterSgst', 0.00), 'id' => 'AfterSgst', 'class' => 'form-control num', 'readonly' => 'true'); $data = array('name' => 'AfterSgst', 'value' => set_value('AfterSgst', 0.00), 'id' => 'AfterSgst', 'class' => 'form-control num', 'readonly' => 'true');
@ -2680,15 +2717,15 @@ if (!empty($INRSYMBOL)) {
</div> </div>
</div> </div>
<div class="form-row" id="IGSTAddModel" style="display:none;"> <div class="form-row" id="IGSTAddModel" style="display:none;">
<div class="form-group col-md-8"></div> <div class="form-group col-md-6"></div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>IGST In %</label> <label>IGST In %</label>
<?php <?php
$data = array('name' => 'Igst', 'value' => set_value('Igst', 0), 'id' => 'Igst', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'change();'); $data = array('name' => 'Igst', 'value' => set_value('Igst', 0), 'id' => 'Igst', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'change();');
echo form_input($data); echo form_input($data);
?> ?>
</div> </div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>IGST Amt <?php echo "($INRSYM)" ?></label> <label>IGST Amt <?php echo "($INRSYM)" ?></label>
<?php <?php
$data = array('name' => 'AfterIgst', 'value' => set_value('AfterIgst', 0.00), 'id' => 'AfterIgst', 'class' => 'form-control num', 'readonly' => 'true'); $data = array('name' => 'AfterIgst', 'value' => set_value('AfterIgst', 0.00), 'id' => 'AfterIgst', 'class' => 'form-control num', 'readonly' => 'true');
@ -2698,8 +2735,8 @@ if (!empty($INRSYMBOL)) {
</div> </div>
<div class="form-row"> <div class="form-row">
<div class="form-group col-md-8"></div> <div class="form-group col-md-9"></div>
<div class="form-group col-md-4"> <div class="form-group col-md-3">
<label> Insurance <?php echo "($INRSYM)" ?> (if Any)</label> <label> Insurance <?php echo "($INRSYM)" ?> (if Any)</label>
<?php <?php
$data = array('name' => 'txtInsurance', 'value' => set_value('txtInsurance', 0.00), 'id' => 'txtInsurance', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'calculateTotalValue(0);'); $data = array('name' => 'txtInsurance', 'value' => set_value('txtInsurance', 0.00), 'id' => 'txtInsurance', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'calculateTotalValue(0);');
@ -2709,8 +2746,8 @@ if (!empty($INRSYMBOL)) {
</div> </div>
<div class="form-row"> <div class="form-row">
<div class="form-group col-md-8"></div> <div class="form-group col-md-9"></div>
<div class="form-group col-md-4 "> <div class="form-group col-md-3 ">
<label><?php echo "Total Order Amt ($INRSYM)"; ?></label> <label><?php echo "Total Order Amt ($INRSYM)"; ?></label>
<?php <?php
$data = array('name' => 'txtTotalOrderValue', 'value' => set_value('txtTotalOrderValue', 0.00), 'id' => 'txtTotalOrderValue', 'class' => 'form-control num', 'readonly' => 'true'); $data = array('name' => 'txtTotalOrderValue', 'value' => set_value('txtTotalOrderValue', 0.00), 'id' => 'txtTotalOrderValue', 'class' => 'form-control num', 'readonly' => 'true');
@ -2741,11 +2778,14 @@ if (!empty($INRSYMBOL)) {
</div> </div>
</div> </div>
</div><!-- /.modal --> </div><!-- /.modal -->
</div>
<!-- Edit Model for revenue po --> <!-- Edit Model for revenue po -->
<div align="center">
<div id="EDITREVENUE" class="modal fade" tabindex="-1" role="dialog" <div id="EDITREVENUE" 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" align="left" style="width:1060px;">
<div class="modal-header"> <div class="modal-header">
<h4 class="modal-title">Edit Revenue Purchase Order Line Item </h4> <h4 class="modal-title">Edit Revenue Purchase Order Line Item </h4>
<button type="button" class="close" data-dismiss="modal" <button type="button" class="close" data-dismiss="modal"
@ -2795,7 +2835,7 @@ if (!empty($INRSYMBOL)) {
</div> </div>
</div> </div>
<div class="form-row"> <div class="form-row">
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>Item Code<span class="text-danger">*</span></label> <label>Item Code<span class="text-danger">*</span></label>
<div> <div>
<?php <?php
@ -2807,7 +2847,7 @@ if (!empty($INRSYMBOL)) {
?> ?>
</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 class="form-group"> <div class="form-group">
<?php <?php
@ -2816,7 +2856,7 @@ if (!empty($INRSYMBOL)) {
?> ?>
</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 class="form-group"> <div class="form-group">
<?php <?php
@ -2825,7 +2865,7 @@ if (!empty($INRSYMBOL)) {
?> ?>
</div> </div>
</div> </div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>Quantity<span class="text-danger">*</span></label> <label>Quantity<span class="text-danger">*</span></label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -2834,7 +2874,13 @@ if (!empty($INRSYMBOL)) {
?> ?>
</div> </div>
</div> </div>
<div class="form-group col-md-2">
</div>
<div class="form-row">
<div class="form-group col-md-3"></div>
<div class="form-group col-md-3">
<label><?php echo "Rate ($INRSYM)" ?><span class="text-danger">*</span></label> <label><?php echo "Rate ($INRSYM)" ?><span class="text-danger">*</span></label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -2843,12 +2889,12 @@ if (!empty($INRSYMBOL)) {
?> ?>
</div> </div>
</div> </div>
<div class="form-group col-md-1"> <div class="form-group col-md-3">
<label>Per</label> <?php <label>Per</label> <?php
$data = array('name' => 'EditPer', 'value' => set_value('EditPer'), 'id' => 'EditPer', 'class' => 'form-control'); $data = array('name' => 'EditPer', 'value' => set_value('EditPer'), 'id' => 'EditPer', 'class' => 'form-control');
echo form_input($data); ?> echo form_input($data); ?>
</div> </div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label><?php echo "Basic Amt ($INRSYM)" ?></label> <label><?php echo "Basic Amt ($INRSYM)" ?></label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -2857,12 +2903,11 @@ if (!empty($INRSYMBOL)) {
?> ?>
</div> </div>
</div> </div>
</div> </div>
<div class="form-row"> <div class="form-row">
<div class="col-md-4"></div> <div class="col-md-3"></div>
<div class="col-md-4"> <div class="col-md-3">
<label>Discount Type </label> <label>Discount Type </label>
<div> <div>
<?php <?php
@ -2883,7 +2928,7 @@ if (!empty($INRSYMBOL)) {
?> ?>
</div> </div>
</div> </div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>Discount Rate </label> <label>Discount Rate </label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -2892,7 +2937,7 @@ if (!empty($INRSYMBOL)) {
?> ?>
</div> </div>
</div> </div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>Discounted Amt <?php echo "($INRSYM)" ?> </label> <label>Discounted Amt <?php echo "($INRSYM)" ?> </label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -2902,9 +2947,10 @@ if (!empty($INRSYMBOL)) {
</div> </div>
</div> </div>
</div> </div>
<div class="form-row" style="text-align:left;"> <div class="form-row" style="text-align:left;">
<div class="col-md-4"></div> <div class="col-md-3"></div>
<div class="col-md-4"> <div class="col-md-3">
<label>Packaging Type </label> <label>Packaging Type </label>
<div> <div>
<?php <?php
@ -2925,7 +2971,7 @@ if (!empty($INRSYMBOL)) {
?> ?>
</div> </div>
</div> </div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>Packaging Rate </label> <label>Packaging Rate </label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -2934,7 +2980,7 @@ if (!empty($INRSYMBOL)) {
?> ?>
</div> </div>
</div> </div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>Packaging Amt <?php echo "($INRSYM)" ?> </label> <label>Packaging Amt <?php echo "($INRSYM)" ?> </label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -2944,9 +2990,10 @@ if (!empty($INRSYMBOL)) {
</div> </div>
</div> </div>
</div> </div>
<div class="form-row"> <div class="form-row">
<div class="col-md-4"></div> <div class="col-md-3"></div>
<div class="col-md-4"> <div class="col-md-3">
<label>Freight Type </label> <label>Freight Type </label>
<?php <?php
$options = array("0" => 'Select Freight Type'); $options = array("0" => 'Select Freight Type');
@ -2958,31 +3005,37 @@ if (!empty($INRSYMBOL)) {
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-2" id="EditTripsValue" style="display:none;"> <div class="form-group col-md-3">
<label>NO Of Trips</label>
<?php
$data = array('name' => 'EditNOOfTrips', 'value' => set_value('EditNOOfTrips'), 'id' => 'EditNOOfTrips', 'class' => 'form-control num', 'onchange' => 'calculateFreight(1);');
echo form_input($data);
?>
</div>
<div class="form-group col-md-2">
<label>Freight Rate </label> <label>Freight Rate </label>
<?php <?php
$data = array('name' => 'txtEditFreight', 'value' => set_value('txtEditFreight'), 'id' => 'txtEditFreight', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'Editchange();', 'style' => 'text-align:right;'); $data = array('name' => 'txtEditFreight', 'value' => set_value('txtEditFreight'), 'id' => 'txtEditFreight', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'Editchange();', 'style' => 'text-align:right;');
echo form_input($data); echo form_input($data);
?> ?>
</div> </div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>Freight Amt <?php echo "($INRSYM)" ?></label> <label>Freight Amt <?php echo "($INRSYM)" ?></label>
<?php <?php
$data = array('name' => 'txtEditAfterFreight', 'value' => set_value('txtEditAfterFreight'), 'id' => 'txtEditAfterFreight', 'class' => 'form-control num', 'readonly' => 'true', 'style' => 'text-align:right;'); $data = array('name' => 'txtEditAfterFreight', 'value' => set_value('txtEditAfterFreight'), 'id' => 'txtEditAfterFreight', 'class' => 'form-control num', 'readonly' => 'true', 'style' => 'text-align:right;');
echo form_input($data); echo form_input($data);
?> ?>
</div> </div>
</div> </div>
<div class="form-row"> <div class="form-row">
<div class="form-group col-md-8"></div> <div class="col-md-9"></div>
<div class="form-group col-md-2"> <div class="form-group col-md-3" id="EditTripsValue" style="display:none;">
<label>NO Of Trips</label>
<?php
$data = array('name' => 'EditNOOfTrips', 'value' => set_value('EditNOOfTrips'), 'id' => 'EditNOOfTrips', 'class' => 'form-control num', 'onchange' => 'calculateFreight(1);');
echo form_input($data);
?>
</div>
</div>
<div class="form-row">
<div class="form-group col-md-6"></div>
<div class="form-group col-md-3">
<label>CGST In %</label> <label>CGST In %</label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -2991,7 +3044,7 @@ if (!empty($INRSYMBOL)) {
?> ?>
</div> </div>
</div> </div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>CGST Amt <?php echo "($INRSYM)" ?></label> <label>CGST Amt <?php echo "($INRSYM)" ?></label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -3005,8 +3058,8 @@ if (!empty($INRSYMBOL)) {
<div class="form-row" id="SGSTEditModel"> <div class="form-row" id="SGSTEditModel">
<div class="form-group col-md-8"></div> <div class="form-group col-md-6"></div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>SGST In %</label> <label>SGST In %</label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -3015,7 +3068,7 @@ if (!empty($INRSYMBOL)) {
?> ?>
</div> </div>
</div> </div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>SGST Amt <?php echo "($INRSYM)" ?></label> <label>SGST Amt <?php echo "($INRSYM)" ?></label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -3026,10 +3079,11 @@ if (!empty($INRSYMBOL)) {
</div> </div>
</div> </div>
<div class="form-row" style="text-align:left;"> <div class="form-row" style="text-align:left;">
<div id="IGSTEditModel" style="display:none;"> <div id="IGSTEditModel" style="display:none;">
<div class="col-md-8"></div> <div class="col-md-6"></div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>IGST In %</label> <label>IGST In %</label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -3038,7 +3092,7 @@ if (!empty($INRSYMBOL)) {
?> ?>
</div> </div>
</div> </div>
<div class="form-group col-md-2"> <div class="form-group col-md-3">
<label>IGST Amt <?php echo "($INRSYM)" ?></label> <label>IGST Amt <?php echo "($INRSYM)" ?></label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -3051,8 +3105,8 @@ if (!empty($INRSYMBOL)) {
</div> </div>
<div class="form-row"> <div class="form-row">
<div class="form-group col-md-8"></div> <div class="form-group col-md-9"></div>
<div class="form-group col-md-4"> <div class="form-group col-md-3">
<label> Insurance Amt <?php echo "($INRSYM)" ?> (if Any)</label> <label> Insurance Amt <?php echo "($INRSYM)" ?> (if Any)</label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -3064,9 +3118,10 @@ if (!empty($INRSYMBOL)) {
</div> </div>
<div class="form-row"> <div class="form-row">
<div class="form-group col-md-8"></div> <div class="form-group col-md-9"></div>
<div class="form-group col-md-4"> <div class="form-group col-md-3">
<div class="form-group"> <div class="form-group">
<label><?php echo "Total Order Amt ($INRSYM)"; ?></label> <label><?php echo "Total Order Amt ($INRSYM)"; ?></label>
<?php <?php
@ -3076,6 +3131,7 @@ if (!empty($INRSYMBOL)) {
</div> </div>
</div> </div>
</div> </div>
<div class="form-row"> <div class="form-row">
<div class="form-group col-md-12"> <div class="form-group col-md-12">
<label><?php echo "Reveneue Description"; ?></label> <label><?php echo "Reveneue Description"; ?></label>
@ -3087,7 +3143,7 @@ if (!empty($INRSYMBOL)) {
</div> </div>
</div> </div>
</div> </div>
<div class="modal-footer" style="border:none;> <div class="modal-footer" style="border:none;">
<a class=" btn btn-secondary waves-effect" data-dismiss="modal" value="Cancel">Cancel</a>&nbsp;&nbsp;&nbsp;&nbsp; <a class=" btn btn-secondary waves-effect" data-dismiss="modal" value="Cancel">Cancel</a>&nbsp;&nbsp;&nbsp;&nbsp;
<a class="btn btn-info waves-effect waves-light EditRevenue" ID="EditRevenue"> &nbsp;&nbsp;<span class="bold">Edit Revenue</span></a> <a class="btn btn-info waves-effect waves-light EditRevenue" ID="EditRevenue"> &nbsp;&nbsp;<span class="bold">Edit Revenue</span></a>
</div> </div>
@ -3095,6 +3151,8 @@ if (!empty($INRSYMBOL)) {
</div> </div>
</div> </div>
</div><!-- /.modal --> </div><!-- /.modal -->
</div>

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 align="center">
<div id="SERVICE" class="modal fade" tabindex="-1" role="dialog" <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">
@ -1352,17 +1383,23 @@ if (!empty($INRSYMBOL)) {
</div> </div>
</div> </div>
</div>
</div><!-- /.modal --> </div><!-- /.modal -->
<div align="center">
<div id="EDITSERVICE" class="modal fade" tabindex="-1" role="dialog" <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>
@ -1621,6 +1660,9 @@ if (!empty($INRSYMBOL)) {
</div><!-- /.modal --> </div><!-- /.modal -->
</div>
<!-- <script type="text/html" id="ServiceList"> <!-- <script type="text/html" id="ServiceList">
<tr id="<%=index%>"> <tr id="<%=index%>">
<td align="left"><%=index%></td> <td align="left"><%=index%></td>