mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-25 18:44:23 +00:00
Add some TODOs
This commit is contained in:
parent
d244618dd0
commit
e25c4a4e4a
@ -26,7 +26,7 @@ class AccountingTypeEditView(CanViewMixin, UpdateView):
|
|||||||
fields = ['code', 'label', 'movement_type']
|
fields = ['code', 'label', 'movement_type']
|
||||||
template_name = 'accounting/account_edit.jinja'
|
template_name = 'accounting/account_edit.jinja'
|
||||||
|
|
||||||
class AccountingTypeCreateView(CanEditPropMixin, CreateView):
|
class AccountingTypeCreateView(CanEditPropMixin, CreateView): # TODO: move to CanCreateMixin
|
||||||
"""
|
"""
|
||||||
Create an accounting type (for the admins)
|
Create an accounting type (for the admins)
|
||||||
"""
|
"""
|
||||||
@ -60,7 +60,7 @@ class BankAccountDetailView(CanViewMixin, DetailView):
|
|||||||
pk_url_kwarg = "b_account_id"
|
pk_url_kwarg = "b_account_id"
|
||||||
template_name = 'accounting/bank_account_details.jinja'
|
template_name = 'accounting/bank_account_details.jinja'
|
||||||
|
|
||||||
class BankAccountCreateView(CanEditPropMixin, CreateView):
|
class BankAccountCreateView(CanEditPropMixin, CreateView): # TODO: move to CanCreateMixin
|
||||||
"""
|
"""
|
||||||
Create a bank account (for the admins)
|
Create a bank account (for the admins)
|
||||||
"""
|
"""
|
||||||
@ -96,7 +96,7 @@ class ClubAccountDetailView(CanViewMixin, DetailView):
|
|||||||
pk_url_kwarg = "c_account_id"
|
pk_url_kwarg = "c_account_id"
|
||||||
template_name = 'accounting/club_account_details.jinja'
|
template_name = 'accounting/club_account_details.jinja'
|
||||||
|
|
||||||
class ClubAccountCreateView(CanEditPropMixin, CreateView):
|
class ClubAccountCreateView(CanEditPropMixin, CreateView): # TODO: move to CanCreateMixin
|
||||||
"""
|
"""
|
||||||
Create a club account (for the admins)
|
Create a club account (for the admins)
|
||||||
"""
|
"""
|
||||||
@ -115,7 +115,7 @@ class ClubAccountDeleteView(CanEditPropMixin, DeleteView): # TODO change Delete
|
|||||||
|
|
||||||
# Journal views
|
# Journal views
|
||||||
|
|
||||||
class JournalCreateView(CanCreateMixin, CreateView): # FIXME: anonymous user has been able to create a journal
|
class JournalCreateView(CanCreateMixin, CreateView):
|
||||||
"""
|
"""
|
||||||
Create a general journal
|
Create a general journal
|
||||||
"""
|
"""
|
||||||
@ -142,7 +142,7 @@ class JournalEditView(CanEditMixin, UpdateView):
|
|||||||
|
|
||||||
# Operation views
|
# Operation views
|
||||||
|
|
||||||
class OperationCreateView(CanEditMixin, CreateView):
|
class OperationCreateView(CanEditMixin, CreateView): # TODO: move to CanCreateMixin
|
||||||
"""
|
"""
|
||||||
Create an operation
|
Create an operation
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user