Skip to content
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

[Awaiting Payment 7th May] [Taxes] Add the percentage of the rate to the table on the Taxes page in the workspace settings. #40024

Closed
trjExpensify opened this issue Apr 10, 2024 · 10 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 NewFeature Something to build that is a new item.

Comments

@trjExpensify
Copy link
Contributor

trjExpensify commented Apr 10, 2024

Coming from this thread.

Problem: The table of rates don't include the rate percentage, only the name. As a result, an admin is forced to click into each one in the table to figure out that information, which is extraneous on this page and makes it feel cumbersome to use.

Solution: Add the percentage rate in the supporting text line before "Default", "Workspace currency default" and "Foreign currency default", separated by a dot separator when applicable.

image

Jakub from SWM is going to create a PR for this, I've pinged him in the thread to reply on this issue so we can assign it to him.

CC: @JmillsExpensify @shawnborton @twisterdotcom

@trjExpensify trjExpensify added Daily KSv2 NewFeature Something to build that is a new item. labels Apr 10, 2024
@trjExpensify trjExpensify self-assigned this Apr 10, 2024
Copy link

melvin-bot bot commented Apr 10, 2024

Current assignee @trjExpensify is eligible for the NewFeature assigner, not assigning anyone new.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Apr 10, 2024
@kosmydel
Copy link
Contributor

Hey, I can take care of this tomorrow.

@shahinyan11
Copy link
Contributor

shahinyan11 commented Apr 10, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

Add the percentage of the rate to the table on the Taxes page in the workspace settings.

What is the root cause of that problem?

New feature

What changes do you think we should make in order to solve the problem?

  1. Update the returned values in this part of code like below .
if (taxID === defaultExternalID && taxID === foreignTaxDefault) {
    return `• ${translate('common.default')}`;
}
if (taxID === defaultExternalID) {
    return `• ${translate('workspace.taxes.workspaceDefault')}`;
}
if (taxID === foreignTaxDefault) {
    return `• ${translate('workspace.taxes.foreignDefault')}`;
}
  1. Update this value as follows: ${value.value} ${textForDefault(key)}

What alternative solutions did you explore? (Optional)

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Apr 10, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Apr 11, 2024
@trjExpensify
Copy link
Contributor Author

Assigning @rojiphil for the C+ review.

Copy link

melvin-bot bot commented Apr 11, 2024

Triggered auto assignment to @neil-marcellini, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels May 7, 2024
Copy link

melvin-bot bot commented May 7, 2024

This issue has not been updated in over 15 days. @rojiphil, @trjExpensify, @neil-marcellini, @kosmydel eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@rojiphil
Copy link
Contributor

rojiphil commented May 7, 2024

Oh! Looks like automation did not get triggered here.
The PR for this issue is in production since 2 weeks ago as mentioned here and is due for payment.
@trjExpensify Please note that I was the C+ reviewer here.

@trjExpensify
Copy link
Contributor Author

Cool, sounds good!

Payment summary as follows:

$250 to @rojiphil for the C+ review

Offer sent in Upwork!

@trjExpensify trjExpensify added Daily KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Reviewing Has a PR in review Monthly KSv2 labels May 7, 2024
@trjExpensify trjExpensify changed the title [Taxes] Add the percentage of the rate to the table on the Taxes page in the workspace settings. [Awaiting Payment 7th May] [Taxes] Add the percentage of the rate to the table on the Taxes page in the workspace settings. May 7, 2024
@rojiphil
Copy link
Contributor

rojiphil commented May 7, 2024

Offer sent in Upwork!

Accepted offer. Thanks

@trjExpensify
Copy link
Contributor Author

Paid!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 NewFeature Something to build that is a new item.
Projects
No open projects
Archived in project
Development

No branches or pull requests

5 participants