Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Epic link:

Jira Legacy
serverSystem JIRA
serverId815f41e5-e5fb-3402-8587-82eccc3ffab0
keyLF-35433597

 

Context

Task

Notes

Blocks

1

New expense/revenue type defaults have been added

Create database migration to add new expense/revenue type defaults

Jira Legacy
serverSystem JIRA
serverId815f41e5-e5fb-3402-8587-82eccc3ffab0
keyLF-3684

Create database migration to add new expense type defaults to farmExpenseType table and new revenue type defaults to revenue_type

Document with table describing how expense types are modified (a bit confusingly named!):

Investigation into "Other" category of expense types

2

Expense types and revenue types now have descriptions

Add new expense/revenue type defaults descriptions to translation files

Jira Legacy
serverSystem JIRA
serverId815f41e5-e5fb-3402-8587-82eccc3ffab0
keyLF-3685

Add expense type descriptions to expense.json translation files, and make sure translations for expense type labels still work. Same for revenues (we think those have translations in the general translation file?).

My suggestion would be to reuse the existing translation keys and update them to be something like

Code Block
{
  "EQUIPMENT": {
    label: "Equipment",
    description: "Expenses related to...",
  },
...

3

Styling for the expense/revenue type tiles has changed and now includes a checkbox and a description

Update Tiles component to new design with description and checkbox

Jira Legacy
serverSystem JIRA
serverId815f41e5-e5fb-3402-8587-82eccc3ffab0
keyLF-3686

Since we already have a tileType property, I'd suggest adding a new tileType for this new style and keeping the existing one as is in case we need it for future designs

4

Icons for default expense/revenue types have changed (designs for these are not yet final, will be updated during the course of the sprint)

Update expense types icons

Jira Legacy
serverSystem JIRA
serverId815f41e5-e5fb-3402-8587-82eccc3ffab0
keyLF-3687

5

“Miscellaneous” is now displayed visually as a separate option, and there are some styling changes to the “manage custom expenses” portion of the screen

Filter out “Miscellaneous” from default expense type list and update “Manage custom expenses” block

Jira Legacy
serverSystem JIRA
serverId815f41e5-e5fb-3402-8587-82eccc3ffab0
keyLF-3688

...