fix ca8d060
This commit is contained in:
parent
073dd1ac01
commit
600bb1a730
@ -435,7 +435,9 @@ export default function paymentsReactions(
|
||||
shift(seasons, shiftNumber)
|
||||
);
|
||||
const shiftedPeriods = new Set(
|
||||
seasonsConstants.SEASONS_PERIODS[seasonType].map((x) => x + shiftNumber)
|
||||
seasonsConstants.SEASONS_PERIODS[seasonType].map(
|
||||
(position) => (position + shiftNumber) % seasonsConstants.SEASONS_PERIOD_NUMBER
|
||||
)
|
||||
);
|
||||
const rows: Row[] = payments.map((value, i) => ({
|
||||
value,
|
||||
@ -493,7 +495,9 @@ export default function paymentsReactions(
|
||||
shift(seasons, shiftNumber)
|
||||
);
|
||||
const shiftedPeriods = new Set(
|
||||
seasonsConstants.SEASONS_PERIODS[seasonType].map((x) => x + shiftNumber)
|
||||
seasonsConstants.SEASONS_PERIODS[seasonType].map(
|
||||
(position) => (position + shiftNumber) % seasonsConstants.SEASONS_PERIOD_NUMBER
|
||||
)
|
||||
);
|
||||
const rows: Row[] = payments.map((value, i) => ({
|
||||
value,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user