@extends('admin.settings.setting-layout') @section('title') {{ __('currency_list') }} @endsection @section('breadcrumbs')

{{ __('currency') }} {{ __('settings') }}

@endsection @section('website-settings')
For exchange rates, we use. according to the free API from Exchangerate.host

You can check its authenticity if you want

@csrf

{{ __('currency_list') }}

{{ __('create') }}
@forelse ($currencies as $key => $currency) @empty @endforelse
# {{ __('name') }} {{ __('code') }} {{ __('symbol') }} {{ __('rate') }} {{ __('position') }} {{ __('action') }}
{{ $key + 1 }} {{ $currency->name }} @if (config('zakirsoft.currency') == $currency->code) {{ __('default') }} @endif {{ $currency->code }} {{ $currency->symbol }} @if ($currency->code == 'BTC' || $currency->code == 'ETH' || $currency->code == 'LTC') @php $c_price = currencyConversion(1, 'USD', $currency->code, 8); @endphp {{ $currency->symbol }}{{ $c_price != 'NaN' ? $c_price : '0.00' }} @else {{ $currency->symbol }}{{ currencyConversion(1, 'USD', $currency->code) }} @endif {{ ucfirst($currency->symbol_position) }} @if ($currency->code == 'USD') @endif @if ($currency->code != 'USD')
@method('DELETE') @csrf
@endif
@if ($currencies->total() > $currencies->count()) @endif
@endsection @section('script') @endsection