?
Current Path : /home1/savoy/public_html/savoyglobal.net/drafthr/system/application/views/Documents/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/drafthr/system/application/views/Documents/loadbroslip.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <?php foreach($details as $updata) { $cover_id=$updata['cover_id']; $header=$updata['template_header']; $customer_id=$updata['customer_id']; $brokingslip_id=$updata['id']; $qrefno=$updata['quotation_ref']; } //$cr=$this->mastermodel->get_data_srow('covers',$cover_id,'id'); $cvr= $this->customermodel->getSingleFieldValue('covers','cover','id',$cover_id); $type=$this->customermodel->getSingleFieldValue('customers','type','id',$customer_id); if($type=='Individual') { $name=$this->customermodel->getSingleFieldValue('customer_personal_ind','insured','customer_id',$customer_id); $business='NIL'; } else { $name=$this->customermodel->getSingleFieldValue('customer_corp_info','insured','customer_id',$customer_id); } ?> <table><tr><td>Quotation Ref</td><td>: </td><td><?=$qrefno?></td></tr> <tr><td>Cover Name</td><td>: </td><td><?=$cvr?></td></tr> <tr><td>Insured</td><td>: </td><td><?=$name?></td></tr> <tr><td>Template Name</td><td>: </td><td><?=$header?></td></tr></table> <input type='hidden' name="broid" id="broid" value="<?=$brokingslip_id?>"/>