Commits

Luke Plant committed 45f348c

Don't show header with empty table in booking secretary reports

  • Participants
  • Parent commits 6723ab5
  • Branches bookings

Comments (0)

Files changed (1)

templates/cciw/officers/booking_secretary_reports.html

 
 
 <h2>Outstanding fees</h2>
+
+{% if bookings %}
+
 <table class="data">
   <tr>
     <th>Account</th>
   {% endfor %}
 
 </table>
+
+{% else %}
+<p>None found.</p>
+{% endif %}
+
+
 {% endblock %}