@extends('layouts.fullscreen') @section('content')

TRIAL BALANCE

{{@strtoupper($app->app_name)}} TRIAL BALANCE AS OF {{request('date')}}
@foreach( array_filter(session()->get('balance')) as $transactions) @endforeach
Particulars Debit
{{empty($app->currency) ? "GHS" : $app->currency}}
Credit
{{empty($app->currency) ? "GHS" : $app->currency}}
{{@ucwords(@strtolower($transactions['particulars']))}} @if(!empty($transactions['debit']) || null) @convert($transactions['debit']) @endif @if(!empty($transactions['credit']) || null) @convert($transactions['credit']) @endif
TOTAL @convert($sumdebit) @convert($sumcredit)
@endsection