@extends('master.app') @section('title', 'Cash') @section('body')
Cash Balance
@include('journals.cash.navbar')
Income Amount
    @foreach ($currency as $row)
  • {{ $row->title_ps }} {{ $cushJournal->where('currency_id', $row->id)->sum('income') }}
  • @endforeach
outgoing Amount
    @foreach ($currency as $row)
  • {{ $row->title_ps }} {{ $cushJournal->where('currency_id', $row->id)->sum('outgoing') }}
  • @endforeach
Balance
    @foreach ($currency as $row)
  • {{ $row->title_ps }} {{ $cushJournal->where('currency_id', $row->id)->sum('income') - $cushJournal->where('currency_id', $row->id)->sum('outgoing') }}
  • @endforeach
@include('journals.cash.income-modal') @include('journals.cash.outgoing-model') @endsection @section('pageJs') @endsection