@extends('backend.partials.master') @section('title') {{ ___('admin.custom_reports_910083') }} @endsection @section('maincontent') @include('backend.reports._filterbar') @php $laDonut = ['labels' => ['Income', 'Expense'], 'series' => [(float) $income, (float) $expense]]; $laTrend = ['type' => 'bar', 'labels' => $snapshot->pluck('module')->all(), 'series' => [['name' => 'Records', 'data' => $snapshot->pluck('records')->map(fn($v) => (int) $v)->all()]]]; @endphp
{{ ___('admin.total_records_27b219') }}

{{ number_format($totalRecords) }}

{{ ___('admin.total_income_7c29ae') }}

{{ currency_symbol() }}{{ number_format($income) }}

{{ ___('admin.total_expense_204710') }}

{{ currency_symbol() }}{{ number_format($expense) }}

{{ ___('admin.cross_module_snapshot_4895a0') }}

@foreach($snapshot as $row) {{ $row->module }} {{ number_format($row->records) }} {{ $row->label }} {{ is_null($row->value) ? '—' : currency_symbol() . number_format($row->value) }} @endforeach
@endsection