Skip to content

Commit

Permalink
feat: invocie add payment comment
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianJiang2021 authored and CarlLiu2023 committed Jul 28, 2023
1 parent 6527123 commit b16e23b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function PaymentSuccessList({ list }: { list: InvoiceSuccessData }) {
details,
} = list

const memo = details?.paymentDetails?.memo || ''
const comment = details?.paymentDetails?.comment || ''

const paymentSuccessKeys = [
{
Expand Down Expand Up @@ -136,7 +136,7 @@ function PaymentSuccessList({ list }: { list: InvoiceSuccessData }) {
maxHeight: '50px',
}}
>
{memo}
{comment}
</Typography>
</Box>

Expand Down
1 change: 1 addition & 0 deletions apps/storefront/src/types/invoice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export interface InvoiceSuccessData {
details: {
paymentDetails: {
memo: string
comment: string
}
}
paymentId: number
Expand Down

0 comments on commit b16e23b

Please sign in to comment.