@extends('layouts.app')
@section('title', 'کدینگ حسابها')
@section('content')
| کد | نام حساب | نوع | ماهیت | بدهکار | بستانکار | مانده |
|---|---|---|---|---|---|---|
| {{ $account->code }} | {{ $account->name }} | {{ $account->typeLabel() }} | {{ $account->nature === 'debit' ? 'بدهکار' : 'بستانکار' }} | {{ rm_money($balances[$account->id]->debit ?? 0) }} | {{ rm_money($balances[$account->id]->credit ?? 0) }} | {{ rm_money(($balances[$account->id]->debit ?? 0) - ($balances[$account->id]->credit ?? 0)) }} |