@extends('layouts.admin')
@section('title', 'Trial Balance')
@section('content')
@php $currency = \App\Models\Hotel::query()->value('currency') ?? 'USD'; @endphp
| Code | Account | Type | Debit | Credit |
|---|---|---|---|---|
| {{ $row->code }} | {{ $row->name }} | {{ ucfirst($row->type) }} | {{ number_format($row->total_debit, 2) }} | {{ number_format($row->total_credit, 2) }} |
| Totals | {{ $currency }} {{ number_format($totalDebit, 2) }} | {{ $currency }} {{ number_format($totalCredit, 2) }} | ||