@extends('layouts.app')
@section('title', __('nav.closings'))
@section('content')
<h1 class="h4 mb-3">{{ __('nav.closings') }}</h1>
<div class="card"><table class="table mb-0"><thead><tr><th>{{ __('messages.date') }}</th><th>{{ __('messages.expected_balance') }}</th><th>{{ __('messages.actual_balance') }}</th><th>{{ __('messages.difference') }}</th></tr></thead>
<tbody>@forelse($closings as $c)<tr><td>{{ $c->closing_date?->toDateString() }}</td><td>{{ money($c->expected_cash) }}</td><td>{{ money($c->actual_cash) }}</td><td>{{ money($c->difference) }}</td></tr>@empty<tr><td colspan="4">{{ __('messages.no_results') }}</td></tr>@endforelse</tbody></table>
<div class="card-body">{{ $closings->links() }}</div></div>
@endsection
