2022-06-01 10:15:55 +03:00
|
|
|
<x-form.accordion type="company">
|
|
|
|
<x-slot name="head">
|
|
|
|
<x-form.accordion.head
|
|
|
|
title="{{ trans_choice($textSectionCompaniesTitle, 1) }}"
|
|
|
|
description="{{ trans($textSectionCompaniesDescription) }}"
|
|
|
|
/>
|
|
|
|
</x-slot>
|
|
|
|
|
|
|
|
<x-slot name="body">
|
|
|
|
<div class="sm:col-span-2 grid gap-x-8 gap-y-6">
|
|
|
|
@if (! $hideDocumentTitle)
|
|
|
|
<x-form.group.text name="title" label="{{ trans('settings.invoice.title') }}" value="{{ $titleSetting }}" not-required data-field="setting" />
|
|
|
|
@endif
|
2020-12-24 01:28:38 +03:00
|
|
|
|
2022-06-01 10:15:55 +03:00
|
|
|
@if (! $hideDocumentSubheading)
|
|
|
|
<x-form.group.text name="subheading" label="{{ trans('settings.invoice.subheading') }}" value="{{ $subheadingSetting }}" not-required data-field="setting" />
|
|
|
|
@endif
|
|
|
|
</div>
|
2020-12-24 01:28:38 +03:00
|
|
|
|
2022-06-01 10:15:55 +03:00
|
|
|
<div class="sm:col-span-1"></div>
|
2020-12-24 01:28:38 +03:00
|
|
|
|
2022-06-01 10:15:55 +03:00
|
|
|
<div class="sm:col-span-2">
|
|
|
|
@if (! $hideLogo)
|
|
|
|
<x-form.group.file name="company_logo" label="{{ trans('settings.company.logo') }}" :value="setting('company.logo')" not-required data-field="setting" />
|
|
|
|
@endif
|
|
|
|
</div>
|
2020-12-24 01:28:38 +03:00
|
|
|
|
2022-06-01 10:15:55 +03:00
|
|
|
<div class="sm:col-span-2 relative">
|
|
|
|
@if (! $hideCompanyEdit)
|
|
|
|
<akaunting-company-edit
|
|
|
|
company-id="{{ company_id() }}"
|
|
|
|
button-text="{{ trans('settings.company.edit_your_business_address') }}"
|
|
|
|
tax-number-text="{{ trans('general.tax_number') }}"
|
|
|
|
:company="{{ json_encode($company) }}"
|
|
|
|
:company-form="{{ json_encode([
|
|
|
|
'show' => true,
|
|
|
|
'text' => trans('settings.company.edit_your_business_address'),
|
|
|
|
'buttons' => [
|
|
|
|
'cancel' => [
|
|
|
|
'text' => trans('general.cancel'),
|
|
|
|
'class' => 'btn-outline-secondary'
|
|
|
|
],
|
|
|
|
'confirm' => [
|
|
|
|
'text' => trans('general.save'),
|
|
|
|
'class' => 'disabled:bg-green-100'
|
|
|
|
]
|
|
|
|
]
|
|
|
|
])}}"
|
|
|
|
></akaunting-company-edit>
|
|
|
|
@endif
|
2020-12-24 01:28:38 +03:00
|
|
|
</div>
|
2022-06-01 10:15:55 +03:00
|
|
|
</x-slot>
|
|
|
|
</x-form.accordion>
|