@extends('layouts.app') @section('title', 'Cash Flow') @include('inventory.accounting.partials.styles') @section('content')

Cash Flow

{{ \Carbon\Carbon::parse($from)->format('M j') }} – {{ \Carbon\Carbon::parse($to)->format('M j, Y') }}

@include('inventory.accounting.partials.sub-nav')
Cash In
{{ number_format($flow['inflow'], 2) }}
Cash Out
{{ number_format($flow['outflow'], 2) }}
Net Cash
{{ number_format($flow['net_cash'], 2) }}

By Source

@forelse($flow['sources'] as $s) @empty @endforelse
SourceInflowOutflowNet
{{ str_replace('_',' ',$s['source']) }} {{ number_format($s['inflow'], 2) }} {{ number_format($s['outflow'], 2) }} {{ number_format($s['net'], 2) }}
No cash activity in period.
@endsection