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