This commit is contained in:
pushuo 2022-08-05 14:14:00 +08:00
parent 2cd58f48c2
commit 4e16cf4e16
1 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,11 @@
<div class="dropdown">
<a class="btn dropdown-toggle ps-0" href="#" role="button" id="currency-dropdown" data-toggle="dropdown"
aria-expanded="false">
{{ current_currency_code() }}
@foreach (currencies() as $currency)
@if ($currency->code == current_currency_code())
{{ $currency->name }}
@endif
@endforeach
</a>
<div class="dropdown-menu" aria-labelledby="currency-dropdown">