-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added supplier number field to claimant model, made available to edit…
… in admin interface and view in fellow profile
- Loading branch information
1 parent
fd447eb
commit c05c801
Showing
5 changed files
with
89 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
54 changes: 54 additions & 0 deletions
54
lowfat/migrations/0160_alter_claimant_application_year_and_more.py
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,54 @@ | ||
# Generated by Django 4.2 on 2024-07-18 15:49 | ||
|
||
import datetime | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('lowfat', '0159_auto_20230824_1428'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='claimant', | ||
name='application_year', | ||
field=models.IntegerField(default=2024), | ||
), | ||
migrations.AlterField( | ||
model_name='claimant', | ||
name='inauguration_grant_expiration', | ||
field=models.DateField(default=datetime.date(2026, 3, 31)), | ||
), | ||
migrations.AlterField( | ||
model_name='expense', | ||
name='status', | ||
field=models.CharField(choices=[('S', 'Submitted'), ('C', 'Processing'), ('A', 'Approved'), ('R', 'Rejected'), ('X', 'Removed')], default='S', max_length=1), | ||
), | ||
migrations.AlterField( | ||
model_name='fund', | ||
name='status', | ||
field=models.CharField(choices=[('U', 'Unprocessed'), ('P', 'Processing'), ('A', 'Approved'), ('M', 'Approved by machine'), ('R', 'Rejected'), ('F', 'Archived'), ('C', 'Cancelled'), ('X', 'Removed')], default='U', max_length=1), | ||
), | ||
migrations.AlterField( | ||
model_name='historicalclaimant', | ||
name='application_year', | ||
field=models.IntegerField(default=2024), | ||
), | ||
migrations.AlterField( | ||
model_name='historicalclaimant', | ||
name='inauguration_grant_expiration', | ||
field=models.DateField(default=datetime.date(2026, 3, 31)), | ||
), | ||
migrations.AlterField( | ||
model_name='historicalexpense', | ||
name='status', | ||
field=models.CharField(choices=[('S', 'Submitted'), ('C', 'Processing'), ('A', 'Approved'), ('R', 'Rejected'), ('X', 'Removed')], default='S', max_length=1), | ||
), | ||
migrations.AlterField( | ||
model_name='historicalfund', | ||
name='status', | ||
field=models.CharField(choices=[('U', 'Unprocessed'), ('P', 'Processing'), ('A', 'Approved'), ('M', 'Approved by machine'), ('R', 'Rejected'), ('F', 'Archived'), ('C', 'Cancelled'), ('X', 'Removed')], default='U', max_length=1), | ||
), | ||
] |
23 changes: 23 additions & 0 deletions
23
lowfat/migrations/0161_claimant_supplier_number_and_more.py
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,23 @@ | ||
# Generated by Django 4.2 on 2024-08-30 15:25 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('lowfat', '0160_alter_claimant_application_year_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='claimant', | ||
name='supplier_number', | ||
field=models.CharField(blank=True, max_length=120), | ||
), | ||
migrations.AddField( | ||
model_name='historicalclaimant', | ||
name='supplier_number', | ||
field=models.CharField(blank=True, max_length=120), | ||
), | ||
] |
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