Skip to content

Feature - MedicalShifts Total/Paid/Unpaid values gets filter by PDF report filter#243

Merged
danielnottingham merged 2 commits intomainfrom
feat-medicalshifts-amoutcents-filter
Feb 25, 2025
Merged

Feature - MedicalShifts Total/Paid/Unpaid values gets filter by PDF report filter#243
danielnottingham merged 2 commits intomainfrom
feat-medicalshifts-amoutcents-filter

Conversation

@mattfeg
Copy link
Collaborator

@mattfeg mattfeg commented Feb 25, 2025

Closes #232

  • Context
    Total/Paid/Unpaid wasn't filtering the values of MedicalShifts on PDF report.

  • Solution
    Now, TotalAmountCents calculates the Total, Paid and Unpaid values based on medical shifts returned on GET /medicalshifts.
    No queries are being used to do this anymore.
    Removes unused queries and their specs.

@mattfeg mattfeg requested a review from edimossilva February 25, 2025 01:50
@mattfeg mattfeg self-assigned this Feb 25, 2025
@danielnottingham danielnottingham merged commit 4d4f7bb into main Feb 25, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[PDF Report] Add filter to decide if total value should be displayed or not

2 participants