?
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/singlesettarget.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ foreach($viewinfo as $updata) { $settargetid=$updata['id']; $staffid=$updata['staffid']; $startdate = $updata['startdate']; $enddate=$updata['enddate']; $target=$updata['target']; $targettype=$updata['targettype']; $curr_id=$updata['curr_id']; $curr_name= $this->customermodel->getSingleFieldValue('country','currencyname','id',$curr_id); } $stf=$this->mastermodel->get_data_srow('staffpersonaldetails',$staffid,'id'); $startdate = $this->mastermodel->convdatformat($startdate); $enddate = $this->mastermodel->convdatformat($enddate); ?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage" onclick="loadsettarget('<?=$_SESSION['pagenum']?>','<?=$_SESSION['searchoption']?>','<?=$_SESSION['searchtxt']?>')" alt="Back" align = "center" width="25" height="25" /></label> </div> <fieldset> <legend>Target</legend> <ul> <li> <label>Employee Name</label><label class="lbl_column">:</label> <label class="lbl_title"> <?php echo $stf->name;?></label></li> <?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> <fieldset><ul><li><label>Employee No</label><label class="lbl_title"> <?=$stfper->employeeid;?></label></li> <li><label>Designation</label><label class="lbl_title"> <?=$desg->designation;?></label></li> <li><label>Department</label><label class="lbl_title"> <?=$dept->departmentname;?></label></li> </ul> </fieldset> </li> <li> <label for="Name">Target Period</label><label class="lbl_column">:</label> <label class="lbl_title"> <?php echo $targettype;?></label></li> <li> <label>Start Date</label><label class="lbl_column">:</label> <label class="lbl_title"> <?php echo $startdate;?></label></li> <li> <label>End Date</label><label class="lbl_column">:</label> <label class="lbl_title"> <?php echo $enddate;?></label></li> <li> <label for="Name">Target Premium</label><label class="lbl_column">:</label> <label class="lbl_title"> <?php echo $target;?></label></li> <li> <label for="Name">Currency</label><label class="lbl_column">:</label> <label class="lbl_title"> <?php echo $curr_name;?></label></li> </ul> </fieldset>