Move create invoice higher up on multireg page
authorMagnus Hagander <magnus@hagander.net>
Wed, 7 Mar 2018 18:09:39 +0000 (13:09 -0500)
committerMagnus Hagander <magnus@hagander.net>
Wed, 7 Mar 2018 18:09:39 +0000 (13:09 -0500)
template.jinja/confreg/regmulti.html

index 4d610f9be11fbbe31b1641dfd0889ac7129cdfde..5867437dddabbc684671f274df0460b603ddf4e9 100644 (file)
 </p>
 {%endif%}
 
-{%if bulkpayments%}
-<h2>Invoices</h2>
-<p>
-  The following invoices have been issued from your account.
-</p>
-<ul>
-{%for b in bulkpayments%}
- <li><a href="b{{b.id}}/">{{b.createdat}}</a> for {{b.numregs}} registrations ({{b.ispaid()|yesno("Paid,Unpaid")}})</li>
-{%endfor%}
-</ul>
-{%endif%}
-
 {%if haspending%}
 <h2>Create invoice</h2>
 {%if activewaitlist%}
@@ -57,6 +45,18 @@ them all.
 {%endif%}
 {%endif%}
 
+{%if bulkpayments%}
+<h2>Invoices</h2>
+<p>
+  The following invoices have been issued from your account.
+</p>
+<ul>
+{%for b in bulkpayments%}
+ <li><a href="b{{b.id}}/">{{b.createdat}}</a> for {{b.numregs}} registrations ({{b.ispaid()|yesno("Paid,Unpaid")}})</li>
+{%endfor%}
+</ul>
+{%endif%}
+
 <h2>Add registration</h2>
 {%if activewaitlist%}
 <p>