Skip to content

Commit

Permalink
Add canBeRefunded to webshop GraphQL schema
Browse files Browse the repository at this point in the history
This uses property ParkingPermit.can_be_refunded, so we can check logic
in frontend if a refund is needed when ending or editing a permit.

Refs: PV-734
  • Loading branch information
danjacob-anders authored and mhieta committed Dec 5, 2023
1 parent 407d357 commit d292ea0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions parking_permits/schema/parking_permit.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ type PermitNode {
primaryVehicle: Boolean
monthsLeft: Int
currentPeriodEndTime: String
canBeRefunded: Boolean
canEndImmediately: Boolean
canEndAfterCurrentPeriod: Boolean
hasRefund: Boolean
Expand Down

0 comments on commit d292ea0

Please sign in to comment.