?
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/editpolicynote.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'}); $('.two').datepick({dateFormat: 'dd-mm-yyyy'}); }); </script> <?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ foreach($viewinfo as $updata) { $policynoteid = $updata['id']; $quotrefno=$updata['quotation_ref']; $policyno=$updata['policyno']; $date=$updata['date']; $recdate=$updata['recdate']; } $date=$this->mastermodel->convdatformat($date); $recdate=$this->mastermodel->convdatformat($recdate); ?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage" onclick="loadpolicynote('<?=$_SESSION['pagenum']?>','<?=$_SESSION['searchoption']?>','<?=$_SESSION['searchtxt']?>')" alt="Back" align = "center" width="25" height="25" /></label> </div> <?php $attributes = array('id' => 'customForm'); echo form_open_multipart('policies/editpolicynote',$attributes); ?> <fieldset> <legend>Update Policy Notes</legend> <?php echo form_hidden('policynoteid',$policynoteid); ?> <ul> <li> <label >Date</label> <input name="date" id="date" class="one" style="background-image: url(../../../../assets/images/datefocus.gif);" value="<?php echo $date;?>" readonly /> </li> <li> <?php $data = array( 'name' => 'quotation_ref', 'id' => 'quotrefno', 'readonly' =>'readonly', 'value' => $quotrefno, ); ?> <label for="country">Quotation Ref No.</label><div style="display:none" id="new"></div> <?php echo form_input($data).form_error($data); ?> <img id="inliexample1" src="<?=base_url()?>/assets/images/button-search.png" title="Search" class="clickimage" onclick="showquotdiv()" ><span id="quotnoInfo" class="red_bold">*</span> </li> <div id="polidet"></div> <li> <?php $data1 = array( 'name' => 'policyno', 'id' => 'policyno', 'value' => $policyno, ); ?> <label for="country">Policy No.</label> <?php echo form_input($data1).form_error($data1); ?><span id="policynoInfo" class="red_bold">*</span> </li> <li> <label >Policy Received Date</label> <input name="recdate" id="recdate" class="two" style="background-image: url(../../../../assets/images/datefocus.gif);" value="<?php echo $recdate;?>" readonly /> </li> <li> </li> <li> <label for="submit"> </label> <button type="submit" id="submit" class="clickimage" onclick="return converttodate('date','recdate'),validateform('quotrefno','policyno');">Update</button> </li> </ul> </fieldset> <?php echo form_close();?>