insurance
This commit is contained in:
parent
849b27e5ea
commit
0d4b38c737
@ -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';
|
||||
}
|
||||
|
||||
@ -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();
|
||||
|
||||
|
||||
|
||||
@ -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")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user