parent
c2c0acc354
commit
c0b2d71147
2 changed files with 43 additions and 0 deletions
@ -0,0 +1,24 @@ |
|||||||
|
# -*- coding: utf-8 -*- |
||||||
|
from __future__ import unicode_literals |
||||||
|
|
||||||
|
from django.db import migrations, models |
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration): |
||||||
|
|
||||||
|
dependencies = [ |
||||||
|
('customer', '0007_payment_status'), |
||||||
|
] |
||||||
|
|
||||||
|
operations = [ |
||||||
|
migrations.AddField( |
||||||
|
model_name='payment', |
||||||
|
name='type', |
||||||
|
field=models.PositiveSmallIntegerField(verbose_name='Тип платежа', default=0, choices=[(0, 'Безналичный расчёт'), (1, 'Банковская карта')]), |
||||||
|
), |
||||||
|
migrations.AlterField( |
||||||
|
model_name='license', |
||||||
|
name='payform', |
||||||
|
field=models.IntegerField(verbose_name='форма оплаты', default=0, choices=[(-2, 'Бонусная'), (-1, 'Бесплатно'), (0, 'Безналичный расчёт'), (1, 'Банковская карта')]), |
||||||
|
), |
||||||
|
] |
||||||
@ -0,0 +1,19 @@ |
|||||||
|
# -*- coding: utf-8 -*- |
||||||
|
from __future__ import unicode_literals |
||||||
|
|
||||||
|
from django.db import migrations, models |
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration): |
||||||
|
|
||||||
|
dependencies = [ |
||||||
|
('customer', '0008_auto_20170717_1429'), |
||||||
|
] |
||||||
|
|
||||||
|
operations = [ |
||||||
|
migrations.AddField( |
||||||
|
model_name='payment', |
||||||
|
name='date', |
||||||
|
field=models.DateField(verbose_name='Дата', blank=True, null=True), |
||||||
|
), |
||||||
|
] |
||||||
Loading…
Reference in new issue