feat: Hook up customer/company address to invoice preview of payment page

This commit is contained in:
Ahmed Bouhuolia
2024-10-01 09:47:58 +02:00
parent 7ceb785c1b
commit ace75f2dfa
7 changed files with 63 additions and 27 deletions

View File

@@ -34,6 +34,10 @@ export function PaymentInvoicePreviewContent() {
label: tax.name,
amount: tax.taxRateAmountFormatted,
}))}
companyAddress={
sharableLinkMeta?.organization?.addressTextFormatted
}
customerAddress={sharableLinkMeta?.formattedCustomerAddress}
/>
</Box>
</DrawerBody>