File tree Expand file tree Collapse file tree
apps/sim/components/emails/billing Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,11 +45,21 @@ export function PaymentFailedEmail({
4545
4646 < Section style = { baseStyles . errorBox } >
4747 < Text style = { baseStyles . infoBoxTitle } > Payment Details</ Text >
48- < Text style = { baseStyles . infoBoxList } > Amount due: ${ amountDue . toFixed ( 2 ) } </ Text >
49- { lastFourDigits && (
50- < Text style = { baseStyles . infoBoxList } > Payment method: •••• { lastFourDigits } </ Text >
51- ) }
52- { failureReason && < Text style = { baseStyles . infoBoxList } > Reason: { failureReason } </ Text > }
48+ < Text style = { baseStyles . infoBoxList } >
49+ Amount due: ${ amountDue . toFixed ( 2 ) }
50+ { lastFourDigits && (
51+ < >
52+ < br />
53+ Payment method: •••• { lastFourDigits }
54+ </ >
55+ ) }
56+ { failureReason && (
57+ < >
58+ < br />
59+ Reason: { failureReason }
60+ </ >
61+ ) }
62+ </ Text >
5363 </ Section >
5464
5565 < Section style = { baseStyles . infoBox } >
You can’t perform that action at this time.
0 commit comments