Allow to change length of invoice numbers

This commit is contained in:
Raphael Michel
2020-07-21 18:11:00 +02:00
parent b305ac012c
commit 735d4564f8
6 changed files with 31 additions and 8 deletions

View File

@@ -677,6 +677,7 @@ class InvoiceSettingsForm(SettingsForm):
'invoice_numbers_consecutive',
'invoice_numbers_prefix',
'invoice_numbers_prefix_cancellations',
'invoice_numbers_counter_length',
'invoice_address_explanation_text',
'invoice_email_attachment',
'invoice_address_from_name',

View File

@@ -19,6 +19,7 @@
{% bootstrap_field form.invoice_numbers_consecutive layout="control" %}
{% bootstrap_field form.invoice_numbers_prefix layout="control" %}
{% bootstrap_field form.invoice_numbers_prefix_cancellations layout="control" %}
{% bootstrap_field form.invoice_numbers_counter_length layout="control" %}
</fieldset>
<fieldset>
<legend>{% trans "Address form" %}</legend>