2022-03-05 16:29:58 +01:00
|
|
|
<div class="input-group">
|
|
|
|
<div class="input-group-prepend"><span class="input-group-text">{{ $title ??'Currency'}}</span></div>
|
|
|
|
<select class="form-control" name="{{$name ?? 'currency'}}">
|
2022-06-27 15:56:29 +02:00
|
|
|
@foreach (App\Models\Pricing::getCurrencyList() as $currency)
|
|
|
|
<option value="{{$currency}}" {{(isset($current) && (string)$current === $currency)? 'selected' : ''}}>
|
|
|
|
{{$currency}}
|
|
|
|
</option>
|
|
|
|
@endforeach
|
2022-03-05 16:29:58 +01:00
|
|
|
</select>
|
|
|
|
</div>
|