The account of a person now shows the sub-bookings which belong to a target.

This commit is contained in:
Lukas Halbritter
2018-09-20 16:49:33 +02:00
parent b38d7ea54e
commit ecd815e182
+10 -1
View File
@@ -94,6 +94,15 @@
<td align='right'>{{ formatAmount($target->actualsSum()) }}</td>
<td align='right'>{{ formatAmount($target->difference()) }}</td>
<tr>
@foreach ($target->bookings as $booking)
<tr>
<td></>
<td>{{ $booking->date() }}</td>
<td>{{ $booking->reference }}</td>
<td></td>
<td align='right'>{{ formatAmount($booking->signedAmount()) }}</td>
<td></td>
</tr>
@endforeach
@endforeach
</table>