-
Notifications
You must be signed in to change notification settings - Fork 1
MPDX-9618 Link Ministry Expenses step to MPDX MPGA report #1801
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,8 @@ | ||
| import NextLink from 'next/link'; | ||
| import React from 'react'; | ||
| import { Link, Typography, styled } from '@mui/material'; | ||
| import { Trans, useTranslation } from 'react-i18next'; | ||
| import { useAccountListId } from 'src/hooks/useAccountListId'; | ||
| import { useGoalCalculator } from '../Shared/GoalCalculatorContext'; | ||
| import { ExpensesStep } from '../SharedComponents/ExpensesStep/ExpensesStep'; | ||
|
|
||
|
|
@@ -12,23 +14,26 @@ const InstructionsWrapper = styled('div')(({ theme }) => ({ | |
|
|
||
| const Instructions: React.FC = () => { | ||
| const { t } = useTranslation(); | ||
| const accountListId = useAccountListId() ?? ''; | ||
|
|
||
| return ( | ||
| <InstructionsWrapper> | ||
| <Typography variant="body2"> | ||
| <Trans t={t}> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
[Suggestion] **Run `yarn extract` to refresh the translation key.**
The Action: run |
||
| Enter amounts for the following categories of reimbursable and | ||
| ministry expenses. The{' '} | ||
| <Link href="https://staffweb.cru.org/mpd-donations/my-donations/mpga.html"> | ||
| MPGA tool on StaffWeb | ||
| <Link | ||
| component={NextLink} | ||
| href={`/accountLists/${accountListId}/reports/mpgaIncomeExpenses`} | ||
|
wjames111 marked this conversation as resolved.
|
||
| > | ||
| Ministry Partner Giving Analysis tool | ||
| </Link>{' '} | ||
| can show you your averages in some of these categories. If you did not | ||
| take full reimbursements for the entire year, or if your | ||
| reimbursements were abnormally high (e.g. you had a surgery or bought | ||
| a new computer), or low (e.g. no summer mission), you will want to | ||
| adjust the averages from the MPGA to reflect an average year. Click | ||
| the link above, go to the Income/Expenses tab, and look under the | ||
| Ministry Expenses section. | ||
| the link above and look at the Ministry rows in the Expenses table. | ||
| </Trans> | ||
| </Typography> | ||
| </InstructionsWrapper> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.