@extends('layouts.master') @section('css') @endsection @section('title') Cash Flow @endsection @section('content')
Cash Flow
@foreach ($ledgers as $ledger) @if ($ledger->inflow == 0) @continue @else @endif @endforeach
Inflow Amount
{{ $ledger->name }} {{ $ledger->inflow }}
@foreach ($ledgers as $ledger) @if ($ledger->outflow == 0) @continue @else @endif @endforeach
Outflow Amount
{{ $ledger->name }} {{ $ledger->outflow }}
Total {{ $numberFormat($inflowTotal) }} Total {{ $numberFormat($outflowTotal) }}
@endsection @section('script') @endsection