@extends('layouts.app') @section('title', 'تراز آزمایشی') @section('content')
@forelse ($result['rows'] as $row) @empty @endforelse
کدحسابنوعبدهکاربستانکارمانده
{{ $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) ? 'متوازن' : 'نامتوازن' }}
@endsection