ItemNo change for material code change
This commit is contained in:
parent
07e202f272
commit
832b8e7fef
@ -2815,7 +2815,7 @@ function populateValueMainFormForDeleteItem(rowid)
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label>Service Schedule Type</label>
|
||||
<label>Frequency</label>
|
||||
<div class="form-group">
|
||||
|
||||
<?php
|
||||
@ -3814,7 +3814,7 @@ function populateValueMainFormForDeleteItem(rowid)
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label>Service Schedule Type</label>
|
||||
<label>Frequency</label>
|
||||
<div class="form-group">
|
||||
|
||||
<?php
|
||||
@ -5893,7 +5893,7 @@ function populateValueMainFormForDeleteItem(rowid)
|
||||
$('#ServiceNo').val(1);
|
||||
}
|
||||
else{
|
||||
$('#FrequencyChange').val($('#ScheduleType').val());
|
||||
$('#FrequencyChange').val($('#ServiceOptions').val()+' - '+$('#ServiceNo').val());
|
||||
|
||||
}
|
||||
}
|
||||
@ -6196,7 +6196,7 @@ function populateValueMainFormForDeleteItem(rowid)
|
||||
|
||||
var TotalTaxValue = calculateTaxValue();
|
||||
|
||||
$('#ServiceMaterialCode option[value='+materialCode+']').remove();
|
||||
// $('#ServiceMaterialCode option[value='+materialCode+']').remove();
|
||||
|
||||
SelectedMaterialCode[CollIndex] = materialCode;
|
||||
CollIndex = CollIndex + 1;
|
||||
@ -6411,7 +6411,7 @@ function populateValueMainFormForDeleteItem(rowid)
|
||||
|
||||
}
|
||||
else{
|
||||
$('#EditFrequencyChange').val($('#FrequencySchedule'+userid).val());
|
||||
$('#EditFrequencyChange').val($('#Frequency'+userid).val()+' - '+$('#FrequencyValue'+userid).val());
|
||||
|
||||
}
|
||||
|
||||
@ -7481,10 +7481,10 @@ document.getElementById('NoServices').style.display = 'none';
|
||||
$('#ServiceNo').val(1);
|
||||
}
|
||||
else{
|
||||
document.getElementById('ServicePeriodOption').style.display = 'none';
|
||||
document.getElementById('NoServices').style.display = 'none';
|
||||
document.getElementById('ServicePeriodOption').style.display = 'block';
|
||||
document.getElementById('NoServices').style.display = 'block';
|
||||
document.getElementById('ServiceNo').value = 1;
|
||||
//$('#Frequency').val($('#ServiceOptions').val());
|
||||
//$('#Frequency').val($('#ServiceOptions').val()+' - ' + $('#ServiceNo').val());
|
||||
//$('#FrequencyNo').val($('#ServiceNo').val());
|
||||
}
|
||||
|
||||
@ -7500,10 +7500,10 @@ document.getElementById('EditServiceNo').value = 1;
|
||||
//$('#EditServiceNo').val('');
|
||||
}
|
||||
else{
|
||||
document.getElementById('EditServicePeriodOption').style.display = 'none';
|
||||
document.getElementById('EditNoServices').style.display = 'none';
|
||||
document.getElementById('EditServicePeriodOption').style.display = 'block';
|
||||
document.getElementById('EditNoServices').style.display = 'block';
|
||||
|
||||
//$('#EditFrequency').val($('#EditServiceOptions').val());
|
||||
//$('#EditFrequency').val($('#EditServiceOptions').val()+' - ' + $('#ServiceNo').val());
|
||||
//$('#FrequencyNo').val($('#EditServiceNo').val());
|
||||
|
||||
|
||||
@ -7602,4 +7602,3 @@ $("#PaymentMethod").change(function() {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user