From 3418ece690ca90d676a7d8ae654da7770ae312fb Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Thu, 17 Jun 2021 20:49:00 +0300 Subject: Add print options for tech name --- servo/forms/admin.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'servo/forms/admin.py') diff --git a/servo/forms/admin.py b/servo/forms/admin.py index a33d4d4..e012bab 100644 --- a/servo/forms/admin.py +++ b/servo/forms/admin.py @@ -354,6 +354,20 @@ class SettingsForm(BaseForm): help_text=_('Check to make the "device condition" field mandatory'), ) + checkin_tech_name = forms.ChoiceField( + choices=( + ('full', _('Firstname Lastname')), + ('short', _('Firstname Lastinitial')), + ('first', _('Firstname')), + ('last', _('Lastname')), + ('none', _('None')), + ), + initial='full', + required=False, + label=_('Name format'), + help_text=_('Controls how the tech name is displayed in printouts.') + ) + # end checkin fields currency = forms.ChoiceField( -- cgit v1.2.3