insurance

This commit is contained in:
venbatechnologies@gmail.com 2017-09-09 12:21:39 +05:30
parent 849b27e5ea
commit 0d4b38c737
3 changed files with 12 additions and 5 deletions

View File

@ -1597,6 +1597,8 @@ function addNewImportPurchaseOrder()
// die();
$Insurance=$this->input->post('Insurance');
//echo $Insurance;
if($Insurance=='YES')
{
@ -1604,7 +1606,7 @@ function addNewImportPurchaseOrder()
$insurestatus='1';
}
else
{
{
$Insurancenumber='';
$insurestatus='0';
}

View File

@ -760,8 +760,8 @@ if(!empty($RequistionDetails))
} ?>
<option value="NO"><?php echo $opt1;?></option>
<option value="YES"><?php echo $opt2;?></option>
<option value=<?php echo $opt1;?>><?php echo $opt1;?></option>
<option value=<?php echo $opt2;?>><?php echo $opt2;?></option>
</select>
</div>
@ -3166,8 +3166,8 @@ var NilType = '<?php echo NILTYPE;?>';
$('#Insurance').change(function() {
//var insure=$('#Insurance').val();
var insuree=$('#Insurance').val();
//console.log(insuree);
var insure=$("#Insurance :selected").text();

View File

@ -4398,6 +4398,11 @@ $('.EditImport').click(function(){
var Nooftrip=$('#editNOOfTrips').val();
var per=$('#EditPer').val();
if (per=='')
{
per=$('#EditUOM').val();
}
var FreightTypename = $('#drpeditFreight').val();
if (FreightTypename != "PER TRIP")