|
@@ -12,9 +12,8 @@
|
12
|
12
|
</style>
|
13
|
13
|
|
14
|
14
|
<x-company.document-template.container class="modern-template-container" preview>
|
15
|
|
-
|
16
|
15
|
<!-- Colored Header with Logo -->
|
17
|
|
- <x-company.document-template.header class="bg-gray-800 h-20">
|
|
16
|
+ <x-company.document-template.header class="bg-gray-800 h-24">
|
18
|
17
|
<!-- Logo -->
|
19
|
18
|
<div class="w-2/3">
|
20
|
19
|
@if($document->logo && $document->showLogo)
|
|
@@ -23,18 +22,18 @@
|
23
|
22
|
</div>
|
24
|
23
|
|
25
|
24
|
<!-- Ribbon Container -->
|
26
|
|
- <div class="w-1/3 absolute right-0 top-0 p-3 h-28 flex flex-col justify-end rounded-bl-sm"
|
|
25
|
+ <div class="w-1/3 absolute right-0 top-0 p-3 h-32 flex flex-col justify-end rounded-bl-sm"
|
27
|
26
|
style="background: {{ $document->accentColor }};">
|
28
|
27
|
@if($document->header)
|
29
|
|
- <h1 class="text-3xl font-bold text-white text-center uppercase">{{ $document->header }}</h1>
|
|
28
|
+ <h1 class="text-4xl font-bold text-white text-center uppercase">{{ $document->header }}</h1>
|
30
|
29
|
@endif
|
31
|
30
|
</div>
|
32
|
31
|
</x-company.document-template.header>
|
33
|
32
|
|
34
|
33
|
<!-- Company Details -->
|
35
|
34
|
<x-company.document-template.metadata class="modern-template-metadata space-y-8">
|
36
|
|
- <div class="text-xs">
|
37
|
|
- <h2 class="text-base font-semibold">{{ $document->company->name }}</h2>
|
|
35
|
+ <div class="text-sm">
|
|
36
|
+ <h2 class="text-lg font-semibold">{{ $document->company->name }}</h2>
|
38
|
37
|
@if($formattedAddress = $document->company->getFormattedAddressHtml())
|
39
|
38
|
{!! $formattedAddress !!}
|
40
|
39
|
@endif
|
|
@@ -42,9 +41,9 @@
|
42
|
41
|
|
43
|
42
|
<div class="flex justify-between items-end">
|
44
|
43
|
<!-- Billing Details -->
|
45
|
|
- <div class="text-xs">
|
|
44
|
+ <div class="text-sm">
|
46
|
45
|
<h3 class="text-gray-600 font-medium mb-1">BILL TO</h3>
|
47
|
|
- <p class="text-xs font-bold"
|
|
46
|
+ <p class="text-sm font-bold"
|
48
|
47
|
style="color: {{ $document->accentColor }}">{{ $document->client->name }}</p>
|
49
|
48
|
|
50
|
49
|
@if($formattedAddress = $document->client->getFormattedAddressHtml())
|
|
@@ -52,7 +51,7 @@
|
52
|
51
|
@endif
|
53
|
52
|
</div>
|
54
|
53
|
|
55
|
|
- <div class="text-xs">
|
|
54
|
+ <div class="text-sm">
|
56
|
55
|
<table class="min-w-full">
|
57
|
56
|
<tbody>
|
58
|
57
|
<tr>
|
|
@@ -82,7 +81,7 @@
|
82
|
81
|
<!-- Line Items Table -->
|
83
|
82
|
<x-company.document-template.line-items class="modern-template-line-items">
|
84
|
83
|
<table class="w-full text-left table-fixed">
|
85
|
|
- <thead class="text-xs leading-relaxed">
|
|
84
|
+ <thead class="text-sm leading-relaxed">
|
86
|
85
|
<tr class="text-gray-600">
|
87
|
86
|
<th class="text-left pl-6 w-[50%] py-4">{{ $document->columnLabel->items }}</th>
|
88
|
87
|
<th class="text-center w-[10%] py-4">{{ $document->columnLabel->units }}</th>
|
|
@@ -90,7 +89,7 @@
|
90
|
89
|
<th class="text-right pr-6 w-[20%] py-4">{{ $document->columnLabel->amount }}</th>
|
91
|
90
|
</tr>
|
92
|
91
|
</thead>
|
93
|
|
- <tbody class="text-xs border-y-2">
|
|
92
|
+ <tbody class="text-sm border-y-2">
|
94
|
93
|
@foreach($document->lineItems as $index => $item)
|
95
|
94
|
<tr @class(['bg-gray-100' => $index % 2 === 0])>
|
96
|
95
|
<td class="text-left pl-6 font-semibold py-3">
|
|
@@ -105,7 +104,7 @@
|
105
|
104
|
</tr>
|
106
|
105
|
@endforeach
|
107
|
106
|
</tbody>
|
108
|
|
- <tfoot class="text-xs summary-section">
|
|
107
|
+ <tfoot class="text-sm summary-section">
|
109
|
108
|
@if($document->subtotal)
|
110
|
109
|
<tr>
|
111
|
110
|
<td class="pl-6 py-2" colspan="2"></td>
|
|
@@ -149,11 +148,11 @@
|
149
|
148
|
|
150
|
149
|
<!-- Footer Notes -->
|
151
|
150
|
<x-company.document-template.footer class="modern-template-footer">
|
152
|
|
- <h4 class="font-semibold px-6 text-xs" style="color: {{ $document->accentColor }}">
|
|
151
|
+ <h4 class="font-semibold px-6 text-sm" style="color: {{ $document->accentColor }}">
|
153
|
152
|
Terms & Conditions
|
154
|
153
|
</h4>
|
155
|
154
|
<span class="border-t-2 my-2 border-gray-300 block w-full"></span>
|
156
|
|
- <div class="flex justify-between space-x-4 px-6 text-xs">
|
|
155
|
+ <div class="flex justify-between space-x-4 px-6 text-sm">
|
157
|
156
|
<p class="w-1/2 break-words line-clamp-4">{{ $document->terms }}</p>
|
158
|
157
|
<p class="w-1/2 break-words line-clamp-4">{{ $document->footer }}</p>
|
159
|
158
|
</div>
|