Sortering factuuroverzicht rapportages

This commit is contained in:
2020-09-07 14:06:44 +02:00
parent 04b109850c
commit c6140e04a6
8 changed files with 38 additions and 8 deletions
@@ -3,6 +3,13 @@
<table class="table table-striped table-condensed">
<thead>
<tr>
<th>
<div class="pointer">
<span data-bind="click:sortList.bind($data, 'projectnumber')">
projectnummer
</span>
</div>
</th>
<th>
factuurnummer
</th>
@@ -28,6 +35,9 @@
</thead>
<tbody data-bind="foreach:invoiced">
<tr>
<td>
<span data-bind="text:projectnumber"></span>
</td>
<td>
<span data-bind="text:invoicenumber"></span>
</td>
@@ -1,6 +1,13 @@
<table class="table table-condensed" style="font-size:0.8em;">
<thead>
<tr>
<th class="rotate">
<div class="pointer">
<span data-bind="click:sortList.bind($data, 'projectnumber')">
projectnummer
</span>
</div>
</th>
<th class="rotate">
<div><span>project</span></div>
</th>
@@ -26,7 +33,8 @@
<tbody>
<!-- ko foreach: monthForecasts -->
<tr>
<td><span data-bind="text:projectname"></span></td>
<td><span data-bind="text:projectnumber"></span></td>
<td><span data-bind="text:projectname"></span></td>
<td><span data-bind="text:customer"></span></td>
<td class="align-right focus-green"><span data-bind="text:needInvoice"></span></td>
<!-- ko foreach : forecastMonths -->
@@ -58,4 +66,4 @@
</th>
</tr>
</tfoot>
</table>
</table>
@@ -1,6 +1,13 @@
<table class="table table-condensed" style="font-size:0.8em;">
<thead>
<tr>
<th class="rotate">
<div class="pointer">
<span data-bind="click:sortList.bind($data, 'projectnumber')">
projectnummer
</span>
</div>
</th>
<th class="rotate">
<div><span>project</span></div>
</th>
@@ -20,7 +27,8 @@
<tbody>
<!-- ko foreach: monthPayments -->
<tr>
<td><span data-bind="text:projectname"></span></td>
<td><span data-bind="text:projectnumber"></span></td>
<td><span data-bind="text:projectname"></span></td>
<td><span data-bind="text:customer"></span></td>
<!-- ko foreach : paymentMonths -->
<td class="align-right"><span data-bind="text:paymentamount"></span></td>
@@ -44,4 +52,4 @@
</th>
</tr>
</tfoot>
</table>
</table>