?
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/addcancellation.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> <!--<script type="text/javascript" src="<?=base_url()?>/assets/js/jquery.form.js"></script>--> <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','class'=>'custom'); echo form_open_multipart('policies/addcancellation',$attributes); ?> <fieldset> <legend>Add cancellation</legend> <?php $norecords++; ?> <input type="hidden" name="canrefno" value="<?php echo $norecords; ?>"> <ul> <li> <?php $data = array( 'name' => 'policyno', 'id' => 'policyno', 'readonly' =>'readonly', ); ?> <label for="country">Policy No.</label> <?php echo form_input($data).form_error($data); ?> <img id="inliexample1" src="<?=base_url()?>/assets/images/button-search.png" title="Search" class="clickimage" onclick="showpolidiv()" ><span id="policynoInfo" class="red_bold">*</span> <input type="hidden" name="policyid" id="policyid"> </li> <li >OR</li> <li> <label>Policy No.</label><input type="text" name="policyno_search" id="policyno_search" /> <img src="<?=base_url()?>/assets/images/use.png" class="clickimage" onclick="usepolicybynocanc($('input#policyno_search').val())" alt="" width="20" height="20" /> </li> <li> <div id="enddet" > </div> <?php $data1 = array( 'name' => 'canpolicyno', 'id' => 'canpolicyno', ); ?> <label for="country">Cancellation Policy No.</label> <?php echo form_input($data1);?> </li> <li> <label >Cancellation Date</label><input name="date" class="one" id="date" value="<?=date('d-m-Y')?>" readonly /> </li> <li> <label for="date">Premium</label> <input type="text" name="premiumchange" id="premiumchange" class="auto" onblur="checkpremium(this.value,$('#policyid').val())" /> </li> <li> <?php $data2 = array( 'name' => 'remarks', 'id' => 'remarks', 'rows' => '5', 'cols' => '5', 'style' => 'width:50%', ); ?> <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" onclick="return validateform('policyid','policyno');">Save</button> </li> </ul> </fieldset> <?php echo form_close();?>