done capital po issues fixed

This commit is contained in:
gandhimathi 2017-09-23 16:20:05 +05:30
parent dcf0752b18
commit 2ca2ff86ae
4 changed files with 15 additions and 5 deletions

View File

@ -180,6 +180,7 @@ var insuranceOpt = '<?php echo $InsuranceOptions; ?>';
var SchName = '<?php echo $DeliverSchedule; ?>';
var DelDt = '<?php echo $Deliverydt; ?>';
$(document).ready(function () {
$('#PoTypeOptions').attr("style", "pointer-events: none;");
if(insuranceOpt=="1"){
}
@ -3230,3 +3231,4 @@ $('#insuranceNo').val('');
</script>

View File

@ -1781,7 +1781,7 @@ document.getElementById('dispatchinternational').style.display = 'block';
<div class="col-md-12" style="padding: 0px 30px 10px 30px;">
<div class="col-md-12" style="padding: 0px 30px 10px 30px;text-align: left;">
<label>Capital Description </label>

View File

@ -276,6 +276,7 @@ $('#otheroptiondiv').hide();
var capitalType='';
window.onload = function()
{
$('#PoTypeOptions').attr("style", "pointer-events: none;");
var CapRan = '<?php echo $CapitalRange; ?>';
if(CapRan == '1')
{
@ -3150,7 +3151,7 @@ $("#PaymentMethod").select2();
<div class="col-md-12" style="padding: 0px 30px 10px 30px;">
<div class="col-md-12" style="padding: 0px 30px 10px 30px;text-align:left">
<label>Capital Description </label>
@ -3419,7 +3420,11 @@ $("#PaymentMethod").select2();
<a class="btn btn-primary" ID="OK" href="<?php echo base_url().'purchaseorderListing'; ?>">&nbsp;&nbsp;<span class="bold">OK</span></a>
<?php
}} ?>
}
else { ?>
<a class="btn btn-primary" ID="OK" href="<?php echo base_url().'purchaseorderListing'; ?>">&nbsp;&nbsp;<span class="bold">OK</span></a>
<?php } } ?>
<!-- <a class="btn btn-primary" ID="OK" href="<?php echo base_url().'purchaseorderListing'; ?>">&nbsp;&nbsp;<span class="bold">OK</span></a> --> <?php
@ -7099,3 +7104,4 @@ function updateDiscountValuesChange(totAmt,disType,disAmt){

View File

@ -202,7 +202,7 @@ if(!empty($RequistionDetails))
var insurancestatus = '<?php echo $insurencestatus;?>';
var insuranceno = '<?php echo $insurenceno;?>';
$(document).ready(function () {
$('#PoTypeOptions').attr("style", "pointer-events: none;");
if(DelOpt=="0"){
$('#Deliverydtdiv').show();
@ -2302,7 +2302,8 @@ function calculateEditTaxValue()
endforeach;
}
echo form_dropdown('PoTypeOptions', $optionsPO,$revenuesubtype,set_value('PoTypeOptions'),'id="PoTypeOptions"' ,'required="true"' ,'class="form-control select2');
echo form_dropdown('PoTypeOptions', $optionsPO,set_value('PoTypeOptions'),'id="PoTypeOptions"' ,'required="true"' ,'class="form-control select2');
?>
@ -5075,3 +5076,4 @@ $('#insurancestatus').change(function(){
});
</script>