mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
feat: wip preview mail receipt
This commit is contained in:
@@ -26,6 +26,10 @@ export interface EstimatePaymentEmailProps {
|
||||
total: string;
|
||||
totalLabel?: string;
|
||||
|
||||
// # Subtotal
|
||||
subtotal: string;
|
||||
subtotalLabel?: string;
|
||||
|
||||
// # Estimate No#
|
||||
estimateNumber?: string;
|
||||
estimateNumberLabel?: string;
|
||||
@@ -57,10 +61,14 @@ export const EstimatePaymentEmail: React.FC<
|
||||
// # Colors
|
||||
primaryColor = 'rgb(0, 82, 204)',
|
||||
|
||||
// # invoice total
|
||||
// # Total
|
||||
total,
|
||||
totalLabel = 'Total',
|
||||
|
||||
// # Subtotal
|
||||
subtotal,
|
||||
subtotalLabel = 'Subtotal',
|
||||
|
||||
// # Estimate No#
|
||||
estimateNumberLabel = 'Estimate No: {estimateNumber}',
|
||||
estimateNumber = 'EST-00001',
|
||||
@@ -129,6 +137,16 @@ export const EstimatePaymentEmail: React.FC<
|
||||
</Row>
|
||||
))}
|
||||
|
||||
<Row style={totalLineRowStyle}>
|
||||
<Column width={'50%'}>
|
||||
<Text style={totalLineItemLabelStyle}>{subtotalLabel}</Text>
|
||||
</Column>
|
||||
|
||||
<Column width={'50%'}>
|
||||
<Text style={totalLineItemAmountStyle}>{subtotal}</Text>
|
||||
</Column>
|
||||
</Row>
|
||||
|
||||
<Row style={totalLineRowStyle}>
|
||||
<Column width={'50%'}>
|
||||
<Text style={totalLineItemLabelStyle}>{totalLabel}</Text>
|
||||
|
||||
Reference in New Issue
Block a user