@extends('layouts.app')
@section('title', 'Cash book')
@section('content')
| Date | Type | Party | Details | Method | In | Out | Balance |
|---|---|---|---|---|---|---|---|
| Opening balance | {{ money($opening) }} | ||||||
| {{ $e['date']->format('d M Y') }} | {{ $e['type'] }} | {{ $e['party'] }} | {{ $e['detail'] ?: '—' }} | {{ \App\Models\Payment::METHODS[$e['method']] ?? $e['method'] }} | {{ $e['in'] ? money($e['in']) : '' }} | {{ $e['out'] ? money($e['out']) : '' }} | {{ money($e['balance']) }} |
| Totals · closing balance | {{ money($totalIn) }} | {{ money($totalOut) }} | {{ money($closing) }} | ||||