-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HOLD for payment Aug 4] [P2P in E.cash] Add the Balance Badge to the Payments Settings Option #4171
Comments
This is Straightforward.
App/src/pages/settings/InitialPage.js Line 177 in 7e395c5
4. We will show the formatted balance in the component with currency Sign. Number(props.userWallet.balance).toFixed(2);
#Question:
|
function currencyFormat(num) { OutPut will be = $2,665.00 |
@parasharrajat your proposal looks good, I've invited you to the Upwork job. Going to tag @stitesExpensify to confirm what the currency symbol should be set to here. |
|
Hmm @kevinksullivan Is the wallet balance always in USD? Or should we localize it? |
It should always be in USD, since users without a US bank account/SSN do not qualify for the Wallet. Pulling from the doc, we also limit who sees the badge in the first place:
|
Great @kevinksullivan. that's what I assumed initially. PR is ready for review now. |
Paid! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Upwork link: https://www.upwork.com/jobs/~017a88221b02e85314
New Feature
Master Issue
Doc Section
Solution:
<EnvironmentBadge>
component to just be calledBadge
BadgeText
prop to theMenuItem
componentBadge
component toMenuItem
here.BadgeText
prop exists, show theBadge
componentbadgeText
prop with a value equal to the ONYX.USER_WALLET.balanceView all open jobs on Upwork
The text was updated successfully, but these errors were encountered: