Adding wether ticket is paid or not.
This commit is contained in:
parent
001bbd5dc0
commit
4e036cdbe2
|
@ -60,9 +60,13 @@ class ShopTicketAdmin(BaseTicketAdmin):
|
|||
def user_email(self, obj):
|
||||
return obj.order.user.email
|
||||
|
||||
def is_paid(self, obj):
|
||||
return obj.order.paid
|
||||
|
||||
list_display = [
|
||||
'pk',
|
||||
'user_email',
|
||||
'is_paid',
|
||||
'ticket_type',
|
||||
'order',
|
||||
'product',
|
||||
|
|
Loading…
Reference in a new issue