Change currency money group issue solved.

This commit is contained in:
Cüneyt Şentürk
2020-02-29 11:40:33 +03:00
parent 0d109aa89c
commit ba79655afa
17 changed files with 66 additions and 95 deletions

View File

@ -1,6 +1,12 @@
@stack($name . '_input_start')
<akaunting-money :col="'{{ $col }}'"
@if (!empty($attributes['v-error']))
:form-classes="[{'has-error': {{ $attributes['v-error'] }} }]"
@else
:form-classes="[{'has-error': form.errors.has('{{ $name }}') }]"
@endif
@if (isset($attributes['required']))
:required="{{ ($attributes['required']) ? 'true' : 'false' }}"
@endif
@ -10,7 +16,7 @@
@endif
@if (isset($attributes['disabled']))
:disabled="{{ $attributes['disabled'] }}"
:disabled="'{{ $attributes['disabled'] }}'"
@endif
@if (isset($attributes['masked']))
@ -27,6 +33,8 @@
@if (!empty($attributes['dynamic-currency']))
:dynamic-currency="{{ $attributes['dynamic-currency'] }}"
@else
:dynamic-currency="currency"
@endif
@if (!empty($attributes['v-model']))
@ -44,6 +52,12 @@
@else
@interface="form.{{ $name }} = $event"
@endif
@if (isset($attributes['v-error-message']))
:form-error="{{ $attributes['v-error-message'] }}"
@else
:form-error="form.errors.get('{{ $name }}')"
@endif
></akaunting-money>
@stack($name . '_input_end')