?
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/addpolicynote.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'}); suggestqref('qtnref_search'); }); function block_duplicate() { if(validateform('quotrefno','policyno')) { return true; } else { return false; } } </script> <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','name'=> 'addpolicy'); echo form_open_multipart('policies/addpolicynote',$attributes); ?> <fieldset> <legend>Add Policy Note</legend> <ul> <li> <label >Date</label><input name="date" id="date" class="one" style="background-image: url(../../../../assets/images/datefocus.gif);" value="<?php echo date("d-m-Y");?>" readonly /> </li> <li> <label>Quotation Ref No</label><div style="display:none" id="new"></div> <input type="text" readonly ='readonly' id="quotrefno" name="quotation_ref" size="35"> <img alt="" id="inliexample1" src="<?=base_url()?>/assets/images/button-search.png" title="Search" class="clickimage" onclick="showquotdiv()" ><span id="quotrefnoInfo" class="red_bold">*</span> </li> <div id="polidet"></div> <li >OR</li> <li> <label>Quotation Ref</label><input type="text" name="qtnref_search" id="qtnref_search" /> <img src="<?=base_url()?>/assets/images/use.png" class="clickimage" onclick="usebrokingslipfromquotation($('input#qtnref_search').val())" alt="" width="20" height="20" /> </li> <li></li> <li><div id="templateform"></div></li> <li> <?php $data1 = array( 'name' => 'policyno', 'id' => '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" class="two" id="recdate" style="background-image: url(../../../../assets/images/datefocus.gif);" value="<?php echo date("d-m-Y");?>" readonly /> </li> <li></li> <li><label for="submit"> </label> <button type="submit" id="submit" class="clickimage" onclick="return converttodate('date','recdate'),block_duplicate();">Save</button> </li> </ul> </fieldset> <?php echo form_close();?>