From ecd815e1822019313a5e15fbe972a271d42a7439 Mon Sep 17 00:00:00 2001 From: Lukas Halbritter Date: Thu, 20 Sep 2018 16:49:33 +0200 Subject: [PATCH] The account of a person now shows the sub-bookings which belong to a target. --- resources/views/people/show.blade.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/resources/views/people/show.blade.php b/resources/views/people/show.blade.php index a8f719b..937d0dd 100644 --- a/resources/views/people/show.blade.php +++ b/resources/views/people/show.blade.php @@ -94,6 +94,15 @@ {{ formatAmount($target->actualsSum()) }} {{ formatAmount($target->difference()) }} - + @foreach ($target->bookings as $booking) + + + {{ $booking->date() }} + {{ $booking->reference }} + + {{ formatAmount($booking->signedAmount()) }} + + + @endforeach @endforeach