@extends('layouts.admin') @section('title','Currencies & Exchange Rates') @section('heading','Currencies & Exchange Rates') @section('content')

Currency registry

One base currency is used as the operational reference. Transaction currencies and historical amounts are never rewritten.

@csrf

Publish rate

Rates are effective-dated and append-only. Create a newer record when the market rate changes.

@csrf

Configured currencies

@foreach($currencies as $c)@endforeach
CurrencyFormatStateUpdate
{{ $c->code }}
{{ $c->name }}
{{ $c->symbol }} · {{ $c->decimal_places }} decimals{{ $c->is_base?'Base · ':'' }}{{ $c->is_active?'Active':'Inactive' }}
@csrf @method('put')

Effective rate history

@forelse($rates as $rate)@empty@endforelse
PairRateWindowSourceAvailability
{{ $rate->baseCurrency->code }}/{{ $rate->quoteCurrency->code }}{{ rtrim(rtrim(number_format((float)$rate->rate,10,'.',''),'0'),'.') }}{{ $rate->effective_at->format('d M Y H:i') }}
until {{ $rate->expires_at?->format('d M Y H:i') ?: 'open' }}
{{ $rate->source }}
{{ $rate->creator?->email ?: 'system' }}
@csrf @method('put')
No conversion rates have been published.
{{ $rates->links() }}
@endsection