+ Business at issuance
+ {account.legalName}{account.tradingName && ` · ${account.tradingName}`} · Profile version {account.profileVersion}
+ Registration {account.registrationNumber}{account.taxIdentifier && ` · Tax ID ${account.taxIdentifier}`}
+ {account.contactEmail}{account.contactPhone && ` · ${account.contactPhone}`}
+ {[account.billingLine1, account.billingCity, account.billingRegion, account.billingPostalCode, account.countryCode].join(", ")}
+ ;
+}
+
+export default function QuotesPage({ id, accountId, priceListId, issue = false }: {
+ id?: string; accountId?: string; priceListId?: string; issue?: boolean;
+}) {
+ const account = uuid.safeParse(accountId);
+ const list = uuid.safeParse(priceListId);
+ const quoteId = uuid.safeParse(id);
+ const source = account.success && list.success ? { accountId: account.data, priceListId: list.data } : undefined;
+ return