Skip to content

Commit

Permalink
fix: add order viewInvoice
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianJiang2021 authored and CarlLiu2023 committed Aug 15, 2023
1 parent b9bea7c commit 9b861a1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,7 @@ export default function OrderAction(props: OrderActionProps) {
key: 'aboutInvoice',
name: isB2BUser ? 'viewInvoice' : 'printInvoice',
variant: 'outlined',
isCanShow:
(!isB2BUser || +ipStatus !== 0) && createdEmail === emailAddress,
isCanShow: createdEmail === emailAddress,
},
],
infos: {
Expand Down

0 comments on commit 9b861a1

Please sign in to comment.