fix: restore original header layout with logo+name on left, status on right
This commit is contained in:
@@ -215,21 +215,19 @@
|
|||||||
<table style="width: 100%; margin-bottom: 30px; border-bottom: 3px solid #1A759F; padding-bottom: 16px;">
|
<table style="width: 100%; margin-bottom: 30px; border-bottom: 3px solid #1A759F; padding-bottom: 16px;">
|
||||||
<tr>
|
<tr>
|
||||||
<td style="vertical-align: middle;">
|
<td style="vertical-align: middle;">
|
||||||
<div style="margin-top: 0;">
|
|
||||||
<span style="font-size: 28px; font-weight: 900; color: #1a1a2e;">{{ __('invoices.invoice', ['id' => $invoice->number]) }}</span>
|
|
||||||
</div>
|
|
||||||
<div style="width: 80px; height: 4px; background: linear-gradient(to right, #1A759F, #52B69A); border-radius: 2px; margin-top: 6px;"></div>
|
|
||||||
<div style="margin-top: 10px;">
|
|
||||||
<span class="status-badge {{ $invoice->status == 'paid' ? 'status-paid' : 'status-pending' }}">
|
|
||||||
{{ $invoice->status == 'paid' ? __('invoices.paid') : __('invoices.payment_pending') }}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td style="text-align: right; vertical-align: middle;">
|
|
||||||
@if(config('settings.logo'))
|
@if(config('settings.logo'))
|
||||||
<img style="height: 32px; vertical-align: middle; margin-right: 8px;" src="{{ public_path('storage/' . config('settings.logo')) }}" alt="{{ config('app.name') }}">
|
<img style="height: 32px; vertical-align: middle; margin-right: 8px;" src="{{ public_path('storage/' . config('settings.logo')) }}" alt="{{ config('app.name') }}">
|
||||||
@endif
|
@endif
|
||||||
<span style="font-size: 22px; font-weight: 700; color: #1a1a2e; vertical-align: middle;">{{ config('app.name') }}</span>
|
<span style="font-size: 22px; font-weight: 700; color: #1a1a2e; vertical-align: middle;">{{ config('app.name') }}</span>
|
||||||
|
<div style="margin-top: 8px;">
|
||||||
|
<span style="font-size: 28px; font-weight: 900; color: #1a1a2e;">{{ __('invoices.invoice', ['id' => $invoice->number]) }}</span>
|
||||||
|
</div>
|
||||||
|
<div style="width: 80px; height: 4px; background: linear-gradient(to right, #1A759F, #52B69A); border-radius: 2px; margin-top: 6px;"></div>
|
||||||
|
</td>
|
||||||
|
<td style="text-align: right; vertical-align: middle;">
|
||||||
|
<span class="status-badge {{ $invoice->status == 'paid' ? 'status-paid' : 'status-pending' }}">
|
||||||
|
{{ $invoice->status == 'paid' ? __('invoices.paid') : __('invoices.payment_pending') }}
|
||||||
|
</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user