?
Current Path : /home1/savoy/public_html/savoyglobal.net/drafthr/system/application/views/Claims/ |
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/Claims/singleclaim.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <script type="text/javascript"> $(document).ready(function(){ //Display Loading Image viewfolderstructure('','','<?=$id?>','<?=$tablename?>','<?=$fieldname?>'); }); </script> <?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ foreach($viewinfo as $updata) { $claimid = $updata['id']; $cid=$updata['currency']; $currency= $this->customermodel->getSingleFieldValue('country','currencyname','id',$cid); $date = $updata['date']; $policyid=$updata['policyid']; $dateofloss=$updata['dateofloss']; $intimationdate=$updata['intimationdate']; $claimsref=$updata['claimsref']; $claimspolicyno=$updata['claimspolicyno']; $descofloss=$updata['descofloss']; $estimatedamt=$updata['estimatedamt']; $status=$updata['status']; } $dateofloss=$this->mastermodel->convdatformat($dateofloss); $intimationdate=$this->mastermodel->convdatformat($intimationdate); $date=$this->mastermodel->convdatformat($date); $policynum=$this->mastermodel->get_data_srow('policynote',$policyid,'id'); $covername=$this->policiesmodel->get_cover_policy($policyid); $customername=$this->policiesmodel->get_customer_policy($policyid); ?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage" onclick="loadclaim('<?=$_SESSION['pagenum']?>','<?=$_SESSION['searchoption']?>','<?=$_SESSION['searchtxt']?>')" alt="Back" align = "center" width="25" height="25" /></label> </div> <fieldset> <legend>Claim</legend> <div id="stylized" class="leftalign"> <table class="sort" ><tr> <th colspan="2" style="text-align: center"> Customer Information</th></tr> <tr><td>Date </td> <td> <?php echo $date; ?> </td> </tr> <tr> <td>Claims Ref No</td> <td><?php echo $claimsref; ?></td> </tr> <tr> <td>Customer Name</td> <td><?php echo $customername; ?></td> </tr> <tr> <td>Type of Cover</td> <td><?php echo $covername; ?></td> </tr> <tr> <td>Policy No</td> <td><?php echo $policynum->policyno; ?></td> </tr> </table> </div> <div id="stylized" class="rightalign"> <table class="sort"> <tr> <th colspan="2" style="text-align: center"> Claim Information</th></tr> <tr> <td>Date of Loss</td> <td><?php echo $dateofloss; ?></td> </tr> <tr> <td>Claims Intimation Date</td> <td><?php echo $intimationdate; ?></td> </tr> <tr> <td>Claims Policy No</td> <td><?php echo $claimspolicyno ; ?></td> </tr> <tr> <td>Currency</td> <td><?php echo $currency ; ?></td> </tr> <tr> <td>Description of Loss</td> <td><?php echo nl2br($descofloss) ; ?></td> </tr> <tr> <td>Estimated Claims Amount</td> <td><?php if($estimatedamt !=''){ echo number_format($estimatedamt, 2, '.', ','); }?></td> </tr> </table> </div> <ul> </fieldset> <fieldset> <legend>Description</legend> <table class="sort" cellpadding="0" cellspacing="0"> <tbody><tr class="red_bold" align="left" valign="top"> <th width="8%">S. No.</th> <th width="10%">Date</th> <th width="14%">Description</th> <th width="12%">Remarks</th> </tr> <?php $id=1; foreach ($viewactivity as $activity) {?> <tr class="bold_black" align="left" valign="top"> <td><?=$id?></td> <td><?=$activity['date']?></td> <td><?=$activity['description']?></td> <td><?=$activity['remarks'];?></td> </tr> <?php $id++; } ?> </tbody></table> </fieldset> <li></li> <fieldset> <legend>Claims Settlement Amount</legend> <table class="sort" cellpadding="0" cellspacing="0"> <tbody><tr class="red_bold" align="left" valign="top"> <th width="8%">S. No.</th> <th width="14%">Description</th> <th width="12%">Amount</th> </tr> <?php $finalamt = 0; $id=1; foreach ($settlement as $set) {?> <tr class="bold_black" align="left" valign="top"> <td><?=$id?></td> <td><?=$set['description']?></td> <td align="right"><?=number_format($set['amount'], 2, '.', ',');?></td> </tr> <?php $finalamt += $set['amount']; $id++; } ?> <tr class="bold_black" align="left" valign="top"><td >Claims Paid</td><td></td><td align="right"><?=number_format($finalamt, 2, '.', ',');?> </tbody></table> </fieldset> <li></li> </ul> </fieldset> <fieldset> <legend>Files</legend> <div id="Folderssv"> </div> </fieldset>