|
|
@@ -171,7 +171,7 @@ class UserCouponInfo(BaseModelMixin):
|
171
|
171
|
'has_used': self.has_used,
|
172
|
172
|
'admin_id': self.admin_id,
|
173
|
173
|
'admin_name': self.admin_name,
|
174
|
|
- 'used_at': tc.local_string(utc_dt=self.used_at, format='%Y-%m-%d'),
|
|
174
|
+ 'used_at': tc.local_string(utc_dt=self.used_at, format='%Y-%m-%d') if self.used_at else '',
|
175
|
175
|
'coupon_from': self.activity_name if self.coupon_from == 'PROMOTION' else self.coupon_from,
|
176
|
176
|
'clerk_name': self.clerk_name,
|
177
|
177
|
'distributor_name': self.distributor_name,
|