@extends('reports.layout') @section('content') @php function fmt($amount) { return '$ ' . number_format((float)$amount, 2); } @endphp @if($transfers->isEmpty())
داده‌ای ثبت نشده است
@else @foreach($transfers as $index => $transfer) @endforeach
# تاریخ حساب مبدأ حساب مقصد مبلغ توضیحات ایجاد کننده
{{ $index + 1 }} {{ \App\Helpers\Jalali::formatForDisplay(substr($transfer->date, 0, 10)) }} {{ $transfer->fromAccount->name ?? '-' }} {{ $transfer->toAccount->name ?? '-' }} {{ fmt($transfer->amount) }} {{ $transfer->description ?? '-' }} {{ $transfer->creator->name ?? '-' }}
مجموع {{ fmt($totalAmount) }}
@endif @endsection