@extends('layouts.app') @section('title', $report['title']) @section('content')
← Report Center

Live transactional report

{{ $savedReport->name ?? $report['title'] }}

Generated from tenant-scoped database transactions and posted journals.

@if($type !== 'custom')PDFExcelCSV@endif
@if($report['totals'])
@foreach($report['totals'] as $label=>$value)

{{ str_replace('_',' ',$label) }}

{{ is_numeric($value) ? 'AED '.number_format((float)$value,2) : $value }}

@endforeach
@endif
@foreach($report['columns'] as $column)@endforeach@forelse($report['rows'] as $row)@foreach(array_values($row) as $value)@endforeach@empty@endforelse
{{ $column }}
{{ is_float($value) ? number_format($value,2) : $value }}
No real transactions match these filters.
@endsection