@if($entries->count() > 0)
| @lang('messages.date') |
@lang('report.entry_type') |
@lang('messages.amount') |
@lang('messages.description') |
@lang('messages.actions') |
@foreach($entries as $entry)
| {{ \Carbon\Carbon::parse($entry->entry_date)->format('d M Y') }} |
@if($entry->entry_type === 'interest_revenue')
@lang('report.interest_income')
@elseif($entry->entry_type === 'interest_expense')
@lang('report.interest_expenses')
@elseif($entry->entry_type === 'depreciation')
@lang('report.depreciation')
@elseif($entry->entry_type === 'appreciation')
@lang('report.appreciation')
@else
{{ $entry->entry_type }}
@endif
|
{{ session('currency_symbol', '$') }}{{ number_format($entry->amount, 2) }}
|
{{ $entry->description ?? '-' }} |
|
@endforeach
@else
@lang('messages.no_non_operating_entries_found')
@endif