Files
kaunter/resources/views/components/print/bsas/footer.blade.php
T
ismailmasseran cde136516d Feature/bsas integration (#31)
Reviewed-on: #31
Co-authored-by: ISMAIL MASSERAN <ismail@koppkb.com>
Co-committed-by: ISMAIL MASSERAN <ismail@koppkb.com>
2026-10-26 15:34:27 +08:00

51 lines
1.2 KiB
PHP

@props([
'note' => '',
'page' => null,
'total' => null,
])
<style>
.bsas-ecert-footer {
flex: 0 0 auto;
margin-top: auto;
padding-top: 12px;
border-top: 2px solid var(--accent, #0f4c5c);
font-family: Arial, Helvetica, sans-serif;
color: var(--muted, #5a6570);
}
.bsas-ecert-footer .footer-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.bsas-ecert-footer .footer-note {
margin: 0;
font-size: 10px;
text-align: left;
line-height: 1.4;
}
.bsas-ecert-footer .page-no {
flex: 0 0 auto;
font-size: 10px;
white-space: nowrap;
}
</style>
<footer {{ $attributes->merge(['class' => 'bsas-ecert-footer']) }}>
<div class="footer-row">
<p class="footer-note">
@if(trim($slot) !== '')
{{ $slot }}
@else
{{ $note }}
@endif
</p>
@if($page !== null && $total !== null)
<div class="page-no">Page {{ $page }} of {{ $total }}</div>
@elseif($page !== null)
<div class="page-no">{{ $page }}</div>
@endif
</div>
</footer>