rapport 1

This commit is contained in:
2018-02-18 21:00:07 +01:00
parent f3b40c5bce
commit 3f2fffd1d4
6 changed files with 279 additions and 12 deletions
@@ -41,7 +41,27 @@
<!-- ko foreach:uniqueEmployees -->
<div class="tab-pane" data-bind="css:{'active':$root.sluggy() == slug}">
<?php $this->load->view('reports/monthlyemployeehours/employee_view'); ?>
<div style="position:relative">
<div style="position:absolute;right:20px; z-index:10;">
<div class="onoffswitch" data-bind="click:$root.toggleHourView">
<input type="checkbox"
name="onoffswitch"
class="onoffswitch-checkbox"
data-bind="checked:hourView"
id="myonoffswitch">
<label class="onoffswitch-label" for="myonoffswitch">
<span class="onoffswitch-inner"></span>
<span class="onoffswitch-switch"></span>
</label>
</div>
</div>
</div>
<!-- ko if : hourView() -->
<?php $this->load->view('reports/monthlyemployeehours/_employeehour_view'); ?>
<!-- /ko -->
<!-- ko if : ! hourView() -->
<?php $this->load->view('reports/monthlyemployeehours/_employeerevenue_view'); ?>
<!-- /ko -->
</div>
<!-- /ko -->
</div>