@extends('layouts.app') @section('title', 'إدارة أسعار الصرف') @section('content')
أسعار الصرف الحالية
@if(isset($exchangeRates) && count($exchangeRates) > 0) @foreach($exchangeRates as $rate) @endforeach @else @endif
# من العملة إلى العملة سعر الشراء سعر البيع تاريخ السريان الحالة الإجراءات
{{ $loop->iteration }}
{{ $rate->fromCurrency->symbol }} {{ $rate->fromCurrency->code }}
{{ $rate->toCurrency->symbol }} {{ $rate->toCurrency->code }}
{{ number_format($rate->buy_rate, 6) }} {{ number_format($rate->sell_rate, 6) }} {{ $rate->effective_date }} @if($rate->is_active) نشط @else غير نشط @endif
لا توجد أسعار صرف مسجلة
@if(isset($exchangeRates)) @foreach($exchangeRates as $rate) @endforeach @endif @endsection @section('scripts') @endsection