Akaunting/resources/views/components/documents/form/advanced.blade.php

39 lines
1.2 KiB
PHP
Raw Normal View History

2022-06-01 07:15:55 +00:00
<x-form.accordion type="advanced">
<x-slot name="head">
<x-form.accordion.head
title="{{ trans_choice($textSectionAdvancedTitle, 1) }}"
description="{{ trans($textSectionAdvancedDescription, ['type' => $type]) }}"
/>
</x-slot>
<x-slot name="body">
@stack('footer_start')
2020-12-23 22:28:38 +00:00
2022-06-01 07:15:55 +00:00
@if (! $hideFooter)
<div class="{{ $classFooter }}">
2022-06-17 12:02:51 +00:00
<x-form.group.textarea name="footer" label="{{ trans('general.footer') }}" class="h-full" :value="$footer" not-required rows="7" />
2022-06-01 07:15:55 +00:00
</div>
@endif
2020-12-23 22:28:38 +00:00
2022-06-01 07:15:55 +00:00
<div class="sm:col-span-4 grid gap-x-8 gap-y-1">
@stack('category_start')
2021-01-22 09:38:17 +00:00
2022-06-01 07:15:55 +00:00
@if (! $hideCategory)
<div class="{{ $classCategory }}">
<x-form.group.category :type="$typeCategory" :selected="$categoryId" />
2020-12-23 22:28:38 +00:00
</div>
2022-06-01 07:15:55 +00:00
@else
<x-form.input.hidden name="category_id" :value="$categoryId" />
@endif
@stack('attachment_end')
@if (! $hideAttachment)
<div class="{{ $classAttachment }}">
<x-form.group.attachment />
</div>
@endif
2020-12-23 22:28:38 +00:00
</div>
2022-06-01 07:15:55 +00:00
</x-slot>
</x-form.accordion>