@extends('layouts.app')
@section('title', 'تراز آزمایشی')
@section('content')
| کد | حساب | نوع | بدهکار | بستانکار | مانده |
|---|---|---|---|---|---|
| {{ $row->code }} | {{ $row->name }} | {{ \App\Models\Account::TYPES[$row->type] ?? $row->type }} | {{ rm_money($row->debit) }} | {{ rm_money($row->credit) }} | {{ rm_money($row->balance) }} |
| جمع کل | {{ rm_money($result['total_debit']) }} | {{ rm_money($result['total_credit']) }} | {{ \App\Support\Dec::eq($result['total_debit'], $result['total_credit'], 2) ? 'متوازن' : 'نامتوازن' }} | ||