@extends('layouts.app') @section('content')
Branch: {{ $branchName }} | Period: {{ \Carbon\Carbon::parse($dateFrom)->format('d/m/Y') }} to {{ \Carbon\Carbon::parse($dateTo)->format('d/m/Y') }}
| Account Code | Account Description | Debit | Credit | Balance |
|---|---|---|---|---|
| {{ $category['category_name'] }} | ||||
| {{ $account['account_code'] }} | {{ $account['account_name'] }} | @if(isset($account['debit'])) {{ number_format($account['debit'], 2) }} @else {{ number_format($account['total_debit'], 2) }} @endif | @if(isset($account['credit'])) {{ number_format($account['credit'], 2) }} @else {{ number_format($account['total_credit'], 2) }} @endif | @if(isset($account['balance'])) {{ number_format($account['balance'], 2) }} @else {{ number_format($account['total_balance'], 2) }} @endif |
| {{ $subAccount['sub_account_code'] }} | {{ $subAccount['sub_account_name'] }} | {{ number_format($subAccount['debit'], 2) }} | {{ number_format($subAccount['credit'], 2) }} | {{ number_format($subAccount['balance'], 2) }} |
| Total {{ $category['category_name'] }} | {{ number_format($category['total_debit'], 2) }} | {{ number_format($category['total_credit'], 2) }} | {{ number_format($category['total_balance'], 2) }} | |
Try adjusting your filters or check if there are any transactions in the selected period.