@extends('frontend.layouts.app') @section('title', __('forex-rate.title')) @section('meta', __('forex-rate.meta_description')) @section('content')
Banner Image

{{ __('forex-rate.section.title') }}

{{ __('forex-rate.section.subtitle') }}

{{ __('forex-rate.section.description') }}

{{-- Date filter --}}
@if(!$forexRate)
No Forex Rate available for the selected date.
@else
@foreach ([ 'morning' => ['time' => '10 AM'], 'afternoon' => ['time' => '2 PM'], ] as $slot => $config)
@forelse ($forexRate->slots[$slot] ?? [] as $row) @empty @endforelse
{{ __('forex-rate.table.' . $slot . '.title') }} {{ $forexRate->date ?? '' }} - ({{ $config['time'] }})
{{ __('forex-rate.table.' . $slot . '.headers.currency') }} {{ __('forex-rate.table.' . $slot . '.headers.unit') }} {{ __('forex-rate.table.' . $slot . '.headers.buying_rate') }}
{{ $row['currency'] }}
{{ $row['unit'] }} {{ $row['buying_rate'] }}
Forex Rate for {{ $config['time'] }} is coming soon…
@endforeach
@endif

All Forex Rate

Forex Rate according to the FEDAN as we all will base on this rate.

Forex Rate
@endsection @push('scripts') @endpush