@extends('layout.master') @section('title', 'Projektbericht ' . $project->name) @section('subnav') Zurück @endsection @section('content')

@yield('title')

@foreach($projectBookings as $subBooking) @endforeach
Datum Buchungstext Person / Firma Ausgang (S) Eingang (H)
{{ formatDate($subBooking->date()) }} {{ $subBooking->reference }} {{ $subBooking->personOrCompany() }} @if($subBooking->ioType()->factor < 0) {!! formatAmount($subBooking->signedAmount()) !!} @endif @if($subBooking->ioType()->factor > 0) {!! formatAmount($subBooking->signedAmount()) !!} @endif
Abschluss {!! formatAmount(- $expeditures) !!} {!! formatAmount($incomes) !!}
Saldo {!! formatAmount($incomes - $expeditures) !!}
@endsection