diff --git a/schoolapps/fibu/templates/fibu/booking/check.html b/schoolapps/fibu/templates/fibu/booking/check.html index f6f26b267351679bb567ef72fa2fa64914947fa1..4d75f0ab5d0e7be77f742ca9b08687d3daae5171 100755 --- a/schoolapps/fibu/templates/fibu/booking/check.html +++ b/schoolapps/fibu/templates/fibu/booking/check.html @@ -10,7 +10,7 @@ <th>Antragsteller</th> <th>Anschaffungswunsch</th> <th>Geplante Kosten</th> - <th>Zugeordnete Kostenstelle</th> + <th>Buchungskonto</th> <th>Aktionen</th> </tr> </thead> @@ -26,8 +26,9 @@ {% for booking in filter.qs %} <tr> - <form method="POST"> + <form method="POST" action=""> {% csrf_token %} + <input type="hidden" value="{{ booking.id }}" name="booking-id"> {% if booking.status < 2 %} <td>{{ booking.contact }}</td> @@ -41,9 +42,10 @@ class="waves-effect waves-light btn-flat btn-flat-medium" title="Annehmen"> <i class="material-icons center green-text">check_circle</i> </button> + {% endif %} {% if booking.status < 3 %} - <button type="submit" name="deny" + <button type="submit" name="deny" value="Blubb" class="waves-effect waves-light btn-flat btn-flat-medium" title="Ablehnen"> <i class="material-icons center red-text">not_interested</i> </button> diff --git a/schoolapps/fibu/templates/fibu/index.html b/schoolapps/fibu/templates/fibu/index.html index fb4ba3089a3720128e545e46da8493f3c7a73092..ada1dbde6f56b27245864c00a8dec46243bd2255 100755 --- a/schoolapps/fibu/templates/fibu/index.html +++ b/schoolapps/fibu/templates/fibu/index.html @@ -24,7 +24,8 @@ {% form form=form %} {% part form.planned_amount prefix %}<i class="material-icons prefix">euro_symbol</i> {% endpart %} - {% endform %} </div> + {% endform %} + </div> <div class="modal-footer"> <button type="submit" class="waves-effect waves-light btn green"> <i class="material-icons left">send</i> Antrag stellen