?
Current Path : /home1/savoy/public_html/savoyglobal.net/drafthr/system/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/public_html/savoyglobal.net/drafthr/system/application/views/Sales/edittelecalling.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <link href="<?=base_url()?>/assets/css/calendar.css" rel="stylesheet" type="text/css"> <script type="text/javascript"> jQuery(document).ready(function () { $('.one').datepick({dateFormat: 'dd-mm-yyyy'}); }); </script> <?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ foreach($viewinfo as $updata) { $telecallingid=$updata['id']; $staffid=$updata['staffid']; $leadname = $updata['leadname']; $report=$updata['report']; $reptitle=$updata['reptitle']; $repdate=$updata['repdate']; $contactno=$updata['contactno']; $email=$updata['email']; $repdate=$this->mastermodel->convdatformat($repdate); } ?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage" onclick="loadtelecalling('<?=$_SESSION['pagenum']?>','<?=$_SESSION['searchoption']?>','<?=$_SESSION['searchtxt']?>')" alt="Back" align = "center" width="25" height="25" /></label> </div> <fieldset> <legend>Update Telecalling Details</legend> <?php $attributes = array('id' => 'customForm'); echo form_open('sales/edittelecalling',$attributes); echo form_hidden('telecallingid',$telecallingid); ?> <ul> <?php $stf=$this->mastermodel->get_data_srow('staffpersonaldetails',$staffid,'id'); ?> <li> <label>Employee Name</label> <label class="lbl_title"> <?php echo $stf->name; ?></label></li> <input type="hidden" name="staffid" id="staffid" value="<?php echo $stf->id; ?>"> <input type="hidden" name="employee" id="employee" value="<?php echo $stf->id; ?>"> <?php $stfper=$this->mastermodel->get_data_srow('staffpersonaldetails',$staffid,'id'); $stfemp=$this->mastermodel->get_data_srow('staffemployeedetails',$staffid,'staffid'); $desg = $this->mastermodel->get_data_srow('designation',$stfemp->designationid,'id'); $dept= $this->mastermodel->get_data_srow('department',$stfemp->deptid,'id'); ?> <li id="stfinfodet"> <fieldset><ul> <li><label>Employee No</label><label><?=$stfper->employeeid;?></label></li> <li><label>Designation</label><label><?=$desg->designation;?></label></li> <li><label>Department</label><label><?=$dept->departmentname;?></label></li> </ul> </fieldset> </li> <li> <label>Date</label> <input class="one" name="repdate" id="repdate" readonly="true" value="<?php echo $repdate;?>" type="text" style="background-image: url(../../../../assets/images/datefocus.gif);"> </li> <li> <?php $data = array( 'name' => 'leadname', 'id' => 'leadname', 'value' => $leadname, ); ?> <label for="Name">Lead Name</label> <?php echo form_input($data).form_error($data); ?><span id="leadnameInfo" class="red_bold">*</span> </li> <li> <label for="Name">Email</label> <?php echo form_input('email',$email); ?> </li> <li> <?php $data1 = array( 'name' => 'contactno', 'id' => 'contactno', 'value' => $contactno, ); ?> <label for="Name">Contact No.</label> <?php echo form_input($data1).form_error($data1); ?><span id="contactnoInfo" class="red_bold">*</span> </li> <li> <input type="hidden" name="reptitle" id="reptitle"/> <li> <label for="Name">Description</label> <?php echo form_textarea('report',$report); ?> </li> <li><label for="submit"> </label> <button type="submit" class="clickimage" id="submit" onclick="return doallthethree();">Update</button> </li> </ul> <?php echo form_close();?> </fieldset>