diff --git a/app/(dashboard)/invoices/[id]/page.tsx b/app/(dashboard)/invoices/[id]/page.tsx index eef0da73..71dab82f 100644 --- a/app/(dashboard)/invoices/[id]/page.tsx +++ b/app/(dashboard)/invoices/[id]/page.tsx @@ -468,178 +468,175 @@ export default function InvoiceDetailPage({ params }: { params: Promise<{ id: st -
{customer.name}
- {customer.org_number && ( -Org.nr: {customer.org_number}
+{customer.name}
+ {customer.org_number && ( +Org.nr: {customer.org_number}
+ )} + {customer.vat_number && ( +VAT: {customer.vat_number}
+ )} +VAT: {customer.vat_number}
+ {customer.phone && ( + {customer.phone} )} -{customer.address_line1}
} + {customer.address_line2 &&{customer.address_line2}
} ++ {customer.postal_code} {customer.city} + {customer.country !== 'SE' && `, ${customer.country}`} +
{customer.address_line1}
} - {customer.address_line2 &&{customer.address_line2}
} -- {customer.postal_code} {customer.city} - {customer.country !== 'SE' && `, ${customer.country}`} + )} +
{item.description}
++ {formatCurrency(item.line_total, invoice.currency)}
{item.description}
-- {formatCurrency(item.line_total, invoice.currency)} -
-Omvänd skattskyldighet
-{invoice.reverse_charge_text}
+ return entries.map(([rate, vat]) => ( +{invoice.notes}
} - - +Omvänd skattskyldighet
+{invoice.reverse_charge_text}
+{invoice.notes}
} +