fix: Add mising address in branding templates customize

This commit is contained in:
Ahmed Bouhuolia
2024-09-14 22:52:37 +02:00
parent 70551bee30
commit 8566422ce3
5 changed files with 49 additions and 6 deletions

View File

@@ -18,7 +18,6 @@ import { initialValues } from './constants';
export function InvoiceCustomizeContent() {
const { payload, name } = useDrawerContext();
const { closeDrawer } = useDrawerActions();
const templateId = payload?.templateId || null;
const handleSuccess = () => {

View File

@@ -214,7 +214,9 @@ export function InvoicePaperTemplate({
/>
)}
{showBillingToAddress && (
<PaperTemplate.Address items={billedToAddress} />
<PaperTemplate.Address
items={[<strong>{billedToLabel}</strong>, ...billedToAddress]}
/>
)}
</Group>