@extends('layouts.app') @section('content')
{{ _lang('Bank Revenues') }}
{{ csrf_field() }}

{{ _lang('Bank Revenues') }} {{ isset($year) ? _lang('of').' '.$year : '' }}

@if(isset($report_data)) @php $currency = currency(get_currency($currency_id)->name); @endphp @php $total = 0; @endphp @foreach($report_data as $revenue) @php $total += $revenue->amount; @endphp @endforeach @endif
{{ _lang('Revenue Type') }} {{ _lang('Amount') }}
{{ str_replace('_', ' ', $revenue->type) }} {{ decimalPlace($revenue->amount, $currency) }}
{{ _lang('Total Revenue') }} {{ decimalPlace($total, $currency) }}
@endsection