Remove unused font file and update font index; initialize database extensions with improved error handling; add EstabelecimentoLogo component for dynamic logo generation.

This commit is contained in:
Felipe Coutinho
2025-12-01 16:35:12 +00:00
parent c91edd0f31
commit 9cf89829f6
40 changed files with 6570 additions and 1114 deletions

View File

@@ -369,7 +369,7 @@ export function InvoicesWidget({ invoices }: InvoicesWidgetProps) {
</div>
<div className="flex shrink-0 flex-col items-end">
<MoneyValues amount={invoice.totalAmount} />
<MoneyValues amount={Math.abs(invoice.totalAmount)} />
<div className="flex items-center gap-2">
<Button
type="button"
@@ -504,7 +504,7 @@ export function InvoicesWidget({ invoices }: InvoicesWidgetProps) {
Valor da fatura
</span>
<MoneyValues
amount={selectedInvoice.totalAmount}
amount={Math.abs(selectedInvoice.totalAmount)}
className="text-lg"
/>
</div>