@extends('reports.layout') @section('content') @php function fmt($amount) { return '$ ' . number_format((float)$amount, 2); } @endphp
| تاریخ | نوع | حساب مبدأ | حساب مقصد | مبلغ | شماره فاکتور | توضیحات |
|---|---|---|---|---|---|---|
| {{ \App\Helpers\Jalali::formatForDisplay(substr($transaction->date, 0, 10)) }} | @if($transaction->type == 'Income') عایدات @elseif($transaction->type == 'Expense') مصارف @else انتقال @endif | {{ $transaction->fromAccount->name ?? '-' }} | {{ $transaction->toAccount->name ?? '-' }} | {{ fmt($transaction->amount) }} | {{ $transaction->invoice->invoice_number ?? '-' }} | {{ $transaction->description ?? '-' }} |