?
Current Path : /home1/savoy/public_html/savoyglobal.net/eldertree/application/views/settings/ |
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/eldertree/application/views/settings/edit_alert_master.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Updating User Details</div> <div class="tools"> <a href="#" onclick="viewdata('settings','viewinsettingssearch','search_alert_master','view_alert_master','<?= $_SESSION['pagenum']; ?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('settings/addinsettings/update_alert_master/view_alert_master/1', $attributes); ?> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label> Remind Before (No of days) </label> <div> <input name="alert_master_days" id="alert_master_days" class="medium number" type="text" value="<?= $viewinfo->alert_master_days ?>"> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label> Assign employees to alerts </label> </div> </div> <table class="table" style="width: 30%;"> <tr> <th>Select</th> <th>Employee</th> </tr> <?php $i = 1; foreach ($employee_list as $employee) { $num = $this->mastermodel->number_rows('alert_master_employee', 'alert_master_id', $alert_master_id, 'alert_master_employee_id', $employee['employee_id']); ?> <tr> <td><input style="width:15px;" type="checkbox" name="select_employee_<?= $i; ?>" <?php if ($num > 0) { echo "checked"; } ?> </td> <td> <input type="hidden" name="employee_id_<?= $i; ?>" value="<?= $employee['employee_id']; ?>"/> <?= $employee['employee_name'] . ' - ' . $employee['employee_no']; ?> </td> </tr> <?php $i++; } ?> </table> <div class="form-actions"> <input type="hidden" name="limit" value="<?= $i ?>"/> <input type="hidden" name="alert_master_id" id="alert_master_id" value="<?= $alert_master_id ?>"/> <button type="submit" onclick="addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Save</button> <button type="button" onclick="viewdata('settings','viewinsettingssearch','search_alert_master','view_alert_master','<?= $_SESSION['pagenum']; ?>')" class="btn">Cancel</button> </div> </div> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div> </div>