employeehours

This commit is contained in:
2018-01-31 21:56:13 +01:00
parent 05c165c9ed
commit b634d0b139
24 changed files with 700 additions and 85 deletions
@@ -10,10 +10,10 @@
<th class="table-cyanish-header">
naam
</th>
<th class="table-cyanish-header">
<th class="table-cyanish-header align-right">
tarief
</th>
<th class="table-cyanish-header">
<th class="table-cyanish-header align-right">
budget
</th>
<th class="table-cyanish-header" width="40px">
@@ -35,18 +35,18 @@
event:{change:$root.saveProjectemployee},
visible:inEdit"></select>
</td>
<td>
<td class="align-right">
<span data-bind=" visible: ! inEdit()">
<i class="icon fa-euro"></i>
<span data-bind="text:tarif"></span>
</span>
</span class="align-right">
<input type="text"
class="form-control form-control-sm"
paceholder="tarief"
data-bind="textInput:tarif, visible:inEdit,
event:{change:$root.saveProjectemployee,keyup:$root.validateNumber.bind($data, 'tarif')}"/>
</td>
<td>
<td class="align-right">
<span data-bind="visible: ! inEdit()"><span data-bind="text:budget"></span> uur</span>
<input type="text"
class="form-control form-control-sm"
@@ -62,6 +62,13 @@
</tr>
</tbody>
<tfoot>
<tr>
<th class="table-cyanish-header align-right" colspan="2">&nbsp;</th>
<th class="table-cyanish-header align-right">
<span data-bind="text:totalBudget"></span> uur
</th>
<th class="table-cyanish-header align-right"></th>
</tr>
<tr>
<td colspan="6">
<button class="btn btn-primary btn-round btn-sm" data-bind="click:addProjectemployee">