forked from pinax/pinax-stripe-light
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support billing/due_date on subscription and invoice + support adding…
… invoice items
- Loading branch information
Showing
5 changed files
with
153 additions
and
4 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.10.7 on 2017-10-19 13:21 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
import jsonfield.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('pinax_stripe', '0010_connect'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='invoice', | ||
name='billing', | ||
field=models.CharField(default='charge_automatically', max_length=32), | ||
), | ||
migrations.AddField( | ||
model_name='invoice', | ||
name='due_date', | ||
field=models.DateTimeField(blank=True, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='invoice', | ||
name='forgiven', | ||
field=models.BooleanField(default=False), | ||
), | ||
migrations.AddField( | ||
model_name='invoice', | ||
name='metadata', | ||
field=jsonfield.fields.JSONField(null=True), | ||
), | ||
migrations.AddField( | ||
model_name='subscription', | ||
name='billing', | ||
field=models.CharField(default='charge_automatically', max_length=32), | ||
), | ||
migrations.AddField( | ||
model_name='subscription', | ||
name='days_until_due', | ||
field=models.IntegerField(blank=True, default=None, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='subscription', | ||
name='application_fee_percent', | ||
field=models.DecimalField(blank=True, decimal_places=2, default=None, max_digits=3, null=True), | ||
), | ||
] |
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