akaunting 3.0 (the last dance)
This commit is contained in:
28
resources/views/components/contacts/form/content.blade.php
Normal file
28
resources/views/components/contacts/form/content.blade.php
Normal file
@ -0,0 +1,28 @@
|
||||
<x-form.container>
|
||||
<x-form
|
||||
id="{{ $formId }}"
|
||||
:route="$formRoute"
|
||||
method="{{ $formMethod }}"
|
||||
:model="$contact"
|
||||
>
|
||||
@if (! $hideSectionGeneral)
|
||||
<x-contacts.form.general type="{{ $type }}" />
|
||||
@endif
|
||||
|
||||
@if (! $hideSectionBilling)
|
||||
<x-contacts.form.billing type="{{ $type }}" />
|
||||
@endif
|
||||
|
||||
@if (! $hideSectionAddress)
|
||||
<x-contacts.form.address type="{{ $type }}" />
|
||||
@endif
|
||||
|
||||
<x-form.input.hidden name="type" value="{{ $type }}" />
|
||||
|
||||
@if (! empty($contact))
|
||||
<x-form.group.switch name="enabled" label="{{ trans('general.enabled') }}" />
|
||||
@endif
|
||||
|
||||
<x-contacts.form.buttons type="{{ $type }}" />
|
||||
</x-form>
|
||||
</x-form.container>
|
Reference in New Issue
Block a user