@extends('layouts.app') @section('content')
| {{ _lang('Revenue Type') }} | {{ _lang('Amount') }} | @if(isset($report_data)) @php $currency = currency(get_currency($currency_id)->name); @endphp @php $total = 0; @endphp @foreach($report_data as $revenue)
|---|---|
| {{ str_replace('_', ' ', $revenue->type) }} | {{ decimalPlace($revenue->amount, $currency) }} |
| {{ _lang('Total Revenue') }} | {{ decimalPlace($total, $currency) }} |