#99 Add big fat PAID to invoice, when applicable
This commit is contained in:
parent
686cda21bf
commit
6b5a758dbe
@ -1,3 +1,4 @@
|
||||
@php use App\Enums\InvoiceStatus; @endphp
|
||||
@extends('layouts.pdf')
|
||||
|
||||
<title>Top Notch Invoice {{$invoice->internal_id}}</title>
|
||||
@ -6,12 +7,27 @@
|
||||
* {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.paid {
|
||||
position: absolute;
|
||||
top: 1rem;
|
||||
right: 0.5rem;
|
||||
font-size: 3rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
@if($invoice->status === InvoiceStatus::PAID)
|
||||
<div class="paid">
|
||||
PAID
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="container-fluid pt-4 font-serif" style="">
|
||||
<div class="fw-bold">
|
||||
TOP NOTCH EMBROIDERY & DIGITIZING LTD.
|
||||
</div>
|
||||
|
||||
<div>
|
||||
108-618 EAST KENT AVE. SOUTH <br>
|
||||
VANCOUVER BC <br>
|
||||
@ -49,17 +65,17 @@
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<div class="text-start">
|
||||
@if(isset($invoice->internal_id))
|
||||
{{$invoice->internal_id}}
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
<div class="text-start">
|
||||
@if(isset($invoice->date))
|
||||
{{$invoice->date->format('Y-m-d')}}
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
<div class="text-start">
|
||||
@if(isset($invoice->due_date))
|
||||
{{$invoice->due_date->format('Y-m-d')}}
|
||||
@endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user