1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-03 13:46:58 +00:00

fixin the merge...

This commit is contained in:
Pierre-antoine Comby 2020-03-23 15:35:24 +01:00
parent bbda99a3ac
commit 41a0529d0c
2 changed files with 2 additions and 3 deletions

View File

@ -9,7 +9,7 @@ from django_tables2.utils import A
from django.utils.translation import gettext_lazy as _ from django.utils.translation import gettext_lazy as _
from .models.notes import Alias from .models.notes import Alias
from .models.transactions import Transaction from .models.transactions import Transaction, TransactionTemplate
from .templatetags.pretty_money import pretty_money from .templatetags.pretty_money import pretty_money

View File

@ -13,7 +13,7 @@ from permission.backends import PermissionBackend
from .forms import TransactionTemplateForm from .forms import TransactionTemplateForm
from .models import Transaction, TransactionTemplate, Alias, RecurrentTransaction, NoteSpecial from .models import Transaction, TransactionTemplate, Alias, RecurrentTransaction, NoteSpecial
from .models.transactions import SpecialTransaction from .models.transactions import SpecialTransaction
from .tables import HistoryTable from .tables import HistoryTable, ButtonTable
class TransactionCreateView(LoginRequiredMixin, SingleTableView): class TransactionCreateView(LoginRequiredMixin, SingleTableView):
@ -24,7 +24,6 @@ class TransactionCreateView(LoginRequiredMixin, SingleTableView):
template_name = "note/transaction_form.html" template_name = "note/transaction_form.html"
model = Transaction model = Transaction
form_class = TransactionForm
# Transaction history table # Transaction history table
table_class = HistoryTable table_class = HistoryTable
table_pagination = {"per_page": 50} table_pagination = {"per_page": 50}