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 -->
|
||||
|
||||
<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-->
|
||||
<div class="modal-content" style="">
|
||||
@ -4950,41 +4950,36 @@ if (!empty($INRSYMBOL)) {
|
||||
<h4 class="modal-title">SERVICE Bill Details</h4>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
</div>
|
||||
<div class="modal-body" style="padding:0px;">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<button type="button" class="btn btn-success" id="addMoreServiceFileButton">Add
|
||||
File</button>
|
||||
<button type="button" class="btn btn-danger" id="removeServiceFileButton">Remove
|
||||
File</button>
|
||||
<div class="modal-body" style="padding:15px;">
|
||||
<form action="">
|
||||
<div class="row" align="left">
|
||||
<div class="col-md-12">
|
||||
<button type="button" class="btn btn-success" id="addMoreServiceFileButton">Add
|
||||
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 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 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>
|
||||
</form>
|
||||
|
||||
</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>
|
||||
@ -7310,15 +7305,15 @@ if (!empty($INRSYMBOL)) {
|
||||
formData.append('TextStatus', stat);
|
||||
formData.append('PaymentMethod', $('#PaymentMethod').val());
|
||||
formData.append('workStatus', $('#workstatusValue').val());
|
||||
formData.append('ChallanInvNo',$('#ChallanInvNo').val());
|
||||
formData.append('ChallanInvDate',$('#Date1').val());
|
||||
formData.append('ChallanInvNo', $('#ChallanInvNo').val());
|
||||
formData.append('ChallanInvDate', $('#Date1').val());
|
||||
//abbreviation
|
||||
//MRC --> material received
|
||||
formData.append('MRC',$('#MRC').val());
|
||||
formData.append('VehicleNo',$('#VehicleNo').val());
|
||||
formData.append('CourierNo',$('#CourierNo').val());
|
||||
formData.append('MRC', $('#MRC').val());
|
||||
formData.append('VehicleNo', $('#VehicleNo').val());
|
||||
formData.append('CourierNo', $('#CourierNo').val());
|
||||
formData.append('Quality', $('input[name="Quality"]:checked').val());
|
||||
formData.append('igrStatusForMRC','ST027');
|
||||
formData.append('igrStatusForMRC', 'ST027');
|
||||
formData.append('revenueFilesLength', $('.revenuefiles').length);
|
||||
|
||||
|
||||
@ -7367,7 +7362,7 @@ if (!empty($INRSYMBOL)) {
|
||||
$('#txtDeletedRow1').val('');
|
||||
$('#SpcialInstruction').val('');
|
||||
$('#txtDeliveryAddress').val('');
|
||||
window.location = "purchaseorderListing";
|
||||
window.location = "purchaseorderListing";
|
||||
},
|
||||
error: function (xhr, status, error) {
|
||||
// Handle errors
|
||||
@ -8395,26 +8390,26 @@ if (!empty($INRSYMBOL)) {
|
||||
|
||||
function rfilealert() {
|
||||
let result = validateIgrDetails();
|
||||
if(result){
|
||||
if (result) {
|
||||
SpecialPOcheck();
|
||||
}else{
|
||||
} else {
|
||||
alert('Kindly fill all the mandatory details..!!');
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
function validateIgrDetails (){
|
||||
|
||||
function validateIgrDetails() {
|
||||
|
||||
let ChallanInvNo = $('#ChallanInvNo').val().trim();
|
||||
let Date1 = $('#Date1').val().trim();
|
||||
let MRC = $('#MRC').val().trim();
|
||||
let VehicleNo = $('#VehicleNo').val().trim();
|
||||
let CourierNo = $('#CourierNo').val().trim();
|
||||
|
||||
if(ChallanInvNo && Date1 && MRC && VehicleNo && CourierNo ){
|
||||
if (ChallanInvNo && Date1 && MRC && VehicleNo && CourierNo) {
|
||||
return true;
|
||||
}else{
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -8465,7 +8460,7 @@ if (!empty($INRSYMBOL)) {
|
||||
'</div>' +
|
||||
'<br>';
|
||||
|
||||
$('#newdiv').append(div);
|
||||
$('#newdivService').append(div);
|
||||
|
||||
|
||||
$('#hidecounter').val(newFile);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user