Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

Commit 3dc863a6 authored by Levy--Falk Hugo's avatar Levy--Falk Hugo

Ne save pas les factures avant d'en avoir vérifié le prix.

parent 167bc601
......@@ -118,7 +118,6 @@ def new_facture(request, user, userid):
articles = article_formset
# Check if at leat one article has been selected
if any(art.cleaned_data for art in articles):
# Building a purchase for each article sold
purchases = []
total_price = 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment