The company form currency field support all currencies and create automatic new currency!

This commit is contained in:
Cüneyt Şentürk
2022-10-25 11:21:05 +03:00
parent 5eace1cbd0
commit f2c0718fee
6 changed files with 107 additions and 4 deletions

View File

@@ -16,7 +16,7 @@
<x-form.group.email name="email" label="{{ trans('general.email') }}" />
<x-form.group.currency name="currency" />
<x-form.group.currency name="currency" :options="$currencies" without-add-new />
<x-form.group.country />
</x-slot>

View File

@@ -14,7 +14,7 @@
<x-form.group.email name="email" label="{{ trans('general.email') }}" />
<x-form.group.currency name="currency" selected="{{ ! empty($company->currency) ? $company->currency : config('setting.fallback.default.currency') }}" />
<x-form.group.currency name="currency" :options="$currencies" selected="{{ ! empty($company->currency) ? $company->currency : config('setting.fallback.default.currency') }}" without-add-new />
<x-form.group.country />
</x-slot>