{{ __('Exchange Rates Manager') }}

@error('effectiveDate')

{{ $message }}

@enderror
@if ($showForm) @endif @foreach ($exchangeRates as $index => $rate) @if ($showForm) @endif @endforeach
{{ __('Currency') }} {{ __('Code') }} {{ __('Symbol') }} {{ __('Exchange Rate') }} {{ __('Actions') }}
{{ $rate['currency_name'] }} @if ($rate['is_base']) {{ __('Base') }} @endif
{{ $rate['currency_code'] }} {{ $rate['currency_symbol'] }} @if ($showForm && $editingRateId === $index)
@error("exchangeRates.{$index}.rate")

{{ $message }}

@enderror @else
{{ $rate['rate'] ? number_format($rate['rate'], 8) : __('Not Set') }} @if ($showForm && !$rate['is_base']) @endif
@endif
@if (!$rate['is_base'] && $rate['id']) @endif
@if ($showForm)
@endif

{{ __('Note:') }} {{ __('The base currency (highlighted in blue) always has a rate of 1.0 and cannot be modified. All other rates represent the conversion rate from the base currency to that currency.') }}

{{ __('Loading...') }}