Auto-complete first and last name for credits and debits
This commit is contained in:
parent
040bb27528
commit
717891869d
4 changed files with 26 additions and 10 deletions
|
|
@ -28,8 +28,7 @@ class TransactionCreate(LoginRequiredMixin, TemplateView):
|
|||
Add some context variables in template such as page title
|
||||
"""
|
||||
context = super().get_context_data(**kwargs)
|
||||
context['title'] = _('Transfer money from your account '
|
||||
'to one or others')
|
||||
context['title'] = _('Transfer money')
|
||||
context['polymorphic_ctype'] = ContentType.objects.get_for_model(Transaction).pk
|
||||
context['special_polymorphic_ctype'] = ContentType.objects.get_for_model(SpecialTransaction).pk
|
||||
context['special_types'] = NoteSpecial.objects.order_by("special_type").all()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue