mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
fix: payment page
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
.rootBodyPage {
|
||||
background: #0c103f;
|
||||
background: #1c1d29;
|
||||
}
|
||||
|
||||
.root {
|
||||
|
||||
@@ -83,6 +83,13 @@ export function PaymentPortal() {
|
||||
</Text>
|
||||
</Group>
|
||||
|
||||
{sharableLinkMeta?.taxes?.map((tax, key) => (
|
||||
<Group key={key} position={'apart'} className={styles.totalItem}>
|
||||
<Text>{tax?.name}</Text>
|
||||
<Text>{tax?.taxRateAmountFormatted}</Text>
|
||||
</Group>
|
||||
))}
|
||||
|
||||
<Group
|
||||
position={'apart'}
|
||||
className={clsx(styles.totalItem, styles.borderBottomGray)}
|
||||
|
||||
@@ -30,6 +30,10 @@ export function PaymentInvoicePreviewContent() {
|
||||
rate: entry.rateFormatted,
|
||||
total: entry.totalFormatted,
|
||||
}))}
|
||||
taxes={sharableLinkMeta?.taxes?.map((tax) => ({
|
||||
label: tax.name,
|
||||
amount: tax.taxRateAmountFormatted,
|
||||
}))}
|
||||
/>
|
||||
</Box>
|
||||
</DrawerBody>
|
||||
|
||||
Reference in New Issue
Block a user