?
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_sales_lead.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'); }); </script> <div class="select-bar"> <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('sales','viewinsalessearch','search_sales_lead','view_sales_lead','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Inserting new Sales Lead</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('sales/addinsales/insert_sales_lead/view_sales_lead/1',$attributes); $activity=$this->mastermodel->getdatas('activity','activity_category_id'); $status=$this->mastermodel->getenumvalues('sales_lead', 'status'); ?> <ul> <li> <label for="data">Lead Name</label> <input type="text" name="lead_name" id="lead_name" 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">Date</label> <?php $data = array( 'name' => 'date', 'id' => 'date', 'class' =>'required calfocus', 'value' => date('d-m-Y') ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Email</label> <input type="text" name="email" id="email" /> </li> <li> <label for="data">Contact No</label> <input type="text" name="contact_no" id="contact_no" /> </li> <li> <label for="data">Project</label> <select name="activity_id" id="activity_id" class="required" > <option value="">Select</option> <?php foreach($activity as $list) { ?> <option value="<?=$list['activity_id'];?>"><?=$list['activity_name'];?></option> <?php } ?> </select> </li> <li> <label for="data">Remarks</label> <?php $data = array( 'name' => 'remarks', 'id' => 'remarks', ); echo form_textarea($data).form_error($data); ?> <input type="hidden" name="tab_name" value="sales_lead"/> <input type="hidden" name="resfunction" value="search_sales_lead"/> </li> <li> <label for="data">Status</label> <select name="status" id="status" class="required" > <?php if(count($status['val'])>0) { foreach ($status['val'] as $method) { echo "<option value='".$method. "' >" . $method . "</option>"; } } ?> </select> </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>