@extends('layouts.admin') @section('title', 'Exchange Rates — Global Supply Chain') @section('page_title', 'Exchange Rates') @section('content') {{-- ── Header ──────────────────────────────────────────────────── --}}
Base: USD @if($lastUpdated) · Last updated {{ \Carbon\Carbon::parse($lastUpdated)->diffForHumans() }} @endif
| Currency | Code | Rate (vs USD) | Change % | Source | Recorded |
|---|---|---|---|---|---|
| {{ $rate->targetCurrency?->name ?? '—' }} | {{ $rate->targetCurrency?->code ?? '—' }} @if($rate->targetCurrency?->symbol) ({{ $rate->targetCurrency->symbol }}) @endif | {{ number_format($rate->exchange_rate, 4) }} | @if($rate->change_percentage !== null) {{ $rate->change_percentage >= 0 ? '+' : '' }}{{ number_format($rate->change_percentage, 2) }}% @else — @endif | {{ $rate->source ?? '—' }} | {{ $rate->recorded_at?->format('Y-m-d H:i') ?? '—' }} |
No exchange rates yet.
Run php artisan countries:sync --exchange to import.
|
|||||