?
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_employeecustomer.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <script language="javascript" type="text/javascript"> jQuery(document).ready(function() { suggestemployeehierarchy('employee'); suggestcustomer(); }); </script> <div class="select-bar"> <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('sales','viewinsalessearch','search_employeecustomer','view_employeecustomer','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Allocate customer to employee</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('sales/addinsales/insert_employeecustomer/view_employeecustomer/1',$attributes); ?> <ul> <li> <label for="data">Customer Name</label> <input type="text" name="customer" id="customer" class="required" /> <input type="hidden" name="customer_id" id="customer_id" class="required" /> </li> <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">Alloted Date</label> <?php $data = array( 'name' => 'customer_allocation_date', 'id' => 'customer_allocation_date', 'class' =>'required calfocus', 'value' => date('d-m-Y') ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Description</label> <?php $data = array( 'name' => 'description', 'id' => 'description', ); echo form_textarea($data).form_error($data); ?> <input type="hidden" name="tab_name" value="employeecustomer"/> <input type="hidden" name="resfunction" value="search_employeecustomer"/> </li> <li> <label for="submit"> </label> <button type="submit" id="submit" class="clickimage" onclick="checkdatavalidity($('input#customer_id').val(),'customer','No existing customer selected');checkdatavalidity($('input#employee_id').val(),'employee','No existing employee selected');addformdata('validateform')">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>