|
|
|
@ -107,9 +107,12 @@ class Order(Base):
@@ -107,9 +107,12 @@ class Order(Base):
|
|
|
|
|
return '' |
|
|
|
|
if some_one: |
|
|
|
|
# in the new system a status change also stores the purchaser |
|
|
|
|
return '{!s} by {!s}'.format(some_date, some_one) |
|
|
|
|
return '{!s} by {!s}'.format( |
|
|
|
|
some_date.strftime('%Y-%m-%d %H:%M'), |
|
|
|
|
some_one |
|
|
|
|
) |
|
|
|
|
# historical data does not have a purchaser associated with a date |
|
|
|
|
return '{!s}'.format(some_date) |
|
|
|
|
return '{!s}'.format(some_date.strftime('%Y-%m-%d %H:%M')) |
|
|
|
|
|
|
|
|
|
@property |
|
|
|
|
def placed(self): |
|
|
|
|