@php $invoiceNumber = 'INV-' . str_pad($payment->id, 6, '0', STR_PAD_LEFT); $issuedAt = \Carbon\Carbon::parse($payment->created_at)->locale('ar')->translatedFormat('d F Y، h:i A'); $amount = number_format($payment->amount, 2); @endphp
{{-- Actions (hidden on print) --}}
العودة للمعاملات
{{-- Header --}}
شعار منصة ربحي
منصة العمل الحر الموثوقة
فاتورة شحن رصيد
{{ $invoiceNumber }}
{{-- Body --}}
{{-- Meta strip --}}
تاريخ الإصدار
{{ $issuedAt }}
طريقة الدفع
{{ $paymentMethodLabel }}
@if($payment->transaction_id)
رقم العملية
{{ $payment->transaction_id }}
@endif
الحالة
مدفوعة
{{-- Customer block --}}
بيانات العميل
الاسم
{{ $payment->user->name ?? '—' }}
البريد الإلكتروني
{{ $payment->user->email ?? '—' }}
رقم العميل
#{{ $payment->user_id }}
{{-- Items table --}}
تفاصيل الفاتورة
البيان الكمية السعر الإجمالي
شحن رصيد المحفظة
@if(!empty($detailsLine))
{{ $detailsLine }}
@endif
1 ${{ $amount }} ${{ $amount }}
{{-- Stamp + Totals in one row --}}
{{-- Brand Stamp --}}
{{-- Curved path for top text (RABHY PLATFORM) --}} {{-- Curved path for bottom text (date) — flipped so text reads correctly --}} {{-- Outer thick ring --}} {{-- Inner thin ring --}} {{-- Decorative dashed ring --}} {{-- Curved top arc: RABHY PLATFORM --}} RABHY PLATFORM {{-- Curved bottom arc: issue date --}} {{ \Carbon\Carbon::parse($payment->created_at)->format('Y-m-d') }} {{-- Real Rabhy logo mark (the green burst/star from logo.svg) --}} {{-- Brand name in Arabic --}} منصة ربحي {{-- Thin separator line --}} {{-- Tagline --}} شُحن & مُعتمد {{-- Side decorative dots --}}
{{-- Totals --}}
المجموع الفرعي ${{ $amount }}
الضريبة $0.00
الإجمالي ${{ $amount }}
{{-- /.inv-stamp-totals --}} {{-- Footer --}}
{{-- /.inv-body --}}
{{-- /.invoice-card --}}
{{-- /.invoice-page --}}