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