mirror of
				https://github.com/ae-utbm/sith.git
				synced 2025-11-04 02:53:06 +00:00 
			
		
		
		
	Merge pull request #1212 from ae-utbm/fix-notification-invoice
fix: notification on invoice call update
This commit is contained in:
		@@ -4,11 +4,13 @@
 | 
				
			|||||||
  {% trans %}Invoices call{% endtrans %}
 | 
					  {% trans %}Invoices call{% endtrans %}
 | 
				
			||||||
{% endblock %}
 | 
					{% endblock %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					{% block notifications %}{# Notifications are moved below #}{% endblock %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% block content %}
 | 
					{% block content %}
 | 
				
			||||||
  <h3>{% trans date=start_date|date("F Y") %}Invoices call for {{ date }}{% endtrans %}</h3>
 | 
					  <h3>{% trans date=start_date|date("F Y") %}Invoices call for {{ date }}{% endtrans %}</h3>
 | 
				
			||||||
  <p>{% trans %}Choose another month: {% endtrans %}</p>
 | 
					 | 
				
			||||||
  <form method="get" action="">
 | 
					  <form method="get" action="">
 | 
				
			||||||
    <select name="month">
 | 
					    <label for="id_form_other_month">{% trans %}Choose another month: {% endtrans %}</label>
 | 
				
			||||||
 | 
					    <select name="month" id="id_form_other_month">
 | 
				
			||||||
      {% for m in months %}
 | 
					      {% for m in months %}
 | 
				
			||||||
        <option value="{{ m|date("Y-m") }}">{{ m|date("Y-m") }}</option>
 | 
					        <option value="{{ m|date("Y-m") }}">{{ m|date("Y-m") }}</option>
 | 
				
			||||||
      {% endfor %}
 | 
					      {% endfor %}
 | 
				
			||||||
@@ -19,7 +21,9 @@
 | 
				
			|||||||
  <br>
 | 
					  <br>
 | 
				
			||||||
  <p>{% trans %}CB Payments{% endtrans %} : {{ sum_cb }} €</p>
 | 
					  <p>{% trans %}CB Payments{% endtrans %} : {{ sum_cb }} €</p>
 | 
				
			||||||
  <br>
 | 
					  <br>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  {% include "core/base/notifications.jinja" %}
 | 
					  {% include "core/base/notifications.jinja" %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <form method="post" action="">
 | 
					  <form method="post" action="">
 | 
				
			||||||
    {% csrf_token %}
 | 
					    {% csrf_token %}
 | 
				
			||||||
    <table>
 | 
					    <table>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user