{{ $shop_infos->shop_name }}

{{ $shop_infos->business_type }}

{{ $shop_infos->address }}

Income Statement

{{ \Carbon\Carbon::parse($start_date)->format('d-m-Y') }} To {{ \Carbon\Carbon::parse($end_date)->format('d-m-Y') }}

@php $total_income = 0; // Initialize total income @endphp @foreach($ledger_trans as $item) @php // Accumulate total income $total_income += $item->total_balance ?? 0; @endphp @endforeach
Income
{{ $item->ledger_name ?? 'N/A' }} {{ number_format($item->total_balance ?? 0, 2) }}
Total Income {{ number_format($total_income, 2) }}
Net Profit/Loss 0.00
@php $total_expense = 0; // Initialize total income @endphp @foreach($ledger_trans_expenses as $item) @php // Accumulate total income $total_expense += $item->total_balance ?? 0; @endphp @endforeach
Expense
{{ $item->ledger_name ?? 'N/A' }} {{ number_format($item->total_balance ?? 0, 2) }}
Total Expense {{ number_format($total_expense, 2) }}