update
This commit is contained in:
@ -281,6 +281,8 @@ const DetailTransaction = () => {
|
||||
kind = 'TOP UP';
|
||||
} else if (transactionDetails?.kind === 'R') {
|
||||
kind = 'RETURN';
|
||||
}else if (transactionDetails?.kind === 'E') {
|
||||
kind = 'REWARD';
|
||||
}
|
||||
return kind;
|
||||
})()}
|
||||
|
||||
@ -177,6 +177,7 @@ const ListToolbar = () => {
|
||||
<SelectItem value="U">TOP UP</SelectItem>
|
||||
<SelectItem value="R">RETURN</SelectItem>
|
||||
<SelectItem value="N">TOP UP PARTNER</SelectItem>
|
||||
<SelectItem value="E">REWARD</SelectItem>
|
||||
</SelectContent>
|
||||
</Select>
|
||||
|
||||
|
||||
@ -77,6 +77,7 @@ const TransactionProvider = ({ children }: { children: React.ReactNode }) => {
|
||||
case 'U': return 'TOP UP';
|
||||
case 'R': return 'RETURN';
|
||||
case 'N': return 'TOP UP PARTNER';
|
||||
case 'R': return 'REWARD';
|
||||
default: return '_';
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user