From dbd3a7803d1f7e8ad30d3b07e29db044d1ecf785 Mon Sep 17 00:00:00 2001 From: Dmitriy Shesterkin Date: Tue, 25 Jul 2017 22:47:13 +0300 Subject: [PATCH] add government_description --- .../migrations/0010_auto_20170725_2205.py | 19 +++++++++++++++ .../migrations/0005_auto_20170725_2205.py | 24 +++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 src/customer/migrations/0010_auto_20170725_2205.py create mode 100644 src/docs/migrations/0005_auto_20170725_2205.py diff --git a/src/customer/migrations/0010_auto_20170725_2205.py b/src/customer/migrations/0010_auto_20170725_2205.py new file mode 100644 index 0000000..b716bcc --- /dev/null +++ b/src/customer/migrations/0010_auto_20170725_2205.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('customer', '0009_payment_date'), + ] + + operations = [ + migrations.AlterField( + model_name='license', + name='payform', + field=models.IntegerField(verbose_name='форма оплаты', default=0, choices=[(-2, 'Бонусная'), (-1, 'Бесплатно'), (0, 'Безналичный расчёт'), (1, 'Карта, электронные деньги, наличные')]), + ), + ] diff --git a/src/docs/migrations/0005_auto_20170725_2205.py b/src/docs/migrations/0005_auto_20170725_2205.py new file mode 100644 index 0000000..70fca57 --- /dev/null +++ b/src/docs/migrations/0005_auto_20170725_2205.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('docs', '0004_auto_20170609_0104'), + ] + + operations = [ + migrations.AddField( + model_name='faktura', + name='government', + field=models.BooleanField(verbose_name='Госконтракт', default=False), + ), + migrations.AddField( + model_name='faktura', + name='government_description', + field=models.CharField(verbose_name='Идентификатор госконтракта, договора', max_length=256, blank=True, default=''), + ), + ]