Add stripe_coupon_id to VMPricing

This commit is contained in:
PCoder 2020-02-04 08:57:54 +05:30
commit 3ca1a45217
2 changed files with 21 additions and 0 deletions

View file

@ -54,6 +54,7 @@ class VMPricing(models.Model):
discount_amount = models.DecimalField(
max_digits=6, decimal_places=2, default=0
)
stripe_coupon_id = models.CharField(max_length=255, null=True, blank=True)
def __str__(self):
display_str = self.name + ' => ' + ' - '.join([