@extends('layouts.app') @php $locale = app()->getLocale(); $isRtl = $locale === 'ar'; $currency = \App\Models\Setting::currencyLabel($locale); @endphp @section('title', $isRtl ? 'التدفقات النقدية' : 'Cash Flow') @section('content')
{{ $isRtl ? 'التدفقات الداخلة' : 'Cash Inflows' }}
{{ number_format((float)$cashInflows, 2) }} {{ $currency }}
{{ $isRtl ? 'التدفقات الخارجة' : 'Cash Outflows' }}
{{ number_format((float)$cashOutflows, 2) }} {{ $currency }}
{{ $isRtl ? 'صافي التدفق' : 'Net Cash Flow' }}
{{ number_format((float)$netCashFlow, 2) }} {{ $currency }}
| {{ $isRtl ? 'النوع' : 'Type' }} | {{ $isRtl ? 'الإجمالي' : 'Total' }} |
|---|---|
| {{ $row->payment_type }} | {{ number_format((float)$row->total, 2) }} |
| {{ $isRtl ? 'لا توجد بيانات' : 'No data' }} | |
| {{ $isRtl ? 'التصنيف' : 'Category' }} | {{ $isRtl ? 'الإجمالي' : 'Total' }} |
|---|---|
| {{ $row->category->name_ar ?? $row->category->name ?? '—' }} | {{ number_format((float)$row->total, 2) }} |
| {{ $isRtl ? 'لا توجد بيانات' : 'No data' }} | |