@extends('admin.layouts.app')

@section('title', __('admin/modules.index_title', ['family' => 'Currency']))

@section('content')
<div class="container-fluid px-4">
    <x-admin.page-header
        :title="__('admin/modules.index_title', ['family' => 'Currency'])"
        subtitle="FX rate providers — ECB, OpenErApi, Fixer, OpenExchangeRates"
        icon="fas fa-coins"
    />

    <x-admin.alert />

    <x-admin.module-list
        :type="$type"
        :modules="$modules"
        edit-route-name="admin.currency-providers.edit"
        toggle-route-name="admin.currency-providers.toggle"
        test-route-name="admin.currency-providers.test"
    />
</div>
@endsection

@push('scripts')
@vite('resources/js/admin/modules/list.js')
@endpush
