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(); // die();
$Insurance=$this->input->post('Insurance'); $Insurance=$this->input->post('Insurance');
//echo $Insurance;
if($Insurance=='YES') if($Insurance=='YES')
{ {

View File

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

View File

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