Fix #278 -- Preview for invoices

This commit is contained in:
Raphael Michel
2016-10-20 18:58:05 +02:00
parent 05ecfdb9e2
commit d6478e66de
4 changed files with 73 additions and 1 deletions

View File

@@ -19,6 +19,9 @@
{% bootstrap_field form.invoice_footer_text layout="horizontal" %}
</fieldset>
<div class="form-group submit-group">
<button type="submit" class="btn btn-default btn-lg" name="preview" value="preview" formtarget="_blank">
{% trans "Save and show preview" %}
</button>
<button type="submit" class="btn btn-primary btn-save">
{% trans "Save" %}
</button>