?
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/addendorsement.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'}); checkfiscalyear("begin","mycompany"); $("input.auto").autoNumeric(); suggestpolicyno('policyno_search'); }); function showtextbox(val) { document.getElementById('sumdetid').innerHTML="<label >"+val+" Details</label>"; if(val!="Cash") { var newdiv = document.createElement('input'); newdiv.setAttribute('id','Txt_Pay_accno'); newdiv.setAttribute('type','text'); newdiv.setAttribute('name','Txt_Pay_accno'); document.getElementById('sumdetid').appendChild(newdiv); } } </script> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage" onclick="loadendorsement('<?=$_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/addendorsement',$attributes); ?> <fieldset> <legend>Add Endorsement</legend> <?php $norecords++; ?> <input type="hidden" name="endrefno" value="<?php echo $norecords; ?>"> <ul> <li> <label >Date</label><input class="one" name="date" id="date" readonly="true" value="<?php echo date("d-m-Y");?>" type="text" style="background-image: url(../../../../assets/images/datefocus.gif);"> </li> <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> <!-- <div id="enddet" > </div>--> <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="usepolicybyno($('input#policyno_search').val())" alt="" width="20" height="20" /> </li> <li> <div id="enddet" > </div> <li> <li> <label >Endorsement Date</label> <input class="two" name="enddate" readonly="true" id="enddate" value="<?php echo date("d-m-Y");?>" type="text" style="background-image: url(../../../../assets/images/datefocus.gif);"> </li> <li> <li> <?php $data1 = array( 'name' => 'endpolicyno', 'id' => 'endpolicyno', ); ?> <label for="country">Endorsement Policy No.</label> <?php echo form_input($data1);?> </li> <li> <label for="date">Endorsement Type</label> <select name="mode" id="mode" onchange="hidepremium(this.value)"> <option value="Addition" selected>Addition</option> <option value="Deduction">Deduction</option> <option value="No Change in Premium" >No Change in Premium</option> </select> </li> <li> <?php $data2 = array( 'name' => 'remarks', 'id' => 'remarks', 'rows' => '5', 'cols' => '5', 'style' => 'width:50%', ); ?> <label for="date">Description</label> <?php echo form_textarea($data2); ?> </li> <li> <label for="date">Premium</label> <input type="text" name="premiumchange" id="premiumchange" class="auto" onblur="checkpremium(this.value,$('#policyid').val(),$('#mode').val())" /> </li> <li> <label for="date">Policy Fees</label> <?php $dat=array( 'name' => 'policyfeeschange', 'id' => 'policyfeeschange', 'class' =>'auto' ); echo form_input($dat); ?> </li> <li> <table><tr> <td><label >Payment Method</label><select id="paymethod" name="paymethod" > <option value="credit" selected>Credit</option> </select> </td></tr> </table> </li> <li><label for="submit"> </label> <button type="submit" id="button1" class="clickimage" onclick="return validateform('policyno');">Save</button> </li> </ul> </fieldset> <?php echo form_close();?>