mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Add __str__ methods to more models
This commit is contained in:
@@ -1037,6 +1037,9 @@ class OrderPayment(models.Model):
|
||||
class Meta:
|
||||
ordering = ('local_id',)
|
||||
|
||||
def __str__(self):
|
||||
return self.full_id
|
||||
|
||||
@property
|
||||
def info_data(self):
|
||||
"""
|
||||
@@ -1343,6 +1346,9 @@ class OrderRefund(models.Model):
|
||||
class Meta:
|
||||
ordering = ('local_id',)
|
||||
|
||||
def __str__(self):
|
||||
return self.full_id
|
||||
|
||||
@property
|
||||
def info_data(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user