?
Current Path : /home1/savoy/www/savoyglobal.net/sibs_draft/system/application/views/Report/ |
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/sibs_draft/system/application/views/Report/dailyactivityrep.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <?php if ($search == "") $search = 'search'; if($fromdate == '') $fromdate = 'fromdate'; if($todate=='') $todate = 'todate'; $cov=$this->mastermodel->get_data_srow('staffpersonaldetails',$search,'id'); $branchname = $this->mastermodel->get_newbranchname($search); ?> <div class="select-bar"> <table width="100%"><tr><td><label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage" onclick="loadsales()" alt="Back" align = "center" width="25" height="25" /></label> </td><td align="center">Employee Daily Activity Report </td><td align="right"> <label><?=anchor('report/genrepdailyactivity/dailyactivity/dailyactivitypdf/'.$fromdate.'/'.$todate.'/'.$search.'/'.$branch_id.'/', '<img src="'.base_url().'/assets/images/pdf.png" title="PDF" align = "center" width="20" height="20">',array('class'=>'delete','onclick'=>"return confirm('Are you sure want to download')"))?></label> <label><?=anchor('report/genrepdailyactivity/dailyactivity/dailyactivityxls/'.$fromdate.'/'.$todate.'/'.$search.'/'.$branch_id.'/', '<img src="'.base_url().'/assets/images/excel.png" title="Excel" align = "center" width="20" height="20">',array('class'=>'delete','onclick'=>"return confirm('Are you sure want to download')"))?></label> </td></tr></table></div> <table class="reportheader"> <tr><td width="150">Employee Name:</td><td><?=$cov->name;?></td></tr> <tr><td>Employee No:</td><td><?=$cov->employeeid;?></td></tr> <tr><td>Branch:</td><td><?=$branchname?></td></tr> <?if ($todate != 'todate'){ ?> <tr><td>Period</td><td> <?=$fromdate?> to <?=$todate?> </td></tr><? } ?> </table> <table width="100%" class="sort"><thead> <tr> <th>Sl No</th> <th>Date</th> <th>Time</th> <th>Customer Name</th> <th>Contact Person</th> <th>Designation</th> <th>Tel No</th> <th>Remarks</th> </tr> <?php $i=1; foreach($viewinfo as $updata) { ?> <tr> <td><?=$i++;?></td> <td><?php echo $this->mastermodel->convdatformat($updata['date']);?></td> <td><?php echo $updata['time'];?></td> <td><?=$updata['name'];?></td> <td><?=$updata['contact_person'];?></td> <td><?=$updata['designation'];?></td> <td><?=$updata['tel_no'];?></td> <td><?=$updata['remarks'];?></td> </tr> <?php } ?> </table>