billing: Apply a flat discount for self hosted plans.

This commit is contained in:
Aman Agrawal
2023-12-20 06:24:21 +00:00
committed by Tim Abbott
parent 0337c726d3
commit e192aef23d
95 changed files with 8706 additions and 388 deletions

View File

@@ -0,0 +1,22 @@
# Generated by Django 4.2.8 on 2023-12-19 12:24
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("corporate", "0030_alter_zulipsponsorshiprequest_requested_plan"),
]
operations = [
migrations.AddField(
model_name="customer",
name="flat_discount",
field=models.IntegerField(default=2000),
),
migrations.AddField(
model_name="customer",
name="flat_discounted_months",
field=models.IntegerField(default=0),
),
]