-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add transactions template to portfolio summary (#4891)
* move functionality to backend move functionality to backend dev - meeds pagination dev - meeds pagination added pagination labels functional naming logging * sorting on related functional clean up * cleanup * precommit * lint * add type and trasnaction to goal model * transactions summary endpoint functional * transaction data dev * return if not none * rename transactions_column * add transaction data to endpoint * move goal fxns to util * transaction data functional * format summary in backend * translations * precommit * filters on trasnaction cols * set transactions to none if standard * translations * early return * update tests w new ps format * catch incorrect datatype * precommit * missing url * add goal type desc, rename migration, and fix typo * lint --------- Co-authored-by: Ross Perry <[email protected]> Co-authored-by: Katherine Fleming <[email protected]>
- Loading branch information
1 parent
88234c4
commit b263b70
Showing
14 changed files
with
614 additions
and
170 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Generated by Django 3.2.25 on 2024-12-02 22:02 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("seed", "0233_alter_goal_options"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="goal", | ||
name="transactions_column", | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="goal_transactions_columns", | ||
to="seed.column", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="goal", | ||
name="type", | ||
field=models.CharField(choices=[("standard", "standard"), ("transaction", "transaction")], default="standard", max_length=255), | ||
), | ||
] |
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
Oops, something went wrong.