?
Current Path : /home1/savoy/public_html/oscarerp.com/application/views/franchisee/ |
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/oscarerp.com/application/views/franchisee/edit_franchisee.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('franchisee','viewinfranchiseesearch','search_franchisee','view_franchisee','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Updating Franchisee</h4> </div> </div> <?php $course=$this->mastermodel->getdatas('course','course_id'); $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('franchisee/addinfranchisee/update_franchisee/view_franchisee/1',$attributes); ?> <div class="grid_6"> <div class="box"> <div class="header main">Franchisee Details </div> <div class="content no-padding"> <div class="section _100"> <label>Franchisee Code</label> <div> <input name="franchisee_code" id="franchisee_code" class="required" type="text" readonly="readonly" value="<?=$viewinfo->franchisee_code?>"/> </div> </div> <div class="section _100"> <label>Franchisee Name</label> <div> <input name="franchisee_name" id="franchisee_name" class="required" type="text" value="<?=$viewinfo->franchisee_name;?>"/> </div> </div> <div class="section _100"> <label>Address </label> <div> <textarea name="franchisee_address" id="franchisee_address" type="text"><?=$viewinfo->franchisee_address;?></textarea> </div> </div> <div class="section _100"> <label>Contact No</label> <div> <input name="franchisee_contact_no" id="franchisee_contact_no" type="text" value="<?=$viewinfo->franchisee_contact_no;?>"/> </div> </div> <div class="section _100"> <label>Email</label> <div> <input name="franchisee_email" id="franchisee_email" type="text" value="<?=$viewinfo->franchisee_email;?>"/> </div> </div> <div class="section _100"> <label>Website</label> <div> <input name="franchisee_website" id="franchisee_website" type="text" value="<?=$viewinfo->franchisee_website;?>" /> </div> </div> <div class="section _100"> <label>Remarks </label> <div> <textarea name="franchisee_remarks" id="franchisee_remarks" type="text"><?=$viewinfo->franchisee_remarks;?></textarea> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="content no-padding"> <div class="header main"> Course Details</div> <table class="table"> <tr> <th>Course</th> <th>Remarks</th> <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th> </tr> <?php $i=1; foreach ($cours as $row) { ?> <tr> <td> <select name="course_id<?=$i?>" id="course_id<?=$i?>" class="chzn-done" > <option value=''>Select</option> <?php foreach($course as $list) { ?> <option value="<?=$list['course_id']?>" <?php if($list['course_id']==$row['course_id']) { echo 'selected';}?>><?=$list['course_name']?></option> <?php } ?> </select></td> <td><textarea name="franchisee_course_remarks<?=$i?>" id="franchisee_course_remarks<?=$i?>" type="text"><?=$row['franchisee_course_remarks']?></textarea></td> <td> <img style="float: right; vertical-align: top;"src="<?=base_url()?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/> </td> </tr> <?php } $i++ ?> <tr> <td> <select name="course_id" id="course_id" class="chzn-done" > <option value=''>Select</option> <?php foreach($course as $list) { ?> <option value="<?=$list['course_id']?>"><?=$list['course_name']?></option> <?php } ?> </select></td> <td><textarea name="franchisee_course_remarks" id="franchisee_course_remarks" type="text"></textarea></td> <td> <img style="float: right; vertical-align: top;"src="<?=base_url()?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/> </td> </tr> </table> </div> </div> </div> <div class="grid_12"> <div class="box"> <div class="content no-padding"> <div class="header main"> Contact Details</div> <table class="table"> <tr> <th>Contact Person Name</th> <th>Designation</th> <th>Contact No</th> <th>Email</th> <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th> </tr> <?php foreach ($contact as $list) { ?> <tr> <td><input class="w_90" type="text" name="franchisee_contact_person_name" id="franchisee_contact_person_name" value="<?=$list['franchisee_contact_person_name']?>" /></td> <td><input class="w_90" type="text" name="franchisee_contact_address" id="franchisee_contact_address" value="<?=$list['franchisee_contact_address']?>" /></td> <td><input class="w_90" type="text" name="franchisee_contact_no" id="franchisee_contact_no" value="<?=$list['franchisee_contact_no']?>" /></td> <td><input class="w_90" type="text" name="franchisee_contact_email" id="franchisee_contact_email" value="<?=$list['franchisee_contact_email']?>" /></td> <td> <img style="float: right; vertical-align: top;"src="<?=base_url()?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/> </td> </tr> <?php } ?> <tr> <td><input class="w_90" type="text" name="franchisee_contact_person_name" id="franchisee_contact_person_name"/></td> <td><input class="w_90" type="text" name="franchisee_contact_address" id="franchisee_contact_address"/></td> <td><input class="w_90" type="text" name="franchisee_contact_no" id="franchisee_contact_no"/></td> <td><input class="w_90" type="text" name="franchisee_contact_email" id="franchisee_contact_email"/></td> <td> <img style="float: right; vertical-align: top;"src="<?=base_url()?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/> </td> </tr> </table> </div> </div> </div> <div class="grid_12" > <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"> <input type="hidden" name="franchisee_id" id="franchisee_id" value="<?=$viewinfo->franchisee_id?>"/> </div> <div class="actions-right"> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </div> </div> </div> </div> <?php echo form_close();?>