Emergency PO changes-2 vadivel J 04-12--2024
This commit is contained in:
parent
3d8bb9e676
commit
8122ee86ef
@ -4795,7 +4795,7 @@ if (!empty($INRSYMBOL)) {
|
|||||||
<!-- Modal for Packing Calculation -->
|
<!-- Modal for Packing Calculation -->
|
||||||
|
|
||||||
<div id="submitmodel" class="modal fade" role="dialog" aria-labelledby="myModalLabel">
|
<div id="submitmodel" class="modal fade" role="dialog" aria-labelledby="myModalLabel">
|
||||||
<div class="modal-dialog" style="width:1060px;">
|
<div class="modal-dialog" style="width:720px;">
|
||||||
|
|
||||||
<!-- Modal content-->
|
<!-- Modal content-->
|
||||||
<div class="modal-content" style="">
|
<div class="modal-content" style="">
|
||||||
@ -4950,41 +4950,36 @@ if (!empty($INRSYMBOL)) {
|
|||||||
<h4 class="modal-title">SERVICE Bill Details</h4>
|
<h4 class="modal-title">SERVICE Bill Details</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" style="padding:0px;">
|
<div class="modal-body" style="padding:15px;">
|
||||||
<div class="row">
|
<form action="">
|
||||||
<div class="col-md-12">
|
<div class="row" align="left">
|
||||||
<button type="button" class="btn btn-success" id="addMoreServiceFileButton">Add
|
<div class="col-md-12">
|
||||||
File</button>
|
<button type="button" class="btn btn-success" id="addMoreServiceFileButton">Add
|
||||||
<button type="button" class="btn btn-danger" id="removeServiceFileButton">Remove
|
File</button>
|
||||||
File</button>
|
<button type="button" class="btn btn-danger" id="removeServiceFileButton">Remove
|
||||||
|
File</button>
|
||||||
|
|
||||||
<div id="newdiv"></div>
|
<div id="newdivService"></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<div id="newsdiv"></div><!-- this div for add more section-->
|
||||||
|
<div class="modal-footer">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12 text-right">
|
||||||
|
<a class="btn btn-secondary waves-effect" data-dismiss="modal"
|
||||||
|
onclick="SetExciseCalculationCancel();" value="Cancel">Cancel</a>
|
||||||
|
<a class="btn btn-info ok" ID="ExciseOption12"
|
||||||
|
onclick="sfilealert();"> <span class="bold">Submit</span></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
<div id="newsdiv"></div><!-- this div for add more section-->
|
|
||||||
<input type="hidden" name="hidecounters" id="hidecounters" value="0" />
|
|
||||||
<input type="hidden" name="hideconstants" id="hideconstants" value="0" />
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="modal-footer">
|
|
||||||
<div class="col-md-12 text-right">
|
|
||||||
<a class="btn btn-secondary waves-effect" data-dismiss="modal"
|
|
||||||
onclick="SetExciseCalculationCancel();" value="Cancel">Cancel</a>
|
|
||||||
<a class="btn btn-info ok" ID="ExciseOption12" onclick="sfilealert();"> <span
|
|
||||||
class="bold">Submit</span></a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -7310,15 +7305,15 @@ if (!empty($INRSYMBOL)) {
|
|||||||
formData.append('TextStatus', stat);
|
formData.append('TextStatus', stat);
|
||||||
formData.append('PaymentMethod', $('#PaymentMethod').val());
|
formData.append('PaymentMethod', $('#PaymentMethod').val());
|
||||||
formData.append('workStatus', $('#workstatusValue').val());
|
formData.append('workStatus', $('#workstatusValue').val());
|
||||||
formData.append('ChallanInvNo',$('#ChallanInvNo').val());
|
formData.append('ChallanInvNo', $('#ChallanInvNo').val());
|
||||||
formData.append('ChallanInvDate',$('#Date1').val());
|
formData.append('ChallanInvDate', $('#Date1').val());
|
||||||
//abbreviation
|
//abbreviation
|
||||||
//MRC --> material received
|
//MRC --> material received
|
||||||
formData.append('MRC',$('#MRC').val());
|
formData.append('MRC', $('#MRC').val());
|
||||||
formData.append('VehicleNo',$('#VehicleNo').val());
|
formData.append('VehicleNo', $('#VehicleNo').val());
|
||||||
formData.append('CourierNo',$('#CourierNo').val());
|
formData.append('CourierNo', $('#CourierNo').val());
|
||||||
formData.append('Quality', $('input[name="Quality"]:checked').val());
|
formData.append('Quality', $('input[name="Quality"]:checked').val());
|
||||||
formData.append('igrStatusForMRC','ST027');
|
formData.append('igrStatusForMRC', 'ST027');
|
||||||
formData.append('revenueFilesLength', $('.revenuefiles').length);
|
formData.append('revenueFilesLength', $('.revenuefiles').length);
|
||||||
|
|
||||||
|
|
||||||
@ -7367,7 +7362,7 @@ if (!empty($INRSYMBOL)) {
|
|||||||
$('#txtDeletedRow1').val('');
|
$('#txtDeletedRow1').val('');
|
||||||
$('#SpcialInstruction').val('');
|
$('#SpcialInstruction').val('');
|
||||||
$('#txtDeliveryAddress').val('');
|
$('#txtDeliveryAddress').val('');
|
||||||
window.location = "purchaseorderListing";
|
window.location = "purchaseorderListing";
|
||||||
},
|
},
|
||||||
error: function (xhr, status, error) {
|
error: function (xhr, status, error) {
|
||||||
// Handle errors
|
// Handle errors
|
||||||
@ -8395,26 +8390,26 @@ if (!empty($INRSYMBOL)) {
|
|||||||
|
|
||||||
function rfilealert() {
|
function rfilealert() {
|
||||||
let result = validateIgrDetails();
|
let result = validateIgrDetails();
|
||||||
if(result){
|
if (result) {
|
||||||
SpecialPOcheck();
|
SpecialPOcheck();
|
||||||
}else{
|
} else {
|
||||||
alert('Kindly fill all the mandatory details..!!');
|
alert('Kindly fill all the mandatory details..!!');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function validateIgrDetails (){
|
function validateIgrDetails() {
|
||||||
|
|
||||||
let ChallanInvNo = $('#ChallanInvNo').val().trim();
|
let ChallanInvNo = $('#ChallanInvNo').val().trim();
|
||||||
let Date1 = $('#Date1').val().trim();
|
let Date1 = $('#Date1').val().trim();
|
||||||
let MRC = $('#MRC').val().trim();
|
let MRC = $('#MRC').val().trim();
|
||||||
let VehicleNo = $('#VehicleNo').val().trim();
|
let VehicleNo = $('#VehicleNo').val().trim();
|
||||||
let CourierNo = $('#CourierNo').val().trim();
|
let CourierNo = $('#CourierNo').val().trim();
|
||||||
|
|
||||||
if(ChallanInvNo && Date1 && MRC && VehicleNo && CourierNo ){
|
if (ChallanInvNo && Date1 && MRC && VehicleNo && CourierNo) {
|
||||||
return true;
|
return true;
|
||||||
}else{
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -8465,7 +8460,7 @@ if (!empty($INRSYMBOL)) {
|
|||||||
'</div>' +
|
'</div>' +
|
||||||
'<br>';
|
'<br>';
|
||||||
|
|
||||||
$('#newdiv').append(div);
|
$('#newdivService').append(div);
|
||||||
|
|
||||||
|
|
||||||
$('#hidecounter').val(newFile);
|
$('#hidecounter').val(newFile);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user