?
Current Path : /home1/savoy/public_html/savoyglobal.net/drafthr/system/application/views/Home/ |
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/Home/viewsingle-sche.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <?php foreach($singlesche as $sche) { $date= $sche['date']; $newdate= $this->mastermodel->convdatformat($date); $pid=$sche['policy_id']; $policy_no= $this->customermodel->getSingleFieldValue('policynote','policyno','id',$pid); $covername= $this->mastermodel->get_cover($pid); $cname=$covername->cover; $custname=$covername->CustomerName; ?> <style> #ndiv { float:left; min-height: 25px; width:25%; } #ndiv1 { float:left; color:gray; min-height: 25px; width:70%; } #dot { float:left; min-height: 25px; width:2%; } </style> <fieldset> <div style="width: 100%"> <div style="width: 100%; border-bottom: 2px solid gray; border-right: 2px solid gray; height: 30px; font-size: 16px; text-align: center;background-color: #eae8df"> <?= "Payment Schedule"//$rslt->remind_name ?> </div> <ul><li><div><div id="ndiv"><label>Insured</label></div><div id="dot">:</div> <div id="ndiv1"> <?=$custname;?></div></div></li> <li><div><div id="ndiv"><label>Type of Cover</label></div><div id="dot">:</div> <div id="ndiv1"> <?=$cname;?></div></div></li> <li><div><div id="ndiv"><label>Policy No</label></div><div id="dot">:</div> <div id="ndiv1"> <?=$policy_no;?></div></div></li> <li><div><div id="ndiv"><label>Payment Date</label></div><div id="dot">:</div> <div id="ndiv1"><?=$newdate?></div></div></li> <li><div><div id="ndiv"><label>Amount</label> </div> <div id="dot">:</div><div id="ndiv1"> <?=$sche['amount']; ?></div></div></li> </ul> </div> </fieldset> <?php $date2=date('Y-m-d'); $days = (strtotime($date) - strtotime($date2)) / (60 * 60 * 24); echo $days. ' day(s) left'; } ?>