@lang('reports::reports.Journal Report')
{{$data['companyName']}}
@lang('from') {{$data['dates']['from']}} @lang('to') {{$data['dates']['to']}}
@if(isset($data['journalEntries']) && count($data['journalEntries']) > 0)
| @lang('reports::reports.journal_report.journal_date') |
@lang('reports::reports.journal_report.transaction_type') |
@lang('reports::reports.journal_number') |
@lang('reports::reports.journal_report.journal_description') |
@lang('reports::reports.account') |
@lang('reports::reports.reference_name') |
@lang('reports::reports.debit') |
@lang('reports::reports.credit') |
@else
@php
$transactionFilterApplied = request()->filled('transaction_type') && ! in_array('0', (array) request('transaction_type'));
$costCenterFilterApplied = !empty(array_filter((array) request('cost_center_id', []), static function ($v) {
return $v !== '';
}));
@endphp
@if($transactionFilterApplied)
{{ __('reports::reports.journal_report.no_entries_for_transaction_type') }}
@elseif($costCenterFilterApplied)
@lang('reports::reports.journal_report.no_entries_for_cost_center')
@else
@lang('reports::reports.journal_report.no_entries')
@endif
@endif