Skip to content

Commit

Permalink
invoice: add a PAID stamp
Browse files Browse the repository at this point in the history
If the invoice has a Paid toggle, this will show a little "PAID" stamp
on the invoice once that's checked.
  • Loading branch information
jordigh committed Dec 30, 2024
1 parent be9a2ba commit 488f60c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions invoices/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,11 @@
</div>
</div>
</template>
<template v-if="invoice.Paid">
<div class="paid">
PAID
</div>
</template>

<div class="footer">
<div class="thanks">
Expand Down
12 changes: 12 additions & 0 deletions invoices/invoice.css
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,18 @@ div.instructions, .newlined, p.note {
white-space: pre-line;
}

div.paid {
position: relative;
left: 230px;
color: red;
rotate: 15deg;
font-size: 80px;
top: 20px;
border: 5px solid red;
float: left;
font-weight: bolder;
}

.app {
position: relative;
}
Expand Down

0 comments on commit 488f60c

Please sign in to comment.