feat: Mise en place des paiements en plusieurs fois - partie BACK [#25]

This commit is contained in:
N3WT DE COMPET
2025-02-09 19:20:43 +01:00
parent c269b89d3d
commit 274db249aa
4 changed files with 75 additions and 9 deletions

View File

@ -13,6 +13,8 @@ from School.views import (
FeeView,
DiscountsView,
DiscountView,
PaymentPlansView,
PaymentPlanView
)
urlpatterns = [
@ -39,4 +41,8 @@ urlpatterns = [
re_path(r'^discounts/(?P<_filter>[a-zA-z]+)$$', DiscountsView.as_view(), name="discounts"),
re_path(r'^discount$', DiscountView.as_view(), name="discount"),
re_path(r'^discount/([0-9]+)$', DiscountView.as_view(), name="discount"),
re_path(r'^paymentPlans/(?P<_filter>[a-zA-z]+)$', PaymentPlansView.as_view(), name="paymentPlans"),
re_path(r'^paymentPlan$', PaymentPlanView.as_view(), name="paymentPlan"),
re_path(r'^paymentPlan/([0-9]+)$', PaymentPlanView.as_view(), name="paymentPlan"),
]