-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
/
company.blade.php
42 lines (40 loc) · 1.84 KB
/
company.blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<x-form.accordion type="company" :open="(! $hideLogo && empty(setting('company.logo')))">
<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">
@if (! $hideLogo)
<x-form.input.hidden name="company_logo" data-field="setting" />
<x-form.group.file name="company_logo" label="{{ trans('settings.company.logo') }}" :value="setting('company.logo')" not-required data-field="setting" />
@endif
</div>
<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
</div>
</x-slot>
</x-form.accordion>