@extends('layouts.banking') @section('title', 'إيصال المعاملة') @section('content')

شركة CodePlus للصرافة

{{ $transaction->branch->name }}

{{ $transaction->branch->address }}

هاتف: {{ $transaction->branch->phone }}

إيصال معاملة

رقم المرجع: {{ $transaction->reference_number }}

التاريخ: {{ $transaction->transaction_date->format('Y-m-d H:i:s') }}

نوع المعاملة: {{ $transaction->type_name }}

الموظف: {{ $transaction->user->name }}

العميل: {{ $transaction->customer->name ?? 'غير محدد' }}

الحالة: {{ $transaction->status_name }}

@if($transaction->target_currency_id) @endif
البيان المبلغ
المبلغ المصدر ({{ $transaction->sourceCurrency->code }}) {{ number_format($transaction->amount, $transaction->sourceCurrency->decimal_places) }} {{ $transaction->sourceCurrency->symbol }}
سعر الصرف 1 {{ $transaction->sourceCurrency->symbol }} = {{ number_format($transaction->exchange_rate, 6) }} {{ $transaction->targetCurrency->symbol }}
المبلغ الهدف ({{ $transaction->targetCurrency->code }}) {{ number_format($transaction->amount * $transaction->exchange_rate, $transaction->targetCurrency->decimal_places) }} {{ $transaction->targetCurrency->symbol }}
رسوم المعاملة {{ number_format($transaction->fee_amount, $transaction->sourceCurrency->decimal_places) }} {{ $transaction->sourceCurrency->symbol }}
المبلغ الإجمالي {{ number_format($transaction->total_amount, $transaction->sourceCurrency->decimal_places) }} {{ $transaction->sourceCurrency->symbol }}
@if($transaction->type == 'remittance_send')
معلومات المستفيد

اسم المستفيد: {{ $transaction->metadata['beneficiary_name'] ?? 'غير محدد' }}

رقم هاتف المستفيد: {{ $transaction->metadata['beneficiary_phone'] ?? 'غير محدد' }}

عنوان المستفيد: {{ $transaction->metadata['beneficiary_address'] ?? 'غير محدد' }}

نوع هوية المستفيد: {{ $transaction->metadata['beneficiary_id_type'] ?? 'غير محدد' }}

رقم هوية المستفيد: {{ $transaction->metadata['beneficiary_id_number'] ?? 'غير محدد' }}

الوكيل المستلم: {{ $transaction->agent->name ?? 'غير محدد' }}

@elseif($transaction->type == 'remittance_receive')
معلومات المرسل

اسم المرسل: {{ $transaction->metadata['sender_name'] ?? 'غير محدد' }}

رقم هاتف المرسل: {{ $transaction->metadata['sender_phone'] ?? 'غير محدد' }}

عنوان المرسل: {{ $transaction->metadata['sender_address'] ?? 'غير محدد' }}

رمز الحوالة: {{ $transaction->metadata['remittance_code'] ?? 'غير محدد' }}

الوكيل المرسل: {{ $transaction->agent->name ?? 'غير محدد' }}

الغرض من الحوالة: {{ $transaction->metadata['purpose'] ?? 'غير محدد' }}

@endif @if($transaction->notes)
ملاحظات

{{ $transaction->notes }}

@endif

توقيع الموظف

{{ $transaction->user->name }}

توقيع العميل

{{ $transaction->customer->name ?? '________________' }}

شكراً لاختياركم شركة CodePlus للصرافة

جميع الحقوق محفوظة © {{ date('Y') }}

@endsection @section('styles') @endsection