bind title and subheading to the respective document

This commit is contained in:
Hendrik Hagendorn
2023-01-19 20:23:15 +01:00
parent d9d342f9d4
commit 12ca46381a
7 changed files with 111 additions and 38 deletions

View File

@ -22,6 +22,28 @@
<div class="sm:col-span-1"></div>
<div class="sm:col-span-4 grid sm:grid-cols-4 gap-x-8 gap-y-6">
@stack('title_start')
@if (! $hideDocumentTitle)
<x-form.group.text
name="title"
label="{{ trans('settings.invoice.title') }}"
value="{{ $title }}"
not-required
form-group-class="sm:col-span-2" />
@endif
@stack('subheading_start')
@if (! $hideDocumentSubheading)
<x-form.group.text
name="subheading"
label="{{ trans('settings.invoice.subheading') }}"
value="{{ $subheading }}"
not-required
form-group-class="sm:col-span-2" />
@endif
@stack('issue_start')
@if (! $hideIssuedAt)