Merge branch 'new_theme' of bitbucket.org:venbainformationtechnology/ria into new_theme
This commit is contained in:
commit
a1acecad41
@ -1085,7 +1085,7 @@ if (!empty($getlogpodtl)) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive" style="padding-bottom: 30px;">
|
||||||
<table id="ServiceTable" class="table table-striped table-hover mb-0" style="font-size:12px;">
|
<table id="ServiceTable" class="table table-striped table-hover mb-0" style="font-size:12px;">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -1437,7 +1437,9 @@ if (!empty($getlogpodtl)) {
|
|||||||
<input type="hidden" id="PrePOFile" name="PrePOFile" value="<?php echo $PrePOFile; ?>" /><br>
|
<input type="hidden" id="PrePOFile" name="PrePOFile" value="<?php echo $PrePOFile; ?>" /><br>
|
||||||
</div> <input type="hidden" name="txtPONO" id="txtPONO" value="<?php echo $PONO; ?>" />
|
</div> <input type="hidden" name="txtPONO" id="txtPONO" value="<?php echo $PONO; ?>" />
|
||||||
<input type="hidden" name="txtStatus" id="txtStatus" />
|
<input type="hidden" name="txtStatus" id="txtStatus" />
|
||||||
<input type="hidden" name="txtRowCount" id="txtRowCount" value="<?php if(isset($index)){ echo $index; }?>">
|
<input type="hidden" name="txtRowCount" id="txtRowCount" value="<?php if (isset($index)) {
|
||||||
|
echo $index;
|
||||||
|
} ?>">
|
||||||
<input type="hidden" name="txtDeletedRow" id="txtDeletedRow" />
|
<input type="hidden" name="txtDeletedRow" id="txtDeletedRow" />
|
||||||
|
|
||||||
<input type="hidden" name="Budget" id="Budget" value="<?php echo $BudgetType; ?>" />
|
<input type="hidden" name="Budget" id="Budget" value="<?php echo $BudgetType; ?>" />
|
||||||
@ -1461,11 +1463,15 @@ if (!empty($getlogpodtl)) {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<label>Request On : </label><?php if(isset($Reqon)){ echo $Reqon; } ?><br />
|
<label>Request On : </label><?php if (isset($Reqon)) {
|
||||||
<?php if(isset($RequesterName)){ if ($RequesterName != '' || $RequesterName != null) { ?>
|
echo $Reqon;
|
||||||
|
} ?><br />
|
||||||
|
<?php if (isset($RequesterName)) {
|
||||||
|
if ($RequesterName != '' || $RequesterName != null) { ?>
|
||||||
<label>Request By : </label><?php echo $RequesterName; ?><br />
|
<label>Request By : </label><?php echo $RequesterName; ?><br />
|
||||||
<?php
|
<?php
|
||||||
}} ?>
|
}
|
||||||
|
} ?>
|
||||||
<!-- <label>Status : </label><?php echo $StatusName; ?> -->
|
<!-- <label>Status : </label><?php echo $StatusName; ?> -->
|
||||||
<label>Status : </label><?php
|
<label>Status : </label><?php
|
||||||
$statusMappings = [
|
$statusMappings = [
|
||||||
@ -1493,9 +1499,9 @@ if (!empty($getlogpodtl)) {
|
|||||||
</div>
|
</div>
|
||||||
</div> <!-- container -->
|
</div> <!-- container -->
|
||||||
</div> <!-- content -->
|
</div> <!-- content -->
|
||||||
</div>
|
</div>
|
||||||
<!-- Model for servicepo -->
|
<!-- Model for servicepo -->
|
||||||
<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-full-width">
|
<div class="modal-dialog modal-full-width">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
@ -1729,16 +1735,16 @@ if (!empty($getlogpodtl)) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<a class="btn btn-success" data-dismiss="modal" value="Cancel">Cancel</a>
|
<a class="btn btn-success" data-dismiss="modal" value="Cancel" style="margin-right:10px;">Cancel</a>
|
||||||
<a class="btn btn-success font AddService" ID="AddService"><span class="bold">Add Service</span></a>
|
<a class="btn btn-success font AddService" ID="AddService"><span class="bold">Add Service</span></a>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- Service Special PO Modal Starts Here -->
|
<!-- Service Special PO Modal Starts Here -->
|
||||||
<div id="EditServiceSplPOModel" class="modal fade" tabindex="-1" role="dialog"
|
<div id="EditServiceSplPOModel" 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">
|
||||||
@ -1769,11 +1775,11 @@ if (!empty($getlogpodtl)) {
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /.modal -->
|
</div><!-- /.modal -->
|
||||||
<!-- Service Special PO Modal Ends Here -->
|
<!-- Service Special PO Modal Ends Here -->
|
||||||
|
|
||||||
<!-- Edit Service Modal content Starts Here-->
|
<!-- Edit Service Modal content Starts Here-->
|
||||||
<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-full-width">
|
<div class="modal-dialog modal-full-width">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
@ -2033,10 +2039,10 @@ if (!empty($getlogpodtl)) {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- Edit Service Modal content Ends Here-->
|
<!-- Edit Service Modal content Ends Here-->
|
||||||
<!-- View Service Modal content Starts Here-->
|
<!-- View Service Modal content Starts Here-->
|
||||||
<div id="VIEWSERVICE" class="modal fade" tabindex="-1" role="dialog"
|
<div id="VIEWSERVICE" 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">
|
||||||
@ -2313,13 +2319,13 @@ if (!empty($getlogpodtl)) {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /.modal -->
|
</div><!-- /.modal -->
|
||||||
<!-- View Service Modal content Ends Here-->
|
<!-- View Service Modal content Ends Here-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- <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>
|
||||||
<td align="left"><%=ReqNo%></td>
|
<td align="left"><%=ReqNo%></td>
|
||||||
@ -2336,8 +2342,10 @@ if (!empty($getlogpodtl)) {
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</script> -->
|
</script> -->
|
||||||
<script>
|
<script>
|
||||||
var index = <?php if(isset($index)){ echo $index; } ?>;
|
var index = <?php if (isset($index)) {
|
||||||
|
echo $index;
|
||||||
|
} ?>;
|
||||||
var userid = '';
|
var userid = '';
|
||||||
var SelectedMaterialCode = [];
|
var SelectedMaterialCode = [];
|
||||||
var CollIndex = 0;
|
var CollIndex = 0;
|
||||||
@ -2442,26 +2450,25 @@ if (!empty($getlogpodtl)) {
|
|||||||
<td align="left">${Reqnumber}</td>
|
<td align="left">${Reqnumber}</td>
|
||||||
<td align="left">${materialCode}</td>
|
<td align="left">${materialCode}</td>
|
||||||
<td align="left">${materialName}</td>
|
<td align="left">${materialName}</td>
|
||||||
<td align="left">${quantity}</td>
|
<td align="right">${quantity}</td>
|
||||||
<td align="left">${uom}</td>
|
<td align="left">${uom}</td>
|
||||||
<td align="left">${itemRate}</td>
|
<td align="right">${itemRate}</td>
|
||||||
<td align="left">${basicval}</td>
|
<td align="right">${basicval}</td>
|
||||||
<td align="left">${TotalTaxValue}</td>
|
<td align="right">${TotalTaxValue}</td>
|
||||||
<td align="left">${TotalOrderValue}</td>
|
<td align="right">${TotalOrderValue}</td>
|
||||||
<td>
|
<td>
|
||||||
<a data-target='#EDITSERVICE' data-id="${temp}" data-userid="${temp}" data-toggle="modal" href="#EDITSERVICE">
|
<a data-target='#EDITSERVICE' data-id="${temp}" data-userid="${temp}" data-toggle="modal" href="#EDITSERVICE">
|
||||||
<i class="ri-pencil-fill" data-toggle="tooltip" ></i>
|
<i class="ri-pencil-fill" data-toggle="tooltip" ></i>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a href='#' onclick="DeleteRow(${temp})" class="link" data-id="${temp}" data-userid="${temp}" id="Del">
|
<a href='#' onclick="DeleteRow(${temp})" class="link" data-id="${temp}" data-userid="${temp}" id="Del">
|
||||||
<span class="ri-delete-bin-7-fill"></span>
|
<span class="ri-delete-bin-7-fill"></span>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
// Append the generated HTML to your table body
|
// Append the generated HTML to your table body
|
||||||
$('#ServiceAppend').append(rowHtml);
|
$('#ServiceAppend').append(rowHtml);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -2495,6 +2502,9 @@ $('#ServiceAppend').append(rowHtml);
|
|||||||
|
|
||||||
$('#txtRowCount').val(temp);
|
$('#txtRowCount').val(temp);
|
||||||
clearServiceModalFields();
|
clearServiceModalFields();
|
||||||
|
setTimeout(() => {
|
||||||
|
$('#SERVICE').modal('hide');
|
||||||
|
}, 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
@ -2951,8 +2961,8 @@ $('#ServiceAppend').append(rowHtml);
|
|||||||
|
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
function Save(status) {
|
function Save(status) {
|
||||||
if (status == '0') {
|
if (status == '0') {
|
||||||
stat = '<?php echo PO_DRAFT; ?>';
|
stat = '<?php echo PO_DRAFT; ?>';
|
||||||
@ -3009,20 +3019,21 @@ $('#ServiceAppend').append(rowHtml);
|
|||||||
processData: false,
|
processData: false,
|
||||||
contentType: false,
|
contentType: false,
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
if (data) {
|
console.log(data);
|
||||||
// $('#content').loader('hide');
|
// if (data) {
|
||||||
alert(data);
|
// // $('#content').loader('hide');
|
||||||
$('#txtRowCount').val('');
|
// alert(data);
|
||||||
$('#txtDeletedRow').val('');
|
// $('#txtRowCount').val('');
|
||||||
$('#txtStatus').val('');
|
// $('#txtDeletedRow').val('');
|
||||||
$('#SpcialInstruction').val('');
|
// $('#txtStatus').val('');
|
||||||
$('#txtDeliveryAddress').val('')
|
// $('#SpcialInstruction').val('');
|
||||||
window.location = "purchaseorderListing";
|
// $('#txtDeliveryAddress').val('')
|
||||||
|
// window.location = "purchaseorderListing";
|
||||||
|
|
||||||
} else {
|
// } else {
|
||||||
// $('#content').loader('hide');
|
// // $('#content').loader('hide');
|
||||||
alert("Error");
|
// alert("Error");
|
||||||
}
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3420,7 +3431,8 @@ $('#ServiceAppend').append(rowHtml);
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
});});
|
});
|
||||||
|
});
|
||||||
$("#insuranceStatus").change(function() {
|
$("#insuranceStatus").change(function() {
|
||||||
var InsNo = '<?php echo $InsuranceNumber; ?>';
|
var InsNo = '<?php echo $InsuranceNumber; ?>';
|
||||||
|
|
||||||
@ -3501,9 +3513,9 @@ $('#ServiceAppend').append(rowHtml);
|
|||||||
$('#imag').val('');
|
$('#imag').val('');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
function fileupload(counter) {
|
function fileupload(counter) {
|
||||||
var formData = new FormData();
|
var formData = new FormData();
|
||||||
var file = $("#images" + counter).prop('files')[0];
|
var file = $("#images" + counter).prop('files')[0];
|
||||||
@ -3635,8 +3647,8 @@ $('#ServiceAppend').append(rowHtml);
|
|||||||
$("#maint_filename" + number).val(name);
|
$("#maint_filename" + number).val(name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
$('#IsOpenOrder').change(function() {
|
$('#IsOpenOrder').change(function() {
|
||||||
if (this.checked) {
|
if (this.checked) {
|
||||||
$('#ServiceQuantity').val(0);
|
$('#ServiceQuantity').val(0);
|
||||||
@ -3649,4 +3661,4 @@ $('#ServiceAppend').append(rowHtml);
|
|||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@ -36,6 +36,33 @@ if (!empty($INRSYMBOL)) {
|
|||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.inputmask/3.3.4/jquery.inputmask.bundle.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.inputmask/3.3.4/jquery.inputmask.bundle.min.js"></script>
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
|
|
||||||
|
.
|
||||||
|
|
||||||
|
|
||||||
|
.filemodal-dialog {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
min-height: 100vh; /* Ensures the modal is vertically centered */
|
||||||
|
min-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.filemodal-content {
|
||||||
|
width: 90%; /* Responsive width */
|
||||||
|
max-width: 950px; /* Maximum width */
|
||||||
|
max-height: 80vh; /* Ensures it doesn't overflow vertically */
|
||||||
|
overflow-y: auto; /* Enables scrolling inside the modal if content exceeds height */
|
||||||
|
}
|
||||||
|
|
||||||
|
.filemodal-body {
|
||||||
|
max-height: 60vh; /* Set a limit for the modal body */
|
||||||
|
overflow-y: auto; /* Make the body scrollable */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.txtSpcialInstruction{
|
.txtSpcialInstruction{
|
||||||
background-color: #f4f9fb;
|
background-color: #f4f9fb;
|
||||||
}
|
}
|
||||||
@ -2655,7 +2682,7 @@ if (!empty($INRSYMBOL)) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-3" id="otheroptiondiv" style="display:none;">
|
<div class="col-md-3" id="otheroptiondiv" style="display:none;">
|
||||||
<label>Description of Payable Terms<span class="badge mandatory">*</span></label>
|
<label>Description of Payable Terms</label>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'Otherpayment', 'Otherpayment' => set_value('Otherpayment'), 'id' => 'Otherpayment', 'class' => 'form-control', 'required' => 'true');
|
$data = array('name' => 'Otherpayment', 'Otherpayment' => set_value('Otherpayment'), 'id' => 'Otherpayment', 'class' => 'form-control', 'required' => 'true');
|
||||||
@ -2763,7 +2790,7 @@ if (!empty($INRSYMBOL)) {
|
|||||||
|
|
||||||
<!-- Modal for Packing Calculation -->
|
<!-- Modal for Packing Calculation -->
|
||||||
|
|
||||||
<div id="submitmodel" class="modal fade" data-backdrop-limit="1" role="dialog"
|
<div id="submitmodel" class="modal fade" role="dialog"
|
||||||
aria-labelledby="myModalLabel">
|
aria-labelledby="myModalLabel">
|
||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
|
|
||||||
@ -2773,7 +2800,7 @@ if (!empty($INRSYMBOL)) {
|
|||||||
<h4 class="modal-title">Material has been Received<span id="WeightTitle"></span></h4>
|
<h4 class="modal-title">Material has been Received<span id="WeightTitle"></span></h4>
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body " style="padding:0px; max-height: 400px; overflow-y: auto;">
|
||||||
<form>
|
<form>
|
||||||
<div class="modal-body p-4">
|
<div class="modal-body p-4">
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
@ -2798,146 +2825,82 @@ if (!empty($INRSYMBOL)) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="filemodel" class="modal fade" data-backdrop-limit="1" role="dialog"
|
|
||||||
aria-labelledby="myModalLabel">
|
|
||||||
<div class="modal-dialog">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div id="filemodel" class="modal fade " tabindex="-1" data-backdrop="true" role="dialog" aria-labelledby="myModalLabel">
|
||||||
|
<div class="modal-dialog filemodal-dialog">
|
||||||
<!-- Modal content-->
|
<!-- Modal content-->
|
||||||
<div class="modal-content" style="width:950px;">
|
<div class="modal-content filemodal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
|
|
||||||
<h4 class="modal-title">Add Bill Details</h4>
|
<h4 class="modal-title">Add Bill Details</h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body" style="padding:0px;">
|
<div class="modal-body filemodal-body">
|
||||||
<!-- <div class="col-md-4 pad"><strong>Select Item Code</strong>
|
<form action="">
|
||||||
<select id="emergencyitemcode" name="emergencyitemcode" class = "form-control select2">
|
<div class="row">
|
||||||
<!-- <option value="1"> select material code</option>
|
<div class="col-md-10 m-2 "><strong>Delivery Challan /Inv No</strong>
|
||||||
</select>
|
<input type="text" name="ChallanInvNo" id="ChallanInvNo" maxlength="12" class="form-control" value="" required onkeypress="return isNumberKey(event)">
|
||||||
|
|
||||||
</div>-->
|
|
||||||
<div class="col-md-4 pad"><strong>Delivery Challan /Inv No</strong>
|
|
||||||
<input type="text" name="ChallanInvNo" id="ChallanInvNo" maxlength="12"
|
|
||||||
class="form-control" value="" required onkeypress="return isNumberKey(event)">
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4 pad"><strong>Delivery Challan /Inv Date</strong>
|
<div class="col-md-10 m-2 "><strong>Delivery Challan /Inv Date</strong>
|
||||||
<!-- <input type="Date" name="Date1" onkeypress="return onlyAlphabets(event);" maxlength="100" id="Date1" class="form-control" required value="2"> -->
|
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'Date1', 'value' => set_value('Date1', $CurrentDate), 'id' => 'Date1', 'class' => 'form-control num', 'required' => 'true');
|
$data = array('name' => 'Date1', 'value' => set_value('Date1', $CurrentDate), 'id' => 'Date1', 'class' => 'form-control num', 'required' => 'true');
|
||||||
echo form_input($data); ?>
|
echo form_input($data); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4 pad"> <strong>Material Received Date</strong>
|
<div class="col-md-10 m-2 "><strong>Material Received Date</strong>
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'MRC', 'value' => set_value('MRC', $CurrentDate), 'id' => 'MRC', 'class' => 'form-control num', 'required' => 'true');
|
$data = array('name' => 'MRC', 'value' => set_value('MRC', $CurrentDate), 'id' => 'MRC', 'class' => 'form-control num', 'required' => 'true');
|
||||||
echo form_input($data); ?>
|
echo form_input($data); ?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="col-md-4 pad"><strong>Advise Quantity</strong>
|
<div class="col-md-10 m-2 "><strong>Vehicle No</strong>
|
||||||
<input type="text" name="AQuantity" id="AQuantity" maxlength="12" class="form-control" value="" required>
|
<input type="text" name="VehicleNo" id="VehicleNo" maxlength="13" class="form-control" value="" required>
|
||||||
</div> -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" id="tablevalues" value="sample" name="tablevalues" />
|
|
||||||
|
|
||||||
<input type="hidden" id="splrow" value="sample" name="splrow" />
|
|
||||||
|
|
||||||
<div class="col-md-4 pad"><strong>Vehicle No</strong>
|
|
||||||
<input type="text" name="VehicleNo" id="VehicleNo" maxlength="13"
|
|
||||||
class="form-control" value="" required>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4 pad"><strong>Courier No</strong>
|
<div class="col-md-10 m-2 "><strong>Courier No</strong>
|
||||||
<input type="text" name="CourierNo" id="CourierNo" maxlength="12"
|
<input type="text" name="CourierNo" id="CourierNo" maxlength="12" class="form-control" value="" required>
|
||||||
class="form-control" value="" required>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-4" id="QualityChecked"><strong>Is Quality Check Required</strong>
|
<div class="col-md-10 m-2 " id="QualityChecked"><strong>Is Quality Check Required</strong>
|
||||||
<div class="radio">
|
<div class="radio m-2">
|
||||||
<label><input type="radio" name="Quality" checked="checked" value='0'
|
<label><input type="radio" name="Quality" checked="checked" value='0' id="Quality">Yes</label>
|
||||||
id="Quality">Yes</label>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="radio">
|
<div class="radio m-2">
|
||||||
<label><input type="radio" name="Quality" id="Quality" value='1'>No</label>
|
<label><input type="radio" name="Quality" id="Quality" value='1'>No</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- <div class="col-md-5">
|
|
||||||
<input type = "file" size = "20" input accept=".docx,.pdf,.doc.JPG,.PNG,.jpg" id="imag" name="images" onChange="filecheck();"/>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<label for="images">Select file<br/><small>(only .pdf,.excel,.doc,.png,.jpg)</small></label>
|
|
||||||
</div> -->
|
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
|
|
||||||
<!-- <legend>Multiple File</legend> -->
|
|
||||||
<div class="col-md-offset-10 col-md-1">
|
<div class="col-md-offset-10 col-md-1">
|
||||||
<input type="button" class="btn btn-success" id="addmorebutton"
|
<input type="button" class="btn btn-success" id="addmorebutton" value=" + ADD FILES..">
|
||||||
value=" + ADD FILES..">
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="newdiv"></div><!-- this div for add more section-->
|
<div id="newdiv"></div><!-- this div for add more section-->
|
||||||
<input type="hidden" name="hidecounter" id="hidecounter" value="0" />
|
<input type="hidden" name="hidecounter" id="hidecounter" value="0" />
|
||||||
<input type="hidden" name="hideconstant" id="hideconstant" value="0" />
|
<input type="hidden" name="hideconstant" id="hideconstant" value="0" />
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<table id="specialtable" class="table table-hover table-bordered"
|
|
||||||
style="background-color:#fff;font-size:12px;">
|
|
||||||
|
|
||||||
|
|
||||||
<!--<thead>
|
|
||||||
<tr>
|
|
||||||
<th>MaterialCode1</th>
|
|
||||||
<th>DeliveryChallanDate</th>
|
|
||||||
<th>DeliveryChallanNo</th>
|
|
||||||
<th>VehicleNo</th>
|
|
||||||
<th>CourierNo</th>
|
|
||||||
<th>Quantity12</th>
|
|
||||||
<th>File</th>
|
|
||||||
</tr>
|
|
||||||
</thead>-->
|
|
||||||
|
|
||||||
<tbody id="specialappend">
|
|
||||||
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<div class="modal-footer">
|
|
||||||
<div class="col-md-12 text-right">
|
|
||||||
<!-- <div class="col-md-4">
|
|
||||||
<a class="btn btn-success Add" onclick="addtable();"><span class="bold">Add table</span></a>
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
|
|
||||||
<div class="col-md-4 col-md-offset-8">
|
<div class="col-md-4 col-md-offset-8">
|
||||||
<a class="btn btn-cancel" data-dismiss="modal"
|
<a class="btn btn-cancel" data-dismiss="modal" onclick="SetExciseCalculationCancel();" value="Cancel">Cancel</a>
|
||||||
onclick="SetExciseCalculationCancel();" value="Cancel">Cancel</a>
|
<a class="btn btn-success ok" ID="ExciseOption12" onclick="rfilealert();"> <span class="bold">Submit</span></a>
|
||||||
<a class="btn btn-success ok" ID="ExciseOption12"
|
</div>
|
||||||
onclick="rfilealert();"> <span class="bold">Submit</span></a>
|
</div>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Add more fields if needed -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<div class="col-md-12 text-right">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- </form> -->
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div id="servicemodel" class="modal fade" data-backdrop-limit="1" role="dialog"
|
<div id="servicemodel" class="modal fade" data-backdrop-limit="1" role="dialog"
|
||||||
aria-labelledby="myModalLabel">
|
aria-labelledby="myModalLabel">
|
||||||
@ -6875,6 +6838,7 @@ if (!empty($INRSYMBOL)) {
|
|||||||
$('#OtherAmt' + userid).val(OtherAmt);
|
$('#OtherAmt' + userid).val(OtherAmt);
|
||||||
|
|
||||||
populateValueMainFormForEditServiceTax();
|
populateValueMainFormForEditServiceTax();
|
||||||
|
$('#EDITSERVICE').modal('hide');
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
console.log("in else part...");
|
console.log("in else part...");
|
||||||
|
|||||||
@ -541,7 +541,7 @@
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-3" id="otheroptiondiv" style="display:none;">
|
<div class="form-group col-md-3" id="otheroptiondiv" style="display:none;">
|
||||||
<label>Description of Payable Terms<span class="text-danger">*</span></label>
|
<label>Description of Payable Terms</label>
|
||||||
<div>
|
<div>
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'Otherpayment', 'Otherpayment' => set_value('Otherpayment'), 'id' => 'Otherpayment', 'class' => 'form-control', 'required' => 'true');
|
$data = array('name' => 'Otherpayment', 'Otherpayment' => set_value('Otherpayment'), 'id' => 'Otherpayment', 'class' => 'form-control', 'required' => 'true');
|
||||||
@ -4317,7 +4317,7 @@
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$('#content').loader('show');
|
// $('#content').loader('show');
|
||||||
var formData = new FormData($('.CapitalPO')[0]);
|
var formData = new FormData($('.CapitalPO')[0]);
|
||||||
formData.append('ExchangeRateOn', ExchangeRateOn);
|
formData.append('ExchangeRateOn', ExchangeRateOn);
|
||||||
formData.append('PaymentMethod', PaymentMethod);
|
formData.append('PaymentMethod', PaymentMethod);
|
||||||
@ -4332,7 +4332,7 @@
|
|||||||
success: function(data) {
|
success: function(data) {
|
||||||
alert(data);
|
alert(data);
|
||||||
if (data) {
|
if (data) {
|
||||||
$('#content').loader('hide');
|
// $('#content').loader('hide');
|
||||||
|
|
||||||
$('#txtRowCount').val('');
|
$('#txtRowCount').val('');
|
||||||
$('#txtDeletedRow').val('');
|
$('#txtDeletedRow').val('');
|
||||||
@ -4344,7 +4344,7 @@
|
|||||||
window.location = "purchaseorderListing";
|
window.location = "purchaseorderListing";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$('#content').loader('hide');
|
// $('#content').loader('hide');
|
||||||
alert("Error");
|
alert("Error");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -429,7 +429,7 @@
|
|||||||
endDate.setHours(23, 59, 59, 999);
|
endDate.setHours(23, 59, 59, 999);
|
||||||
|
|
||||||
// Get the date from the DataTable row (assuming it's in the first column in dd-mm-yyyy format)
|
// Get the date from the DataTable row (assuming it's in the first column in dd-mm-yyyy format)
|
||||||
var dateStr = data[0];
|
var dateStr = data[1];
|
||||||
var dateParts = dateStr.split("-");
|
var dateParts = dateStr.split("-");
|
||||||
var rowDate = new Date(dateParts[2], dateParts[1] - 1, dateParts[0]);
|
var rowDate = new Date(dateParts[2], dateParts[1] - 1, dateParts[0]);
|
||||||
|
|
||||||
|
|||||||
@ -174,8 +174,6 @@
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
|
|
||||||
.dataTables_paginate {
|
.dataTables_paginate {
|
||||||
margin-top: -5%;
|
margin-top: -5%;
|
||||||
}
|
}
|
||||||
@ -870,10 +868,10 @@
|
|||||||
|
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="col-md-9" align="right" style="padding:10px">
|
<!-- <div class="col-md-9" align="right" style="padding:10px"> -->
|
||||||
<!-- <input type="checkbox" id="IsOpenOrder" name="IsOpenOrder" value="1"> IS THIS OPEN ORDER FORMAT -->
|
<!-- <input type="checkbox" id="IsOpenOrder" name="IsOpenOrder" value="1"> IS THIS OPEN ORDER FORMAT -->
|
||||||
</div>
|
<!-- </div> -->
|
||||||
<div class="form-group col-md-1" align=" right">
|
<div class="form-group col-md-12" align=" right">
|
||||||
<?php if ($POStatus == PO_DRAFT || $POStatus == PO_CREATED) { ?>
|
<?php if ($POStatus == PO_DRAFT || $POStatus == PO_CREATED) { ?>
|
||||||
<a data-toggle="modal"><button type="submit" onclick="myFunction();" class="btn btn-success" id="abcd">Select Line Item</button> </a>
|
<a data-toggle="modal"><button type="submit" onclick="myFunction();" class="btn btn-success" id="abcd">Select Line Item</button> </a>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
@ -920,19 +918,19 @@
|
|||||||
<td><?php echo $record->ReqNo ?></td>
|
<td><?php echo $record->ReqNo ?></td>
|
||||||
<td><?php echo $record->MaterialCode ?></td>
|
<td><?php echo $record->MaterialCode ?></td>
|
||||||
<td><?php echo $record->MaterialName ?></td>
|
<td><?php echo $record->MaterialName ?></td>
|
||||||
<td><?php echo $record->Quantity ?></td>
|
<td align="right"><?php echo $record->Quantity ?></td>
|
||||||
<td><?php echo $record->UOM ?></td>
|
<td align="right"><?php echo $record->UOM ?></td>
|
||||||
<td><?php echo $record->Rate ?></td>
|
<td align="right"><?php echo $record->Rate ?></td>
|
||||||
<td><?php echo number_format($record->Rate * $record->Quantity, 2, '.', '') ?></td>
|
<td align="right"><?php echo number_format($record->Rate * $record->Quantity, 2, '.', '') ?></td>
|
||||||
<?php if ($CapitalRange == '1') { ?>
|
<?php if ($CapitalRange == '1') { ?>
|
||||||
<td><?php echo $record->ServiceTaxamount; ?></td>
|
<td align="right"><?php echo $record->ServiceTaxamount; ?></td>
|
||||||
<td><?php echo number_format($record->Rate * $record->Quantity + $record->ServiceTaxamount + $record->otherallowance + $record->Afvalue - $record->Afterdiscountval, 2, '.', '') ?></td>
|
<td align="right"><?php echo number_format($record->Rate * $record->Quantity + $record->ServiceTaxamount + $record->otherallowance + $record->Afvalue - $record->Afterdiscountval, 2, '.', '') ?></td>
|
||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if ($CapitalRange == '0') { ?>
|
<?php if ($CapitalRange == '0') { ?>
|
||||||
<td><?php echo '0'; ?></td>
|
<td align="right"><?php echo '0'; ?></td>
|
||||||
|
|
||||||
<td><?php echo number_format($record->Rate * $record->Quantity, 2, '.', '') ?></td>
|
<td align="right"><?php echo number_format($record->Rate * $record->Quantity, 2, '.', '') ?></td>
|
||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
@ -1113,10 +1111,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
if ($POStatus == PO_DRAFT || $POStatus == PO_CREATED) { ?>
|
if ($POStatus == PO_DRAFT || $POStatus == PO_CREATED) { ?>
|
||||||
<td> <a data-target='#EDITCAPITAL' data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" data-toggle="modal" href="#EDITCAPITAL"><i class="ri-pencil-fill" data-toggle="tooltip" ></i> </a> <a href='#' onclick="DeleteRow(<?php echo $index; ?>)" class="link" data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" id="Del"><span class="ri-delete-bin-7-fill"></span></a>
|
<td> <a data-target='#EDITCAPITAL' data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" data-toggle="modal" href="#EDITCAPITAL"><i class="ri-pencil-fill" data-toggle="tooltip"></i> </a> <a href='#' onclick="DeleteRow(<?php echo $index; ?>)" class="link" data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" id="Del"><span class="ri-delete-bin-7-fill"></span></a>
|
||||||
<?php
|
<?php
|
||||||
} else { ?>
|
} else { ?>
|
||||||
<td> <a data-target='#VIEWCAPITAL' data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" data-toggle="modal" href="#VIEWCAPITAL"><i class="fa fa-eye" data-toggle="tooltip" ></i> </a> </td>
|
<td> <a data-target='#VIEWCAPITAL' data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" data-toggle="modal" href="#VIEWCAPITAL"><i class="fa fa-eye" data-toggle="tooltip"></i> </a> </td>
|
||||||
<?php
|
<?php
|
||||||
} ?>
|
} ?>
|
||||||
</tr> <?php
|
</tr> <?php
|
||||||
@ -1520,8 +1518,7 @@
|
|||||||
<form>
|
<form>
|
||||||
<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-5" style="padding:0px;">
|
<div class="form-group col-md-2" style="padding:0px">
|
||||||
<div class="form-group col-md-6" style="padding:0px">
|
|
||||||
<label>Req No<span class="text-danger">*</span></label>
|
<label>Req No<span class="text-danger">*</span></label>
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
@ -1541,7 +1538,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6">
|
<div class="form-group col-md-2">
|
||||||
<label>Department Name</label>
|
<label>Department Name</label>
|
||||||
<div>
|
<div>
|
||||||
<?php
|
<?php
|
||||||
@ -1550,9 +1547,7 @@
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="form-group col-md-2">
|
||||||
<div class="form-group col-md-5">
|
|
||||||
<div class="form-group col-md-6">
|
|
||||||
<label>Cost Center Code</label>
|
<label>Cost Center Code</label>
|
||||||
<div>
|
<div>
|
||||||
<?php
|
<?php
|
||||||
@ -1563,7 +1558,7 @@
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6">
|
<div class="form-group col-md-2">
|
||||||
<label>Avail Bud Amount<?php echo "($INR)" ?></label>
|
<label>Avail Bud Amount<?php echo "($INR)" ?></label>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?php
|
<?php
|
||||||
@ -1572,7 +1567,6 @@
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="form-group col-md-2" id="ExchangeRateModalDiv" style="display:none;padding-right: 0px;">
|
<div class="form-group col-md-2" id="ExchangeRateModalDiv" style="display:none;padding-right: 0px;">
|
||||||
<label> Exchange Rate</label>
|
<label> Exchange Rate</label>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1585,8 +1579,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="form-group col-md-6" style="padding:0px">
|
<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
|
||||||
@ -1595,7 +1588,7 @@
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-2">
|
||||||
<label>Item Name</label>
|
<label>Item Name</label>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?php
|
<?php
|
||||||
@ -1604,8 +1597,7 @@
|
|||||||
?>
|
?>
|
||||||
</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
|
||||||
@ -1614,7 +1606,7 @@
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-2">
|
||||||
<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
|
||||||
@ -1623,10 +1615,7 @@
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="form-group col-md-2" style="padding: 0px;">
|
||||||
<div class="form-group col-md-6" style="padding: 0px;">
|
|
||||||
|
|
||||||
<div class="form-group col-md-4" style="padding: 0px;">
|
|
||||||
<label id="RateIn">Rate(In INR /UOM)</label><span class="text-danger">*</span>
|
<label id="RateIn">Rate(In INR /UOM)</label><span class="text-danger">*</span>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?php
|
<?php
|
||||||
@ -1635,12 +1624,12 @@
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-4">
|
<div class="form-group col-md-1">
|
||||||
<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-4">
|
<div class="form-group col-md-2">
|
||||||
<label id="TotalAmount">Basic value <?php echo "($INR)" ?></label>
|
<label id="TotalAmount">Basic value <?php echo "($INR)" ?></label>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?php
|
<?php
|
||||||
@ -1650,7 +1639,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-row" style="padding:2%">
|
<div class="form-row" style="padding:2%">
|
||||||
<div class="form-row" id="ADDCAPdiv" style="padding:0px;">
|
<div class="form-row" id="ADDCAPdiv" style="padding:0px;">
|
||||||
@ -1877,7 +1865,7 @@
|
|||||||
<div class="form-row" style="padding:1%;"></div>
|
<div class="form-row" style="padding:1%;"></div>
|
||||||
<div class="form-row" style="border:1px solid #000;padding:0px;" id="ModalImportTaxHide" style="display:none;">
|
<div class="form-row" style="border:1px solid #000;padding:0px;" id="ModalImportTaxHide" style="display:none;">
|
||||||
<br />
|
<br />
|
||||||
<div class="form-group col-md-6" style="padding:0px;">
|
<div class="form-group col-md-6" style="padding:10px;">
|
||||||
<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)" ?>
|
Basic Price <?php echo "($INR)" ?>
|
||||||
@ -2008,7 +1996,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6" style="padding:0px;">
|
<div class="form-group col-md-6" style="padding:10px;">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="form-group col-md-4">
|
<div class="form-group col-md-4">
|
||||||
<!-- Subtotal (E)<?php echo "($INR)" ?> -->
|
<!-- Subtotal (E)<?php echo "($INR)" ?> -->
|
||||||
@ -2202,8 +2190,6 @@
|
|||||||
<div class="form-group col-md-4" style="margin-top: -25px;">
|
<div class="form-group col-md-4" style="margin-top: -25px;">
|
||||||
<!-- RMC Including Customers -->
|
<!-- RMC Including Customers -->
|
||||||
<span><?php echo "Nett per UOM($INR)"; ?></span>
|
<span><?php echo "Nett per UOM($INR)"; ?></span>
|
||||||
</div>
|
|
||||||
<div class="form-group col-md-4">
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'Nett', 'value' => set_value('Nett', 0), 'id' => 'Nett', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'readonly' => 'true');
|
$data = array('name' => 'Nett', 'value' => set_value('Nett', 0), 'id' => 'Nett', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'readonly' => 'true');
|
||||||
@ -2211,6 +2197,9 @@
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-group col-md-4">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -2219,19 +2208,18 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row" style="padding: 0px 30px 10px 30px;text-align: left;">
|
|
||||||
|
<div class="form-row" style="padding: 20px 30px 10px 30px;text-align: left;">
|
||||||
|
<div class="form-group col-md-12">
|
||||||
<label>Capital Description </label>
|
<label>Capital Description </label>
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'ItemDescription', 'value' => set_value('ItemDescription'), 'id' => 'ItemDescription', 'class' => 'form-control', 'rows' => '3', 'cols' => '40');
|
$data = array('name' => 'ItemDescription', 'value' => set_value('ItemDescription'), 'id' => 'ItemDescription', 'class' => 'form-control', 'rows' => '3', 'cols' => '40');
|
||||||
echo form_textarea($data); ?>
|
echo form_textarea($data); ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<a class="btn btn-success" data-dismiss="modal" value="Cancel">Cancel</a>
|
<a class="btn btn-success" data-dismiss="modal" value="Cancel" style="margin-right:20px;">Cancel</a>
|
||||||
<a class="btn btn-success font AddCapital" ID="AddCapital"> <span class="bold">Add Capital</span></a>
|
<a class="btn btn-success font AddCapital" ID="AddCapital"> <span class="bold">Add Capital</span></a>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
@ -2585,11 +2573,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="form-row" style="padding:1%;"></div>
|
<div class="form-row" style="padding:1%;"></div>
|
||||||
<div class="form-row" style="border:1px solid #000;padding:0px;" id="EditModalImportTaxHide" style="display:none;">
|
<div class="form-row" style="border:1px solid #000;padding:0px;" id="EditModalImportTaxHide" style="display:none;">
|
||||||
<br />
|
<br />
|
||||||
<div class="form-group col-md-6" style="padding:0px;">
|
<div class="form-group col-md-6" style="padding:10px;">
|
||||||
<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)" ?>
|
Basic Price <?php echo "($INR)" ?>
|
||||||
@ -2720,7 +2707,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6" style="padding:0px;">
|
<div class="form-group col-md-6" style="padding:10px;">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="form-group col-md-4">
|
<div class="form-group col-md-4">
|
||||||
Subtotal (E) <?php echo "($INR) (A+B+C+D)" ?>
|
Subtotal (E) <?php echo "($INR) (A+B+C+D)" ?>
|
||||||
@ -2908,8 +2895,6 @@
|
|||||||
<div class="form-group col-md-4" style="margin-top: -25px;">
|
<div class="form-group col-md-4" style="margin-top: -25px;">
|
||||||
<!-- RMC Including Customers -->
|
<!-- RMC Including Customers -->
|
||||||
<span><?php echo "Nett per UOM($INR)"; ?></span>
|
<span><?php echo "Nett per UOM($INR)"; ?></span>
|
||||||
</div>
|
|
||||||
<div class="form-group col-md-4">
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?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');
|
||||||
@ -2917,6 +2902,9 @@
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-group col-md-4">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -2924,17 +2912,12 @@
|
|||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row" style="padding: 0px 30px 10px 30px;text-align: left;">
|
<div class="form-row" style="padding: 0px 30px 10px 30px;text-align: left;">
|
||||||
<label>Capital Description </label>
|
<label>Capital Description </label>
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'EditItemDescription', 'value' => set_value('EditItemDescription'), 'id' => 'EditItemDescription', 'class' => 'form-control', 'rows' => '3', 'cols' => '40');
|
$data = array('name' => 'EditItemDescription', 'value' => set_value('EditItemDescription'), 'id' => 'EditItemDescription', 'class' => 'form-control', 'rows' => '3', 'cols' => '40');
|
||||||
echo form_textarea($data); ?>
|
echo form_textarea($data); ?>
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<a class="btn btn-success" data-dismiss="modal" value="Cancel">Cancel</a>
|
<a class="btn btn-success" data-dismiss="modal" value="Cancel">Cancel</a>
|
||||||
@ -3627,8 +3610,6 @@
|
|||||||
<div class="form-group col-md-4" style="margin-top: -25px;">
|
<div class="form-group col-md-4" style="margin-top: -25px;">
|
||||||
<!-- RMC Including Customers -->
|
<!-- RMC Including Customers -->
|
||||||
<span><?php echo "Nett per UOM($INR)"; ?></span>
|
<span><?php echo "Nett per UOM($INR)"; ?></span>
|
||||||
</div>
|
|
||||||
<div class="form-group col-md-4">
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'ViewNett', 'value' => set_value('ViewNett'), 'id' => 'ViewNett', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'readonly' => 'true');
|
$data = array('name' => 'ViewNett', 'value' => set_value('ViewNett'), 'id' => 'ViewNett', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'readonly' => 'true');
|
||||||
@ -3636,6 +3617,9 @@
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-group col-md-4">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -4784,15 +4768,12 @@
|
|||||||
<td align="left">${Reqnumber}</td>
|
<td align="left">${Reqnumber}</td>
|
||||||
<td align="left">${materialCode}</td>
|
<td align="left">${materialCode}</td>
|
||||||
<td align="left">${materialName}</td>
|
<td align="left">${materialName}</td>
|
||||||
<td align="left">${quantity}</td>
|
<td align="right">${quantity}</td>
|
||||||
<td align="left">${uom}</td>
|
<td align="right">${uom}</td>
|
||||||
<td align="left">${itemRate}</td>
|
<td align="right">${itemRate}</td>
|
||||||
<td align="left">${basicval}</td>
|
<td align="right">${basicval}</td>
|
||||||
<td align="left">${TotalTaxValue}</td>
|
<td align="right">${TotalTaxValue}</td>
|
||||||
<td align="left">${Total}</td>
|
<td align="right">${Total}</td>
|
||||||
<td align="left">${quantity}</td>
|
|
||||||
<td align="left">0</td>
|
|
||||||
<td align="left">${quantity}</td>
|
|
||||||
<td>
|
<td>
|
||||||
<a data-target='#EDITCAPITAL' data-id="${temp}" data-userid="${temp}" data-toggle="modal" href="#EDITREVENUE">
|
<a data-target='#EDITCAPITAL' data-id="${temp}" data-userid="${temp}" data-toggle="modal" href="#EDITREVENUE">
|
||||||
<i class="ri-pencil-fill" data-toggle="tooltip" ></i>
|
<i class="ri-pencil-fill" data-toggle="tooltip" ></i>
|
||||||
@ -4802,7 +4783,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
// Append the generated row HTML to the target element
|
// Append the generated row HTML to the target element
|
||||||
$('#capitalAppend').append(rowHtml);
|
$('#capitalAppend').append(rowHtml);
|
||||||
@ -4886,6 +4867,7 @@
|
|||||||
|
|
||||||
|
|
||||||
clearCapitalModalFields();
|
clearCapitalModalFields();
|
||||||
|
$('#CAPITAL').modal('hide');
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
@ -5352,7 +5334,7 @@
|
|||||||
url: "<?php echo base_url() ?>purchaseorder/DeletePODetails",
|
url: "<?php echo base_url() ?>purchaseorder/DeletePODetails",
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
if (data) {
|
if (data) {
|
||||||
$('#content').loader('hide');
|
// $('#content').loader('hide');
|
||||||
alert(data);
|
alert(data);
|
||||||
} else {
|
} else {
|
||||||
alert("Error");
|
alert("Error");
|
||||||
@ -5579,6 +5561,10 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
setTimeout(() => {
|
||||||
|
$('#drpFreight').addClass('form-control');
|
||||||
|
|
||||||
|
}, 1000);
|
||||||
/* get Edit Capital Po Modal*/
|
/* get Edit Capital Po Modal*/
|
||||||
|
|
||||||
$("#EDITCAPITAL").on("shown.bs.modal", function(e) {
|
$("#EDITCAPITAL").on("shown.bs.modal", function(e) {
|
||||||
@ -5859,7 +5845,8 @@
|
|||||||
tinyMCE.get('ViewItemDescription').setContent($('#CapitalItemDescrition' + userid).val());
|
tinyMCE.get('ViewItemDescription').setContent($('#CapitalItemDescrition' + userid).val());
|
||||||
|
|
||||||
|
|
||||||
});});
|
});
|
||||||
|
});
|
||||||
|
|
||||||
/*get edit material list*/
|
/*get edit material list*/
|
||||||
$('#EditMaterialCode').change(function() {
|
$('#EditMaterialCode').change(function() {
|
||||||
@ -6000,7 +5987,7 @@
|
|||||||
|
|
||||||
//alert('else');
|
//alert('else');
|
||||||
|
|
||||||
$('#content').loader('show');
|
// $('#content').loader('show');
|
||||||
//alert('ss');
|
//alert('ss');
|
||||||
var formData = new FormData($('.CapitalPO')[0]);
|
var formData = new FormData($('.CapitalPO')[0]);
|
||||||
formData.append('ExchangeRateOn', ExchangeRateOn);
|
formData.append('ExchangeRateOn', ExchangeRateOn);
|
||||||
@ -6016,7 +6003,7 @@
|
|||||||
success: function(data) {
|
success: function(data) {
|
||||||
if (data) {
|
if (data) {
|
||||||
alert(data);
|
alert(data);
|
||||||
$('#content').loader('hide');
|
// $('#content').loader('hide');
|
||||||
|
|
||||||
$('#txtRowCount').val('');
|
$('#txtRowCount').val('');
|
||||||
$('#txtDeletedRow').val('');
|
$('#txtDeletedRow').val('');
|
||||||
@ -6027,7 +6014,7 @@
|
|||||||
window.location = "purchaseorderListing";
|
window.location = "purchaseorderListing";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$('#content').loader('hide');
|
// $('#content').loader('hide');
|
||||||
alert("Error");
|
alert("Error");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -2136,20 +2136,20 @@ if (!empty($getlogpodtl)) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div align="form-group col-md-12" align="right">
|
<div class="form-group col-md-12" align="right">
|
||||||
<?php if ($PONOStatus == PO_DRAFT || $PONOStatus == PO_CREATED || $PONOStatus == PO_APPROVED || $PONOStatus == REQITEM_Emergency_PO_CREATED) { ?>
|
<?php if ($PONOStatus == PO_DRAFT || $PONOStatus == PO_CREATED || $PONOStatus == PO_APPROVED || $PONOStatus == REQITEM_Emergency_PO_CREATED) { ?>
|
||||||
<?php if ($PONOStatus == REQITEM_Emergency_PO_CREATED) { ?>
|
<?php if ($PONOStatus == REQITEM_Emergency_PO_CREATED) { ?>
|
||||||
<input type="checkbox" id="IsOpenOrder" name="IsOpenOrder" value="1" <?php echo $isChecked ? 'checked' : ''; ?>> IS THIS OPEN ORDER FORMAT
|
<input type="checkbox" id="IsOpenOrder" name="IsOpenOrder" value="1" <?php echo $isChecked ? 'checked' : ''; ?>> IS THIS OPEN ORDER FORMAT
|
||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<!-- <a data-toggle="modal" onclick="showmodel();" class=" btn btn-success"> Select Line Item </a> -->
|
<!-- <a data-toggle="modal" onclick="showmodel();" class=" btn btn-success"> Select Line Item </a> -->
|
||||||
<a data-toggle="modal"><button type="submit" onclick="myFunction();" class="btn btn-primary" id="abcd">Select Line Item</button> </a>
|
<a data-toggle="modal"><button type="submit" onclick="myFunction();" class="btn btn-success" id="abcd">Select Line Item</button> </a>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive" style="padding-bottom:30px;">
|
||||||
<table id="revenueTax" class="table table-striped table-hover mb-0" style="font-size:12px;">
|
<table id="revenueTax" class="table table-striped table-hover mb-0" style="font-size:12px;">
|
||||||
<thead>
|
<thead>
|
||||||
|
|
||||||
@ -2262,7 +2262,7 @@ if (!empty($getlogpodtl)) {
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table><br>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
@ -2482,7 +2482,8 @@ if (!empty($getlogpodtl)) {
|
|||||||
<!--################################################################## -->
|
<!--################################################################## -->
|
||||||
<?php if (!empty($update)) { ?>
|
<?php if (!empty($update)) { ?>
|
||||||
<div class="form-row" id="editpodiv">
|
<div class="form-row" id="editpodiv">
|
||||||
<div class="form-row"><label>Editable POScreen</label>
|
<!-- <div class="form-row"> -->
|
||||||
|
<label>Editable POScreen</label>
|
||||||
<table id="edittable" class="table table-hover table-bordered" style="background-color:#fff;font-size:12px;">
|
<table id="edittable" class="table table-hover table-bordered" style="background-color:#fff;font-size:12px;">
|
||||||
<thead style="background-color: #ddd;">
|
<thead style="background-color: #ddd;">
|
||||||
<tr>
|
<tr>
|
||||||
@ -2539,7 +2540,7 @@ if (!empty($getlogpodtl)) {
|
|||||||
?>
|
?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
<!-- </div> -->
|
||||||
</div>
|
</div>
|
||||||
<?php } else {
|
<?php } else {
|
||||||
} ?>
|
} ?>
|
||||||
@ -4021,7 +4022,7 @@ if (!empty($getlogpodtl)) {
|
|||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
`;
|
`;
|
||||||
$('#RevenueAppend').append(rowHtml);
|
$('#RevenueAppend').append(rowHtml);
|
||||||
|
|
||||||
|
|
||||||
@ -4062,9 +4063,9 @@ if (!empty($getlogpodtl)) {
|
|||||||
addHidden(theForm, "per" + temp, PER);
|
addHidden(theForm, "per" + temp, PER);
|
||||||
addHidden(theForm, "service_description" + temp, service_description);
|
addHidden(theForm, "service_description" + temp, service_description);
|
||||||
$('#txtRowCount').val(temp);
|
$('#txtRowCount').val(temp);
|
||||||
// $('#REVENUE').modal('hide');
|
|
||||||
populateValueMainFormForRevenue();
|
populateValueMainFormForRevenue();
|
||||||
clearRevenueModalFields();
|
clearRevenueModalFields();
|
||||||
|
$('#REVENUE').modal('hide');
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
@ -4170,6 +4171,9 @@ if (!empty($getlogpodtl)) {
|
|||||||
$('#service_description' + userid).val(Service_Description);
|
$('#service_description' + userid).val(Service_Description);
|
||||||
|
|
||||||
populateValueMainFormForEditRevenueTax();
|
populateValueMainFormForEditRevenueTax();
|
||||||
|
setTimeout(() => {
|
||||||
|
$('#EDITREVENUE').modal('hide');
|
||||||
|
}, 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
@ -4887,19 +4891,19 @@ if (!empty($getlogpodtl)) {
|
|||||||
processData: false,
|
processData: false,
|
||||||
contentType: false,
|
contentType: false,
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
console.log(data);
|
// console.log(data);
|
||||||
// if (data) {
|
if (data) {
|
||||||
// alert(data);
|
alert(data);
|
||||||
// $('#txtRowCount').val('');
|
$('#txtRowCount').val('');
|
||||||
// $('#txtDeletedRow').val('');
|
$('#txtDeletedRow').val('');
|
||||||
// $('#txtStatus').val('');
|
$('#txtStatus').val('');
|
||||||
// $('#SpcialInstruction').val('');
|
$('#SpcialInstruction').val('');
|
||||||
// $('#txtDeliveryAddress').val('')
|
$('#txtDeliveryAddress').val('')
|
||||||
// window.location = "purchaseorderListing";
|
window.location = "purchaseorderListing";
|
||||||
|
|
||||||
// } else {
|
} else {
|
||||||
// alert("Error");
|
alert("Error");
|
||||||
// }
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
error: function(jqXHR, textStatus, errorThrown) {
|
error: function(jqXHR, textStatus, errorThrown) {
|
||||||
|
|||||||
@ -565,7 +565,7 @@ if (!empty($getlogpodtl)) {
|
|||||||
<label>Purchase Order Date</label>
|
<label>Purchase Order Date</label>
|
||||||
<div >
|
<div >
|
||||||
<?php
|
<?php
|
||||||
$data = array('type' => 'date', 'name' => 'PODate', 'value' => set_value('PODate', $PODate), 'id' => 'PODate', 'class' => 'form-control', 'required' => 'true', 'onkeypress' => 'return false;');
|
$data = array('name' => 'PODate', 'value' => set_value('PODate', $PODate), 'id' => 'PODate', 'class' => 'form-control', 'required' => 'true', 'onkeypress' => 'return false;');
|
||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
?> <input type="hidden" name="b4podate" id="b4podate" value="<?php echo $PODate; ?>">
|
?> <input type="hidden" name="b4podate" id="b4podate" value="<?php echo $PODate; ?>">
|
||||||
</div>
|
</div>
|
||||||
@ -657,7 +657,7 @@ if (!empty($getlogpodtl)) {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-3" id="otheroptiondiv" style="display:none;">
|
<div class="form-group col-md-3" id="otheroptiondiv" style="display:none;">
|
||||||
<label>Description of Payable Terms<span class="text-danger">*</span></label>
|
<label>Description of Payable Terms</label>
|
||||||
<div >
|
<div >
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@ -714,10 +714,6 @@ if (!empty($getlogpodtl)) {
|
|||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-3">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="form-row" align="right">
|
<div class="form-row" align="right">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
|
|
||||||
@ -732,8 +728,6 @@ if (!empty($getlogpodtl)) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<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;">
|
||||||
@ -4327,7 +4321,7 @@ if (!empty($getlogpodtl)) {
|
|||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
// Append the generated row HTML to the target element
|
// Append the generated row HTML to the target element
|
||||||
$('#ImportAppend').append(rowHtml);
|
$('#ImportAppend').append(rowHtml);
|
||||||
|
|||||||
@ -81,7 +81,17 @@ td {
|
|||||||
|
|
||||||
.th-Sno{
|
.th-Sno{
|
||||||
text-align:center !important;
|
text-align:center !important;
|
||||||
width:15%;
|
width:5%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.th-uom{
|
||||||
|
text-align:center !important;
|
||||||
|
width:10%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.th-status{
|
||||||
|
text-align:center !important;
|
||||||
|
width:10%;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
@ -194,10 +204,10 @@ td {
|
|||||||
<th class="th th-Sno" >SNo</th>
|
<th class="th th-Sno" >SNo</th>
|
||||||
<th class="th th-materialCode">Material Code</th>
|
<th class="th th-materialCode">Material Code</th>
|
||||||
<th class="th th-materialName">Material Name</th>
|
<th class="th th-materialName">Material Name</th>
|
||||||
<th class="th">Uom</th>
|
<th class="th th-uom">Uom</th>
|
||||||
<th class="th th-requestedQuantity">RequestedQuantity</th>
|
<th class="th th-requestedQuantity">RequestedQuantity</th>
|
||||||
<th class="th th-PoQuantity">PoQuantity</th>
|
<th class="th th-PoQuantity">PoQuantity</th>
|
||||||
<th class="th">Status</th>
|
<th class="th th-status">Status</th>
|
||||||
<th class="th">Action</th>
|
<th class="th">Action</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@ -216,10 +226,10 @@ td {
|
|||||||
<input type="hidden" name="<?php echo 'te' . $index ?>" id="<?php echo 'tes' . $index ?>" value="<?php echo $record->Quantity; ?>" />
|
<input type="hidden" name="<?php echo 'te' . $index ?>" id="<?php echo 'tes' . $index ?>" value="<?php echo $record->Quantity; ?>" />
|
||||||
<td align="center"><?php echo $record->MaterialCode; ?></td>
|
<td align="center"><?php echo $record->MaterialCode; ?></td>
|
||||||
<td align="left"><?php echo $record->MaterialName; ?></td>
|
<td align="left"><?php echo $record->MaterialName; ?></td>
|
||||||
<td align="left"><?php echo $record->UOM; ?></td>
|
<td align="center"><?php echo $record->UOM; ?></td>
|
||||||
<td align="center"><?php echo $record->Quantity; ?></td>
|
<td align="center"><?php echo $record->Quantity; ?></td>
|
||||||
<td align="center"><?php echo $record->POQTY; ?></td>
|
<td align="center"><?php echo $record->POQTY; ?></td>
|
||||||
<td align="left"><?php echo $record->StatusName; ?></td>
|
<td align="center"><?php echo $record->StatusName; ?></td>
|
||||||
<input type="hidden" name="<?php echo 'materialdesc' . $index ?>" id="<?php echo 'materialdesc' . $index ?>" value="<?php echo isset($record->MaterialDescription) ? $record->MaterialDescription : ''; ?>" />
|
<input type="hidden" name="<?php echo 'materialdesc' . $index ?>" id="<?php echo 'materialdesc' . $index ?>" value="<?php echo isset($record->MaterialDescription) ? $record->MaterialDescription : ''; ?>" />
|
||||||
<td>
|
<td>
|
||||||
<a data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" data-target='#edit-req-modal' data-toggle="modal" href="#edit-req-modal"><i class="ri-pencil-fill" data-toggle="tooltip" title="Click here to view/Edit the <?php echo $record->MaterialCode; ?> Material details"></i> </a> <a onclick="DeleteRow(<?php echo $index; ?>)" class="link" data-id="<?php echo $record->MaterialCode; ?>" data-userid="<?php echo $index; ?>" id="Del"><span class="ri-delete-bin-7-fill"></span></a>
|
<a data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" data-target='#edit-req-modal' data-toggle="modal" href="#edit-req-modal"><i class="ri-pencil-fill" data-toggle="tooltip" title="Click here to view/Edit the <?php echo $record->MaterialCode; ?> Material details"></i> </a> <a onclick="DeleteRow(<?php echo $index; ?>)" class="link" data-id="<?php echo $record->MaterialCode; ?>" data-userid="<?php echo $index; ?>" id="Del"><span class="ri-delete-bin-7-fill"></span></a>
|
||||||
|
|||||||
@ -1981,7 +1981,7 @@ if (!empty($INRSYMBOL)) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-3">
|
||||||
<label>Revenue Type Options</label>
|
<label>Revenue Type Options<span class="text-danger">*</span></label>
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
@ -2017,7 +2017,7 @@ if (!empty($INRSYMBOL)) {
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-3" id="otheroptiondiv" style="display:none;">
|
<div class="form-group col-md-3" id="otheroptiondiv" style="display:none;">
|
||||||
<label>Description of Payable Terms<span class="badge mandatory">*</span></label>
|
<label>Description of Payable Terms</label>
|
||||||
<div>
|
<div>
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'Otherpayment', 'Otherpayment' => set_value('Otherpayment'), 'id' => 'Otherpayment', 'class' => 'form-control');
|
$data = array('name' => 'Otherpayment', 'Otherpayment' => set_value('Otherpayment'), 'id' => 'Otherpayment', 'class' => 'form-control');
|
||||||
@ -2047,7 +2047,7 @@ if (!empty($INRSYMBOL)) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-3">
|
||||||
<label for="BudgetType">Budget Type</label>
|
<label for="BudgetType">Budget Type<span class="badge mandatory">*</span></label>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
@ -2069,7 +2069,7 @@ if (!empty($INRSYMBOL)) {
|
|||||||
|
|
||||||
<!-- Table -->
|
<!-- Table -->
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive" style="padding-bottom: 30px;">
|
||||||
<table id="revenueTax" class="table table-striped table-hover mb-0" style="font-size:12px;">
|
<table id="revenueTax" class="table table-striped table-hover mb-0" style="font-size:12px;">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -2091,7 +2091,6 @@ if (!empty($INRSYMBOL)) {
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</br>
|
|
||||||
<!-- /.table -->
|
<!-- /.table -->
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
|
|||||||
@ -946,7 +946,7 @@ if (!empty($INRSYMBOL)) {
|
|||||||
</div>
|
</div>
|
||||||
</div><!-- 6. form-row div closed here -->
|
</div><!-- 6. form-row div closed here -->
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive" style="padding-bottom: 30px;">
|
||||||
<table id="serviceTax" class="table table-striped table-hover mb-0" style="font-size:12px;">
|
<table id="serviceTax" class="table table-striped table-hover mb-0" style="font-size:12px;">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -2337,7 +2337,7 @@ if (!empty($INRSYMBOL)) {
|
|||||||
$('#Otherpayment').focus();
|
$('#Otherpayment').focus();
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
}else {
|
} else {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user