akaunting 3.0 (the last dance)
This commit is contained in:
24
resources/views/components/form/group/account.blade.php
Normal file
24
resources/views/components/form/group/account.blade.php
Normal file
@ -0,0 +1,24 @@
|
||||
@if (! $attributes->has('withoutAddNew'))
|
||||
<x-form.group.select
|
||||
add-new
|
||||
:path="$path"
|
||||
|
||||
name="{{ $name }}"
|
||||
label="{{ trans_choice('general.accounts', 1) }}"
|
||||
:options="$accounts"
|
||||
:selected="$selected"
|
||||
change="onChangeAccount"
|
||||
form-group-class="{{ $formGroupClass }}"
|
||||
{{ $attributes }}
|
||||
/>
|
||||
@else
|
||||
<x-form.group.select
|
||||
name="{{ $name }}"
|
||||
label="{{ trans_choice('general.accounts', 1) }}"
|
||||
:options="$accounts"
|
||||
:selected="$selected"
|
||||
change="onChangeAccount"
|
||||
form-group-class="{{ $formGroupClass }}"
|
||||
{{ $attributes }}
|
||||
/>
|
||||
@endif
|
Reference in New Issue
Block a user