projects
/
matthijs
/
projects
/
dorestad-bookings.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tickets: Send a confirmation when a payment is processed.
[matthijs/projects/dorestad-bookings.git]
/
tickets
/
views.py
diff --git
a/tickets/views.py
b/tickets/views.py
index a06086d593646c7ad7ccd7bf4cfbd4150abd49c3..7c9e9fa419c1ce9a700314bb6ad16f43394beb58 100644
(file)
--- a/
tickets/views.py
+++ b/
tickets/views.py
@@
-109,6
+109,7
@@
def payments(request):
for b in bookings:
b.payment = datetime.datetime.now()
b.save()
+ confirm_booking(b, 'tickets/payed.eml')
# Don't show the form again
f = None