@extends('layouts.app')
@section('title', 'Dashboard - Cash Book')
@section('content')
@if(session('success'))
{{ session('success') }}
@endif
@if($errors->any())
@foreach($errors->all() as $error)
- {{ $error }}
@endforeach
@endif
Business Day Summary
Business Day: {{ \Carbon\Carbon::parse(\App\Services\TransactionService::getBusinessDate())->format('d/m/Y') }}
Opening Balance
{{ $openingBalance }}
Business Day Balance
{{ $closingBalance }}
Credit(Receivings)
{{ $todayCredits }}
Debit(Payments)
{{ $todayDebits }}
@if(!in_array(auth()->user()->role, ['accountant', 'auditor']))
@endif
@endsection