[FEATURE]: Membership Fee 2 - Calendar Cycle Calculation Logic #276
Labels
No labels
bug
duplicate
enhancement
help wanted
high priority
invalid
L
low priority
M
medium priority
needs refinement
question
S
UX research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: local-it/mitgliederverwaltung#276
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal: Implement the calendar-based cycle calculation functions.
Scope:
Mv.MembershipFees.CalendarCyclesmodulecalculate_cycle_start/3- Given date and interval, find cycle startcalculate_cycle_end/2- Given cycle_start and interval, calculate endnext_cycle_start/2- Given cycle_start and interval, find nextis_current_cycle?/2- Check if cycle contains todayis_last_completed_cycle?/2- Check if cycle just endedFiles to Create:
lib/mv/membership_fees/calendar_cycles.exTests to Write:
Unit Tests for Monthly Intervals:
Unit Tests for Quarterly Intervals:
Unit Tests for Half-Yearly Intervals:
Unit Tests for Yearly Intervals:
Edge Case Tests:
Acceptance Criteria:
[FEATURE]: Membership Fee - Calendar Cycle Calculation Logicto [FEATURE]: Membership Fee 2 - Calendar Cycle Calculation Logic