akaunting 3.0 (the last dance)

This commit is contained in:
Burak Civan
2022-06-01 10:15:55 +03:00
parent cead09f6d4
commit d9c0764572
3812 changed files with 126831 additions and 102949 deletions

View File

@ -0,0 +1,25 @@
@stack($name . '_input_start')
<akaunting-switch
name="{{ $name }}"
value="{{ (int) $value }}"
@if (! empty($attributes['model']))
:model="{{ $attributes['model'] }}"
@endif
@if (! empty($attributes['v-model']))
@interface="form.errors.clear('{{ $attributes['v-model'] }}'); {{ $attributes['v-model'] . ' = $event' }}"
@elseif (!empty($attributes['data-field']))
@interface="form.errors.clear('{{ 'form.' . $attributes['data-field'] . '.' . enabled }}'); {{ 'form.' . $attributes['data-field'] . '.' . enabled . ' = $event' }}"
@else
@interface="form.errors.clear('enabled'); form.enabled = $event"
@endif
@if (!empty($attributes['change']))
@change="{{ $attributes['change'] }}($event)"
@endif
>
</akaunting-switch>
@stack($name . '_input_end')