UserCouponInfo data add is_coupon_admin_writeoff

FFIB 5 years ago
parent
commit
3222fedb6b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      coupon/models.py

+ 1 - 0
coupon/models.py

@@ -130,6 +130,7 @@ class UserCouponInfo(BaseModelMixin):
130 130
             'coupon_amount': self.coupon_value,
131 131
             'coupon_value': self.coupon_value,
132 132
             'coupon_image_url': self.coupon_image_url,
133
+            'is_coupon_admin_writeoff': self.is_coupon_admin_writeoff,
133 134
             'active_at': tc.local_string(self.active_at, format='%Y%m%d'),
134 135
             'expire_at': tc.local_string(self.expire_at, format='%Y-%m-%d'),
135 136
             'coupon_valid_period': self.coupon_valid_period,