?
Current Path : /home1/savoy/www/savoyglobal.net/drafthr/system/application/views/Policies/ |
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/www/savoyglobal.net/drafthr/system/application/views/Policies/editcancellation.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <script type="text/javascript"> jQuery(document).ready(function () { $('.one').datepick({dateFormat: 'dd-mm-yyyy'}); checkfiscalyear("fyear","mycompany"); $("input.auto").autoNumeric(); }); </script> <?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ foreach($viewinfo as $updata) { $cancellationid = $updata['id']; $policyid=$updata['policyid']; $canpolicyno=$updata['canpolicyno']; $date=$updata['date']; $canrefno=$updata['canrefno']; $remarks=$updata['remarks']; $premiumchange=$updata['premiumchange']; } $policynum=$this->mastermodel->get_data_srow('policynote',$policyid,'id'); $date=$this->mastermodel->convdatformat($date); ?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage" onclick="loadcancellation('<?=$_SESSION['pagenum']?>','<?=$_SESSION['searchoption']?>','<?=$_SESSION['searchtxt']?>')" alt="Back" align = "center" width="25" height="25" /></label> </div> <div id="viewmsg"></div> <?php $attributes = array('id' => 'customForm'); echo form_open_multipart('policies/editcancellation',$attributes); ?> <fieldset> <legend>Update cancellation</legend> <?php echo form_hidden('cancellationid',$cancellationid); $can_refs= $this->customermodel->getSingleFieldValue('cancellation_refs','rid','can_id',$cancellationid); echo form_hidden('can_refs',$can_refs); ?> <ul> <li> <label>Cancellation Ref No. </label><?php echo $canrefno; ?> </li> <li> <?php $data = array( 'name' => 'policyno', 'id' => 'policyno', 'readonly' =>'readonly', 'value' => $policynum->policyno, ); ?> <label for="country">Policy No.</label> <?php echo form_input($data).form_error($data); ?> <input type="hidden" name="policyid" id="policyid" value="<?=$policyid?>"> <input type="hidden" value="<?=$policynum->quotation_ref?>" name="canref"/> </li> <!-- <div id="enddet" > </div> --> <li>OR </li> <li> <label>Policy No.</label><input type="text" name="policyno_search" id="policyno_search" value="<?=$policynum->policyno;?>"/> <img src="<?=base_url()?>/assets/images/use.png" class="clickimage" onclick="usepolicybynoforclaim($('input#policyno_search').val())" alt="" width="20" height="20" /> <input type="hidden" name="policyno_search_id" id="policyno_search_id"> </li> <div id="enddet" > </div> <li> <li> <?php $data1 = array( 'name' => 'canpolicyno', 'id' => 'canpolicyno', 'value' => $canpolicyno, ); ?> <label for="country">Cancellation Policy No.</label> <?php echo form_input($data1);?> <span id="canpolicynoInfo" class="red_bold">*</span> </li> <li> <label >Cancellation Date</label><input name="date" class="one" id="date" value="<?php echo $date;?>" /> </li> <li> <label for="date">Premium</label> <?php $dat=array( 'name' => 'premiumchange', 'id' => 'premiumchange', 'class' => 'auto' ); echo form_input($dat,$premiumchange); ?> </li> <li> <?php $data2 = array( 'name' => 'remarks', 'id' => 'remarks', 'rows' => '5', 'cols' => '5', 'style' => 'width:50%', 'value' => $remarks, ); ?> <label for="date">Remarks</label> <?php echo form_textarea($data2); ?> </li> <li></li> <li><label for="submit"> </label> <button type="submit" id="button1" class="clickimage" >Update</button> </li> </ul> </fieldset> <?php echo form_close();?>