?
Current Path : /home1/savoy/www/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/www/savoyglobal.net/drafthr/system/application/views/Master/editexcess.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ foreach($viewinfo as $updata) { $cover_id=$updata['cover_id']; $excess=$updata['excess']; $description=$updata['description']; $excessid=$updata['id']; } $cr=$this->mastermodel->get_data_srow('covers',$cover_id,'id'); $sg=$this->mastermodel->get_data_srow('segment_insurances',$cr->segment_id,'id'); ?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage" onclick="loadexcess()" alt="Back" align = "center" width="25" height="25" /></label> </div> <fieldset> <legend>Update Excess</legend> <?php $attributes = array('id' => 'customForm'); echo form_open('master/editexcess',$attributes); echo form_hidden('excessid',$excessid); ?> <ul> <li> <?php echo " <label for='branch'>Insurance Classification</label><select name='segment_id' id='segment_id' onchange=\"showcover()\">"; echo "<option value='".$sg->id."'>".$sg->segment."</option>"; foreach($segment as $seg) { if($seg['segment']!=$sg->segment) echo "<option value='".$seg['id']."'>".$seg['segment']."</option>"; } // echo "<option value='". $list['id'] . "'>" . $list['segment'] . "</option>"; echo "</select>"; ?><span id="segment_idInfo" class="red_bold">*</span> </li> <li id="coverlist"> <?php echo " <label for='branch'>Type Of Cover</label><select name='cover_id' id='cover_id' >"; echo "<option value='".$cr->id."'>".$cr->cover."</option>"; foreach($cover as $clist) { if($clist['cover']!=$cr->cover) echo "<option value='".$clist['id']."'>".$clist['cover']."</option>"; } // echo "<option value='". $list['id'] . "'>" . $list['segment'] . "</option>"; echo "</select>"; ?><span id="cover_idInfo" class="red_bold">*</span> </li> <li> <label for="country">Exclusion</label> <?php $data = array( 'name' => 'excess', 'id' => 'excess', 'value' => $excess, 'style' =>'width:250px;' ); echo form_input($data).form_error($data); ?><span id="excessInfo" class="red_bold">*</span> </li> <li> <label for="country">Description</label> <?php echo form_textarea('description',$description).form_error('description'); ?> </li> <li><label for="submit"> </label> <button type="submit" id="submit" class="clickimage" onclick="return validateform('segment_id','cover_id','excess');">Update</button> </li> </ul> <?php echo form_close();?> </fieldset>