?
Current Path : /home1/savoy/public_html/savoyglobal.net/drafthr/system/application/views/Master/ |
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/Master/addcover.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <script> jQuery(document).ready(function () { checkacc_setting(); }); function checkacc_setting() { $.ajax({ type: "POST", url: "<?= site_url('accounting/checkaccountsetting/') ?>", success: function(msg){ if(msg==0) { $("#viewmsg").fadeIn(900,0); $("#viewmsg").html("<div style=\"border:2px solid red;padding-top:4px;text-align:center; width:500px;height:20px;margin-left:30%\" ><font color=\"red\" >Sub Account Settings not Set</font></div>"); $('button[type=submit]#button1').attr('disabled', 'disabled'); } } }); } </script> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage" onclick="showcovertype('<?=$_SESSION['searchoption']?>','<?=$_SESSION['pagenum']?>','<?=$_SESSION['searchtxt']?>')" alt="Back" align = "center" width="25" height="25" /></label> </div> <div id="viewmsg"></div> <fieldset> <legend>Add Cover</legend> <?php $attributes = array('id' => 'customForm'); echo form_open('master/addcover',$attributes);?> <ul> <li> <?php echo '<label for="Segment">Insurance Classification</label>'; echo "<select name='segment_id' id='segment_id' onchange=\"showcover()\">"; echo "<option value='0'>Select Insurance Classification</option>"; if (count($segment)) { foreach ($segment as $key => $list) { echo "<option value='". $list['id'] . "'>" . $list['segment'] . "</option>"; } } echo "</select>"; ?> <span id="segment_idInfo" class="red_bold">*</span> </li> <li> <?php echo '<label for="cover">Cover Code</label>'; ?> <input type="text" value="--Auto Generated--" readonly/> </li> <li> <?php echo '<label for="cover">Add Cover</label>'; $data = array( 'name' => 'cover', 'id' => 'cover', 'value' => '', 'style' =>'width:250px;' ); echo form_input($data).form_error($data); ?> <span id="coverInfo" class="red_bold">*</span> </li> <li><label for="submit"> </label> <button type="submit" id="button1" class="clickimage" onclick="return validateform('cover','segment_id');">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>