?
Current Path : /home1/savoy/public_html/savoyglobal.net/drafthr/system/application/views/Documents/ |
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/public_html/savoyglobal.net/drafthr/system/application/views/Documents/createpslip.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewplacingslip('<?=$_SESSION['searchoption']?>','<?=$_SESSION['pagenum']?>','<?=$_SESSION['searchtxt']?>')" alt="Back" align = "center" width="25" height="25" /></label> </div> <script type="text/javascript" src="<?=base_url()?>/assets/js/ui.core.js"></script> <script type="text/javascript" src="<?=base_url()?>/assets/js/ui.sortable.js"></script> <script type="text/javascript" src="<?=base_url()?>/assets/js/ui.draggable.js"></script> <style type="text/css"> #sortable { list-style-type: none; margin: 0; padding: 0; width: 100%; } #sortable li { margin: 0 3px 3px 3px; padding: 0.4em; padding-left: 1.5em; height: 18px; cursor: move; } #sortable li span { position: absolute; margin-left: -1.3em; } #sortable li label { cursor: move; } #sortable label:hover {background: #FFFFED; border:1px dotted #aaa; } #draggable { cursor: move;} #draggable1 { cursor: move;} #templateform li{cursor: move;} #templateform li label{cursor: move;} #extratemplateform li{cursor: move;} #extratemplateform li label{cursor: move;} </style> <script type="text/javascript"> $(document).ready(function(){ $("#draggable").draggable(); $("#draggable1").draggable(); $("#templateform").sortable(); $("#templateform").disableSelection(); $("#extratemplateform").sortable(); $("#extratemplateform").disableSelection(); checkfiscalyear("begin","mycompany"); //Display Loading Image //include_once('<?php echo base_url(); ?>assets/js/jquery.MultiFile.min.js'); editsec=1; }); </script> <script type="text/javascript" src="<?=base_url()?>/assets/js/jquery.form.js"></script> <div id="viewmsg"></div> <?php $attributes = array('id' => 'customForm','class' => 'new1'); echo form_open_multipart('documents/addplacingslip',$attributes);?> <fieldset> <ul > <li><table > <tr><td>Type of Policy <select name="policytype" > <!--<option value="0" selected>Select</option>--> <option value="New" >New</option> <option value="Renewal" >Renewal</option> </select> </td> <td>Choose Broking Slip</td><td><img id="loadbro" src="<?=base_url()?>/assets/images/button-search.png" title="Search" class="clickimage" onclick="showbrokingslipdiv()" /> </td></tr></table> </li> <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> </ul> </fieldset> <fieldset><legend> Placing Slip Contents</legend> <ul id="sortable" > <div id="templateform"> </div> <div id="extratemplateform"> </div> </ul> <li></li> <li> <button type="submit" id="button1" value="save" onclick="return submitpslip();">Save</button> </li> </fieldset> <?php echo form_close();?> <!--div class="cssbox" id="draggable"> <div class="cssbox_head"> <h2>Form Tools</h2></div> <div class="cssbox_body"> <fieldset> <ul> <li onClick="addAllInputs('extratemplateform','text');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Text Box</span></li> <li onClick="addAllInputs('extratemplateform','textarea');"><img alt="" src="<?=base_url()?>/assets/images/textarea.png" align="left"><span>Text Area</span></li> <li onClick="addAllInputs('extratemplateform','combobox');"><img alt="" src="<?=base_url()?>/assets/images/dropdown.png" align="left"><span>Drop Down</span></li> <li onClick="addperiodofinsurance('Period Of Insurance','periodofinsurance');"><img alt="" src="<?=base_url()?>/assets/images/dropdown.png" align="left"><span>Period Of Insurance</span></li> </ul> </fieldset> </div> </div--> <div class="cssbox" id="draggable"> <div class="cssbox_head"> <h2>Form Tools</h2></div> <div class="cssbox_body"> <fieldset> <ul> <li onClick="addAllInputs('templateform','text');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Text Box</span></li> <li onClick="addAllInputs('templateform','textarea');"><img alt="" src="<?=base_url()?>/assets/images/textarea.png" align="left"><span>Text Area</span></li> <li onClick="addAllInputs('templateform','combobox');"><img alt="" src="<?=base_url()?>/assets/images/dropdown.png" align="left"><span>Drop Down</span></li> </ul> </fieldset> </div><div class="fronticons"> </div> </div> <div class="cssbox" id="draggable1"> <div class="cssbox_head"> <h2>Form Tools</h2></div> <div class="cssbox_body"> <fieldset> <ul> <li onClick="addstaticfield('templateform','Interest & Sum Insured','suminsured');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>I & S.Insured</span></li> <li onClick="addstaticfield('templateform','Insured','insured');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Insured</span></li> <li onClick="addstaticfield('templateform','Business','business');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Business</span></li> <li onClick="addstaticfield('templateform','Premium','premium');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Premium</span></li> <li onClick="addstaticfield('templateform','Brokerage','brokerage');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Brokerage</span></li> <li onClick="addstaticfield('templateform','Policy Fees','policyfees');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Policy Fees</span></li> <li onClick="addstaticfield('templateform','Rate','rate');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Rate</span></li> <li onClick="addstaticfield('templateform','Period Of Insurance','periodofinsurance');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>P.Insurance</span></li> </ul> </fieldset> </div> </div>