WuYongJie 9595267ee7
Some checks failed
Tests / PHP 8.1 (push) Has been cancelled
Tests / PHP 8.2 (push) Has been cancelled
Tests / PHP 8.3 (push) Has been cancelled
chore: 导入 Akaunting 初始源码与团队协作规则
2026-07-20 18:20:25 +08:00

40 lines
1.0 KiB
PHP

@if (! $attributes->has('withoutAddNew') && ! $attributes->has('without-add-new'))
<x-form.group.select
add-new
:path="$path"
:field="$field"
name="{{ $name }}"
label="{!! trans_choice('general.currencies', 1) !!}"
:options="$currencies"
:selected="$selected"
change="onChangeCurrency"
:multiple="$multiple"
:group="$group"
form-group-class="{{ $formGroupClass }}"
:required="$required"
:readonly="$readonly"
:disabled="$disabled"
{{ $attributes }}
/>
@else
<x-form.group.select
name="{{ $name }}"
label="{!! trans_choice('general.currencies', 1) !!}"
:options="$currencies"
:selected="$selected"
change="onChangeCurrency"
:multiple="$multiple"
:group="$group"
form-group-class="{{ $formGroupClass }}"
:required="$required"
:readonly="$readonly"
:disabled="$disabled"
{{ $attributes }}
/>
@endif