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

[MPDX-8227] Show multiple 14 month partner currency tables #1076

Merged
merged 15 commits into from
Sep 19, 2024
Merged
2 changes: 1 addition & 1 deletion pages/api/Schema/reports/fourteenMonth/datahandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const mapFourteenMonthReport = (
salaryCurrency: data.attributes.salary_currency,
currencyGroups: Object.entries(data.attributes.currency_groups).map(
([currency, currencyGroup]) => ({
currency,
currency: currency.toUpperCase(),
totals: {
year: Number(
isSalaryType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type FourteenMonthReportContact {
total: Float!
average: Float!
minimum: Float!
months: [FourteenMonthReportContactMonths!]
months: [FourteenMonthReportContactMonths!]!
wrandall22 marked this conversation as resolved.
Show resolved Hide resolved
accountNumbers: [String!]!
lateBy30Days: Boolean!
lateBy60Days: Boolean!
Expand Down
2 changes: 2 additions & 0 deletions src/components/Constants/LoadConstants.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ query LoadConstants {
# value
# }
pledgeCurrency {
id
codeSymbolString
name
code
symbol
}
pledgeFrequency {
id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,11 +320,9 @@ const DonationHistories = ({
offset={0}
angle={-90}
>
{
t('Amount ({{ currencyCode }})', {
currencyCode,
}) as string
}
{t('Amount ({{ currencyCode }})', {
currencyCode,
})}
</Text>
}
/>
Expand Down
Loading
Loading