Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.34k stars 2.77k forks source link

[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 closed 4 months ago

trjExpensify commented 5 months ago

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

melvin-bot[bot] commented 5 months ago

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

kosmydel commented 5 months ago

Hey, I can take care of this tomorrow.

shahinyan11 commented 5 months ago

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')}`;
    }
  2. Update this value as follows: ${value.value} ${textForDefault(key)}

What alternative solutions did you explore? (Optional)

trjExpensify commented 5 months ago

Assigning @rojiphil for the C+ review.

melvin-bot[bot] commented 5 months ago

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

melvin-bot[bot] commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

Cool, sounds good!

Payment summary as follows:

$250 to @rojiphil for the C+ review

Offer sent in Upwork!

rojiphil commented 4 months ago

Offer sent in Upwork!

Accepted offer. Thanks

trjExpensify commented 4 months ago

Paid!