Skip to content

Commit c58113a

Browse files
authored
Merge branch 'development' into invoice-fix
2 parents 3128633 + 0f0864e commit c58113a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/api/helpers/order.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def create_pdf_tickets_for_holder(order):
5151
Create tickets and invoices for the holders of an order.
5252
:param order: The order for which to create tickets for.
5353
"""
54-
if order.status == 'completed':
54+
if order.status == 'completed' or order.status == 'placed':
5555
pdf = create_save_pdf(render_template('pdf/ticket_purchaser.html', order=order),
5656
UPLOAD_PATHS['pdf']['ticket_attendee'],
5757
dir_path='/static/uploads/pdf/tickets/', identifier=order.identifier, upload_dir='generated/tickets/')

0 commit comments

Comments
 (0)