@extends('layouts.app') @section('title','Trial Balance') @section('content')
Posted account balances through the selected date.
| Code | Account | Type | Debit | Credit | Net |
|---|---|---|---|---|---|
| {{ $a->code }} | {{ $a->name_en }} | {{ strtoupper($a->type) }} | {{ number_format((float)$a->debit,2) }} | {{ number_format((float)$a->credit,2) }} | {{ number_format((float)$a->debit-(float)$a->credit,2) }} |
| TOTAL | {{ number_format($td,2) }} | {{ number_format($tc,2) }} | Difference {{ number_format($td-$tc,2) }} | ||