Files
dbois/application/views/reports/monthlyemployeehours/hours_view.php
T
2018-02-21 21:27:23 +01:00

62 lines
2.0 KiB
PHP

<table class="table" style="font-size:.8em;">
<thead>
<tr>
<th class="rotate">
<div><span>projectnummer</span></div>
</th>
<th class="rotate">
<div><span>instroom</span></div>
</th>
<th class="rotate">
<div><span>uitstroom</span></div>
</th>
<th class="rotate">
<div><span>naam</span></div>
</th>
<th class="rotate">
<div><span>opdrachtgever</span></div>
</th>
<!-- ko foreach: uniqueEmployees -->
<th class="rotate">
<div><span data-bind="text:fullname + ' geschreven'"></span></div>
</th>
<!-- /ko -->
<th class="rotate">
<div><span>totaal fact. uren gerealisserd</span></div>
</th>
<!-- ko foreach: uniqueEmployees -->
<th class="rotate">
<div><span data-bind="text:fullname + ' beschikbaar'"></span></div>
</th>
<!-- /ko -->
<th class="rotate">
<div><span>totaal beschikbare uren</span></div>
</th>
</tr>
</thead>
<tbody data-bind="foreach:recap">
<tr>
<td><span data-bind="text:projectnumber"></span></td>
<td><span data-bind="text:instroom"></span></td>
<td><span data-bind="text:uitstroom ? uitstroom : ''"></span></td>
<td><span data-bind="text:projectname"></span></td>
<td><span data-bind="text:name"></span></td>
<!-- ko foreach: employees -->
<td class="align-right">
<span data-bind="text:hours"></span>
</td>
<!-- /ko -->
<th class="align-right">
<span data-bind="text:totalEmployeeHours"></span>
</th>
<!-- ko foreach: employees -->
<td class="align-right">
<span data-bind="text:availableHours"></span>
</td>
<!-- /ko -->
<td class="align-right">
<span data-bind=""></span>
</td>
</tr>
</tbody>
</table>