?
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_branch.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $this->load->view('qatar_id_validation'); ?> <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 Branch Details</div> <div class="tools"> <a href="#" onclick="viewdata('settings', 'viewinsettingssearch', 'search_branch', 'view_branch', '<?= $_SESSION['pagenum']; ?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); echo form_open('settings/addinsettings/update_branch/view_branch/1', $attributes); ?> <h3 class="form-section"></h3> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Branch Name </label> <div class="controls"> <input type="text" name="branch_name" id="branch_name" class="m-wrap span12 required" value="<?= $viewinfo->branch_name; ?>"/> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Branch Code </label> <div class="controls"> <input type="text" name="branch_code" id="branch_code" class="m-wrap span12 required" value="<?= $viewinfo->branch_code; ?>"/> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Address </label> <div class="controls"> <input type="text" name="address" id="address" class="m-wrap span12" value="<?= $viewinfo->address; ?>" /> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">City </label> <div class="controls"> <input type="text" name="city" id="city" class=" m-wrap span12 required" value="<?= $viewinfo->city; ?>"/> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Country </label> <div class="controls"> <input type="text" name="country" id="country" class=" m-wrap span12" value="<?= $viewinfo->country; ?>"/> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Contact No </label> <div class="controls"> <input type="text" name="contact_no" class=" m-wrap span12 required number" value="<?= $viewinfo->contact_no; ?>" onchange="contact_validation(this)" /> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">E Mail </label> <div class="controls"> <input type="text" name="email" id="email" class=" m-wrap span12" value="<?= $viewinfo->email; ?>"/> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Fax </label> <div class="controls"> <input type="text" name="fax" id="fax" class=" m-wrap span12" value="<?= $viewinfo->fax; ?>"/> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Website</label> <div class="controls"> <input type="text" name="website" id="website" class=" m-wrap span12" value="<?= $viewinfo->website; ?>" /> </div> </div> </div> </div> <h3 class="form-section">Email Settings</h3> <?php $email_details = $this->mastermodel->get_data_srow('branch_email_settings', $viewinfo->branch_id, 'branch_id') ?> <table class="table table-striped table-hover table-bordered"> <tr> <th>Email</th> <th>Name</th> <th>Password</th> <th>Smtp</th> </tr> <tr> <td><input type="text" name="from_email" id="from_email" class="email span12 " value="<?= $email_details->from_email ?>" /> </td> <td><input type="text" name="from_name" id="from_name" class="span12 " value="<?= $email_details->from_name ?>"/> </td> <td><input type="password" name="from_password" id="from_password" class="span12 " value="<?= $email_details->from_password ?>"/> </td> <td><input type="text" name="smtp" id="smtp" class="span12 " value="<?= $email_details->smtp ?>"/> </td> </tr> </table> <h3 class="form-section">Sms Settings</h3> <?php $sms_details = $this->mastermodel->get_data_srow('branch_sms_settings', $viewinfo->branch_id, 'branch_id') ?> <table class="table table-striped table-hover table-bordered"> <tr> <th>UserName</th> <th>Password</th> <th>Domain</th> </tr> <tr> <td><input type="text" name="username" id="username" class="span12 " value="<?= $sms_details->username ?>"/> </td> <td><input type="password" name="password" id="password" class="span12 " value="<?= $sms_details->password ?>" /> </td> <td><input type="text" name="domain" id="domain" class="span12 " value="<?= $sms_details->domain ?>" /> </td> </tr> </table> <div class="form-actions"> <input type="hidden" name="resfunction" value="search_branch"/> <input type="hidden" name="tab_name" value="branch"/> <!-- // <input type="hidden" name="tab_id" value="<?= $id; ?>"/>--> <input type="hidden" name="branch_id" value="<?= $viewinfo->branch_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_branch', 'view_branch', '<?= $_SESSION['pagenum']; ?>')" class="btn">Cancel</button> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div>