1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 09:58:23 +02:00

Close remittances

This commit is contained in:
Yohann D'ANELLO
2020-03-24 00:50:55 +01:00
parent 414722df18
commit 5682c5489e
4 changed files with 64 additions and 8 deletions

View File

@ -35,10 +35,10 @@ class InvoiceTable(tables.Table):
class RemittanceTable(tables.Table):
edit = tables.LinkColumn("treasury:remittance_update",
verbose_name=_("Edit"),
view = tables.LinkColumn("treasury:remittance_update",
verbose_name=_("View"),
args=[A("pk")],
text=_("Edit"),
text=_("View"),
attrs={
'a': {'class': 'btn btn-primary'}
}, )
@ -52,7 +52,7 @@ class RemittanceTable(tables.Table):
}
model = Remittance
template_name = 'django_tables2/bootstrap4.html'
fields = ('id', 'date', 'type', 'comment', 'count', 'amount', 'edit',)
fields = ('id', 'date', 'type', 'comment', 'count', 'amount', 'view',)
class SpecialTransactionTable(tables.Table):