@extends('layout.master') @section('title', 'Kassenbuch') @section('subnav') @endsection @section('content')
| ID | Datum | Positionen | Person / Firma | Ausgang (S) | Eingang (H) | Konto | Projekt | |
|---|---|---|---|---|---|---|---|---|
| {{ startOfMonth($year, $month) }} | Saldo | {!! formatAmount($sums[$month - 1]['balance']) !!} | ||||||
| @if (!$booking->isSimple()) v @endif | {{ $booking->id }} | {{ formatDate($booking->date) }} | {{ $booking->reference }} | {{ $booking->person_or_company }} | @if ($booking->signedAmount() < 0) {!! formatAmount($booking->signedAmount()) !!} @endif | @if ($booking->signedAmount() >= 0) {!! formatAmount($booking->signedAmount()) !!} @endif | @if ($booking->isSimple()) {{ $booking->accountType()->number . ' - ' . $booking->accountType()->name }} @endif | @if ($booking->isSimple()) {{ $booking->project()->name }} @endif |
| + | {{ $subBooking->reference }} | @if ($subBooking->signedAmount() < 0) {!! formatAmount($subBooking->signedAmount()) !!} @endif | @if ($subBooking->signedAmount() >= 0) {!! formatAmount($subBooking->signedAmount()) !!} @endif | {{ $subBooking->accountType->number . ' - ' . $subBooking->accountType->name }} | {{ $subBooking->project->name }} | |||
| {{ endOfMonth($year, $month) }} | Monatsabschluss | {!! formatAmount($sums[$month]['expeditures']) !!} | {!! formatAmount($sums[$month]['incomes']) !!} | |||||
| {{ endOfMonth($year, $month) }} | Saldo | {!! formatAmount($sums[$month]['balance']) !!} | ||||||
| @endfor |