?
Current Path : /home1/savoy/www/savoyglobal.net/sgms/application/views/Sales/ |
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/sgms/application/views/Sales/add_daily_activity.php |
<script language="javascript" type="text/javascript"> jQuery(document).ready(function() { suggestemployeehierarchy('employee'); }); </script> <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $this->load->view('commonfunctions'); ?> <div class="select-bar"> <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('sales','viewinsalessearch','search_daily_activity','view_daily_activity','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Creating new Daily Activity</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('sales/addinsales/insert_daily_activity/view_daily_activity/1',$attributes); ?> <ul> <li> <label for="data">Employee Name</label> <input type="text" name="employee" id="employee" class="required" /> <input type="hidden" name="employee_id" id="employee_id" class="required" /> </li> <li> <label for="data">Date</label> <?php $data = array( 'name' => 'activity_date', 'id' => 'activity_date', 'class' => 'calfocus' ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Remarks</label> <?php $data = array( 'name' => 'remarks', 'id' => 'remarks', ); echo form_textarea($data).form_error($data); ?> </li> <br/><br/> <li> <table class="sort" cellpadding="0" cellspacing="0" width="200px;"> <tr> <th>Customer Name</th> <th>Contact Person Name</th> <th>Time</th> <th>Contact No</th> <th>Remarks</th> <th width="20%"> <input type="button" style="width:150px;" id="button2" value="Add More" class="addRow" title="Add Row"/> </th> </tr> <tr> <td><input type="text" style="width:100px;" class="required" name="customer_name"></td> <td><input type="text" style="width:100px;" name="contact_person_name"></td> <td><input type="text" style="width:80px;" name="time"></td> <td><input type="text" style="width:80px;" name="contact_no"></td> <td><input type="text" style="width:80px;" name="remarks"></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> <input type="hidden" name="daily_activity_id" id="daily_activity_id" /> <input type="hidden" name="tab_name" value="daily_activity"/> <label for="submit"> </label> <button type="submit" class="clickimage" onclick="checkdatavalidity($('input#employee_id').val(),'employee','No existing employee selected');addformdata('validateform')">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>