?
Current Path : /home1/savoy/public_html/savoyglobal.net/hr/application/views/Timesheet/ |
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/hr/application/views/Timesheet/add_manpower_hiring.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="select-bar"> <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('timesheet','viewintimesheetsearch','search_manpower_hiring','view_manpower_hiring','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Creating new Company</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('timesheet/addintimesheet/insert_manpower_hiring/view_manpower_hiring/1',$attributes); $trade_list=$this->mastermodel->getdatas('trade','trade_name'); ?> <ul> <li> <label for="data">Company Name</label> <?php $data = array( 'name' => 'company_name', 'id' => 'company_name', 'class' =>'required' ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Cordinator</label> <?php $data = array( 'name' => 'company_cordinator', 'id' => 'company_cordinator', ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Address</label> <?php $data = array( 'name' => 'company_address', 'id' => 'company_address' ); echo form_textarea($data).form_error($data); ?> </li> <li> <label for="data">Po Box</label> <?php $data = array( 'name' => 'company_pobox', 'id' => 'company_pobox' ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">City</label> <?php $data = array( 'name' => 'company_city', 'id' => 'company_city' ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Country</label> <?php $data = array( 'name' => 'company_country', 'id' => 'company_country' ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Email</label> <?php $data = array( 'name' => 'company_email', 'id' => 'company_email' ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Contact No</label> <?php $data = array( 'name' => 'company_contact_no', 'id' => 'company_contact_no' ); echo form_input($data).form_error($data); ?> <input type="hidden" name="tab_name" value="payroll_manpower_hiring"/> <input type="hidden" name="resfunction" value="search_manpower_hiring"/> </li> <li> <label for="data">Trade WEF Date</label> <div id="multi"> <?php $data = array( 'name' => 'manpower_hiring_trade_change_date', 'id' => 'manpower_hiring_trade_change_date', 'class' =>'required medium', 'value' => date("d-m-Y") ); echo form_input($data).form_error($data); ?> <img src="<?=base_url()?>assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> </li> <li> <table class="sort" cellpadding="0" cellspacing="0" width="200px;"> <tr> <th>Employee No</th> <th>Employee Name</th> <th>Trade</th> <th>Contact No</th> <th>Status</th> <th width="20%"> <input style="width:75px;" type="button" style="width:150px;" id="button2" value="Add More" class="addRow" title="Add Row"/> </th> </tr> <tr> <td><input type="text" class="required medium" name="manpower_hiring_employee_no"></td> <td><input type="text" class="required medium" name="manpower_hiring_employee_name"></td> <td> <select name="manpower_hiring_employee_trade_id" id="manpower_hiring_employee_trade_id" class="required"> <option value="">Select</option> <?php foreach($trade_list as $trade) { echo "<option value='". $trade['trade_id'] . "'>" . $trade['trade_name'] . "</option>"; } ?> </select> </td> <td><input type="text" class="medium" name="manpower_hiring_employee_contact_no" /></td> <td> <select name="manpower_hiring_employee_active" id="manpower_hiring_employee_active" class="required"> <option value='1'>Active</option> <option value='0'>Inactive</option> </select> </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> </li> <li> <label for="submit"> </label> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>