@extends('layouts.app')
@section('title', 'Cash Book')
@section('subtitle', 'Cash and bank receipts and payments')
@section('content')
| Date | Entry | Account | Description | Receipt | Payment | Balance |
|---|---|---|---|---|---|---|
| Opening balance | {{ money($opening) }} | |||||
| {{ $row['line']->entry->date->format('j M Y') }} | {{ $row['line']->entry->entry_number }} | {{ $row['line']->account->name }} |
{{ $row['line']->description ?? $row['line']->entry->description }}
{{ $row['line']->entry->journalLabel() }}@if ($row['line']->entry->reference) · {{ $row['line']->entry->reference }} @endif
|
{{ $row['receipt'] > 0 ? money($row['receipt']) : '—' }} | {{ $row['payment'] > 0 ? money($row['payment']) : '—' }} | {{ money($row['balance']) }} |
| Totals for period | {{ money($receipts) }} | {{ money($payments) }} | {{ money($closing) }} | |||