@extends('layouts.app') @section('content')
| Code | Account Name | Sub Type | Balance |
|---|---|---|---|
| {{ $account->code }} | {{ $account->name }} | {{ $account->sub_type }} | @if($account->balance >= 0) {{ number_format($account->balance, 2) }} Dr @else {{ number_format(abs($account->balance), 2) }} Cr @endif |
| No accounts found for this type | |||
| Total: | Rs. {{ number_format($accounts->sum('balance'), 2) }} | ||