@extends('layouts.app') @section('title', 'کدینگ حساب‌ها') @section('content')
@foreach ($accounts as $account) @endforeach
کدنام حسابنوعماهیتبدهکاربستانکارمانده
{{ $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)) }}
@can('accounting.manage')

حساب جدید

@csrf
@endcan
@endsection