-
Notifications
You must be signed in to change notification settings - Fork 413
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improvement/add billing type per subscription (#283)
* Added subscription type (Chargebee or xero) Added notes for subscriptions * Updated dashboard to show sub type * fixed as per PR comments
- Loading branch information
1 parent
edfe620
commit aef8a9b
Showing
3 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Generated by Django 2.2.24 on 2021-09-07 12:32 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("organisations", "0025_auto_20210223_1603"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="subscription", | ||
name="notes", | ||
field=models.CharField(blank=True, max_length=500, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="subscription", | ||
name="payment_method", | ||
field=models.CharField( | ||
choices=[("CHARGEBEE", "Chargebee"), ("XERO", "Xero")], | ||
default="CHARGEBEE", | ||
max_length=20, | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters