fix
This commit is contained in:
parent
6a32ed6ffd
commit
b80333feeb
@ -125,6 +125,7 @@ def register_racer(request):
|
|||||||
|
|
||||||
product.quantity -= 1
|
product.quantity -= 1
|
||||||
product.save()
|
product.save()
|
||||||
|
|
||||||
invoice = Invoice(
|
invoice = Invoice(
|
||||||
invoice_id=invoice_id,
|
invoice_id=invoice_id,
|
||||||
user=user,
|
user=user,
|
||||||
@ -147,7 +148,7 @@ def register_racer(request):
|
|||||||
)
|
)
|
||||||
invoice.save()
|
invoice.save()
|
||||||
racer.save()
|
racer.save()
|
||||||
invoice.items.set([racer])
|
invoice.items.set([racer.id])
|
||||||
|
|
||||||
payment_data = {
|
payment_data = {
|
||||||
'merchant': COMGATE_MERCHANT,
|
'merchant': COMGATE_MERCHANT,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user