add FragmentMixin and UseFragmentsMixin classes

This commit is contained in:
imperosol
2025-03-28 17:09:04 +01:00
committed by Thomas Girod
parent 98e470fa2a
commit 6a5da0302d
6 changed files with 213 additions and 89 deletions

View File

@ -56,7 +56,7 @@ from counter.views.home import (
CounterMain,
)
from counter.views.invoice import InvoiceCallView
from counter.views.student_card import StudentCardDeleteView, StudentCardFormView
from counter.views.student_card import StudentCardDeleteView, StudentCardFormFragment
urlpatterns = [
path("<int:counter_id>/", CounterMain.as_view(), name="details"),
@ -83,7 +83,7 @@ urlpatterns = [
path("eticket/<int:selling_id>/pdf/", EticketPDFView.as_view(), name="eticket_pdf"),
path(
"customer/<int:customer_id>/card/add/",
StudentCardFormView.as_view(),
StudentCardFormFragment.as_view(),
name="add_student_card",
),
path(