?
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/createbslip.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="viewbrokingslip('<?=$_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 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"> $(function() { //$("#sortable").sortable(); //$("#sortable").disableSelection(); $("#draggable").draggable(); $("#draggable1").draggable(); $("#templateform").sortable(); $("#templateform").disableSelection(); $("#extratemplateform").sortable(); $("#extratemplateform").disableSelection(); $('.one').datepick({dateFormat: 'dd-mm-yyyy'}); suggestcovercode('covercode_search'); suggestcustomercode('customercode_search'); }); </script> <?php $attributes = array('id' => 'customForm'); echo form_open_multipart('documents/addbrokingslip',$attributes);?> <fieldset> <ul> <li><table><tr><td>Choose Template</td><td><img id="inliexample1" src="<?=base_url()?>/assets/images/button-search.png" title="Search" class="clickimage" onclick="showcoverdiv()" /></td><td align="right"> <td>Choose Customer</td><td><img id="inliexample2" src="<?=base_url()?>/assets/images/button-search.png" title="Search" class="clickimage" onclick="showcustdiv()" /></td> </tr></table> </li> <li >OR</li> <li> <label>Cover Code</label><input type="text" name="covercode_search" id="covercode_search" /> <img src="<?=base_url()?>/assets/images/use.png" class="clickimage" onclick="usetemplatefromcover($('input#covercode_search').val())" alt="" width="20" height="20" /> </li> <li> <label>Customer Code</label><input type="text" name="customercode_search" id="customercode_search" /> <img src="<?=base_url()?>/assets/images/use.png" class="clickimage" onclick="findcustomerbycode($('input#customercode_search').val())" alt="" width="20" height="20" /> </li> <div id="tempdet" > </div> <li> <div id="covertypedet"> </div> </li> <div id="custdet" > </div> </ul> </fieldset> <fieldset><legend> Broking Slip Contents</legend> <ul id="sortable" > <li style="margin-left: 330px; height: 30px;" > <input type="text" name="template_header" value="Header Of The Template" style="width:250px;"/> <!--label id="headerlabel" ondblclick="updateheader('headerlabel')"> Header of the template</label--> </li> <li > <div><label>Quotation Ref </label> <input type="text" id="quotation_ref" value ="--Auto Generated--" readonly="readonly" name="quotation_ref" style="margin-right:300px;"> <label style="width:60px;">Date</label> <input type="text" name="quotationdate" style="background-image: url(../../../../assets/images/datefocus.gif);" class="one" id="quotationdate" value="<?php echo date("d-m-Y");?>" readonly></div> </li><span id="quotation_refInfo" class="red_bold">*</span> <input type="hidden" name="cover" id="cover"> <input type="hidden" name="coverid" id="coverid"> <div id="templateform"> </div> <div id="extratemplateform"> </div> <input type="hidden" name="isnewadded" id="isnewadded" value=""/> </ul> <li></li> <li> <button type="submit" id="submit" class="clickimage" onclick="return validateform('coverid','insured');">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> </ul> </fieldset> </div> </div>