-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix adoption query for renewal form * add some useful fields * remove old adoption methods and crons * remove limit used for testing * fix a test and a view * do not get records for users that are current adopters * base year cutoff june 30 * variable name cleanup * remove limit... again * fix base_year calculation * don't truncate table, manually running job
- Loading branch information
Showing
8 changed files
with
132 additions
and
73 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 was deleted.
Oops, something went wrong.
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
65 changes: 65 additions & 0 deletions
65
salesforce/migrations/0112_remove_adoptionopportunityrecord_fall_student_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,65 @@ | ||
# Generated by Django 5.1.1 on 2024-10-17 15:34 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("salesforce", "0111_alter_partner_partner_sf_account_id_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name="adoptionopportunityrecord", | ||
name="fall_student_number", | ||
), | ||
migrations.RemoveField( | ||
model_name="adoptionopportunityrecord", | ||
name="spring_student_number", | ||
), | ||
migrations.RemoveField( | ||
model_name="adoptionopportunityrecord", | ||
name="summer_student_number", | ||
), | ||
migrations.AddField( | ||
model_name="adoptionopportunityrecord", | ||
name="adoption_type", | ||
field=models.CharField(max_length=255, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="adoptionopportunityrecord", | ||
name="base_year", | ||
field=models.IntegerField(null=True), | ||
), | ||
migrations.AddField( | ||
model_name="adoptionopportunityrecord", | ||
name="confirmation_date", | ||
field=models.DateField(null=True), | ||
), | ||
migrations.AddField( | ||
model_name="adoptionopportunityrecord", | ||
name="confirmation_type", | ||
field=models.CharField(max_length=255, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="adoptionopportunityrecord", | ||
name="how_using", | ||
field=models.CharField(max_length=255, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="adoptionopportunityrecord", | ||
name="opportunity_stage", | ||
field=models.CharField(max_length=255, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="adoptionopportunityrecord", | ||
name="savings", | ||
field=models.DecimalField(decimal_places=2, max_digits=10, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="adoptionopportunityrecord", | ||
name="students", | ||
field=models.IntegerField(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
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