Fix AttributeError: use shop.name instead of shop.display_name
This commit is contained in:
parent
03683d55f5
commit
1cce8c679e
1 changed files with 1 additions and 1 deletions
|
|
@ -826,7 +826,7 @@ def crypto_quotes_history(request):
|
|||
"has_invoice": bool(payment.invoice),
|
||||
"invoice_id": payment.invoice.id if payment.invoice else None,
|
||||
"shop_name": (
|
||||
payment.invoice.shop.display_name
|
||||
payment.invoice.shop.name
|
||||
if payment.invoice and payment.invoice.shop
|
||||
else "Unknown Shop"
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue