|
@@ -13,31 +13,32 @@
|
13
|
13
|
|
14
|
14
|
<x-company.document-template.container class="default-template-container" preview>
|
15
|
15
|
|
16
|
|
- <x-company.document-template.header class="default-template-header border-b-2 p-6 pb-4">
|
17
|
|
- <div class="w-2/3">
|
|
16
|
+ <x-company.document-template.header class="default-template-header border-b">
|
|
17
|
+ <div class="w-1/3">
|
18
|
18
|
@if($document->logo && $document->showLogo)
|
19
|
19
|
<x-company.document-template.logo :src="$document->logo"/>
|
20
|
20
|
@endif
|
21
|
21
|
</div>
|
22
|
22
|
|
23
|
|
- <div class="w-1/3 text-right">
|
24
|
|
- <div class="text-xs">
|
25
|
|
- <h2 class="font-semibold">{{ $document->company->name }}</h2>
|
26
|
|
- @if($formattedAddress = $document->company->getFormattedAddressHtml())
|
27
|
|
- {!! $formattedAddress !!}
|
28
|
|
- @endif
|
|
23
|
+ <div class="w-2/3 text-right">
|
|
24
|
+ <div class="space-y-4">
|
|
25
|
+ <div>
|
|
26
|
+ <h1 class="text-3xl font-light uppercase">{{ $document->header }}</h1>
|
|
27
|
+ @if ($document->subheader)
|
|
28
|
+ <p class="text-xs text-gray-600 dark:text-gray-400">{{ $document->subheader }}</p>
|
|
29
|
+ @endif
|
|
30
|
+ </div>
|
|
31
|
+ <div class="text-xs">
|
|
32
|
+ <strong class="text-xs block">{{ $document->company->name }}</strong>
|
|
33
|
+ @if($formattedAddress = $document->company->getFormattedAddressHtml())
|
|
34
|
+ {!! $formattedAddress !!}
|
|
35
|
+ @endif
|
|
36
|
+ </div>
|
29
|
37
|
</div>
|
30
|
38
|
</div>
|
31
|
39
|
</x-company.document-template.header>
|
32
|
40
|
|
33
|
|
- <x-company.document-template.metadata class="default-template-metadata space-y-6">
|
34
|
|
- <div>
|
35
|
|
- <h1 class="text-2xl font-light uppercase">{{ $document->header }}</h1>
|
36
|
|
- @if ($document->subheader)
|
37
|
|
- <h2 class="text-xs text-gray-600 dark:text-gray-400">{{ $document->subheader }}</h2>
|
38
|
|
- @endif
|
39
|
|
- </div>
|
40
|
|
-
|
|
41
|
+ <x-company.document-template.metadata class="default-template-metadata space-y-2">
|
41
|
42
|
<div class="flex justify-between items-end">
|
42
|
43
|
<!-- Billing Details -->
|
43
|
44
|
<div class="text-xs">
|
|
@@ -127,10 +128,16 @@
|
127
|
128
|
</x-company.document-template.line-items>
|
128
|
129
|
|
129
|
130
|
<!-- Footer Notes -->
|
130
|
|
- <x-company.document-template.footer class="default-template-footer text-xs">
|
131
|
|
- <p class="px-6">{{ $document->footer }}</p>
|
132
|
|
- <span class="border-t-2 my-2 border-gray-300 block w-full"></span>
|
133
|
|
- <h4 class="font-semibold px-6 mb-2">Terms & Conditions</h4>
|
134
|
|
- <p class="px-6 break-words line-clamp-4">{{ $document->terms }}</p>
|
|
131
|
+ <x-company.document-template.footer class="classic-template-footer min-h-48 flex flex-col text-xs p-6">
|
|
132
|
+ <div>
|
|
133
|
+ <h4 class="font-semibold mb-2">Terms & Conditions</h4>
|
|
134
|
+ <p class="break-words line-clamp-4">{{ $document->terms }}</p>
|
|
135
|
+ </div>
|
|
136
|
+
|
|
137
|
+ @if($document->footer)
|
|
138
|
+ <div class="mt-auto text-center py-4">
|
|
139
|
+ <p class="font-semibold">{{ $document->footer }}</p>
|
|
140
|
+ </div>
|
|
141
|
+ @endif
|
135
|
142
|
</x-company.document-template.footer>
|
136
|
143
|
</x-company.document-template.container>
|