mirror of
https://github.com/fspc/workstand.git
synced 2026-09-16 08:31:38 -04:00
Add youth payment type. (#43)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.10.4 on 2017-05-02 01:20
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('core', '0003_auto_20170219_1741'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='payment',
|
||||
name='type',
|
||||
field=models.CharField(choices=[('NONE', 'None'), ('CASH', 'Cash'), ('CHEQUE', 'Cheque'), ('VOLUNTEERING', 'Volunteering'), ('SQUARE', 'Square'), ('PAYPAL', 'PayPal'), ('YOUTH', 'Youth'), ('UNKNOWN', 'Unknown')], default='NONE', max_length=12),
|
||||
),
|
||||
]
|
||||
@@ -40,6 +40,7 @@ class Payment(models.Model):
|
||||
('VOLUNTEERING', 'Volunteering'),
|
||||
('SQUARE', 'Square'),
|
||||
('PAYPAL', 'PayPal'),
|
||||
('YOUTH', 'Youth'),
|
||||
('UNKNOWN', 'Unknown')
|
||||
)
|
||||
type = models.CharField(max_length=12, choices=payment_choices, default='NONE')
|
||||
|
||||
Reference in New Issue
Block a user