-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tracking pull request to merge release-1.54.0 to master (#2027)
* update release number * updat epr number * feat: zeva-1286 - attach documents to credit application (#2017) * feat: zeva-1286 - attach documents to credit application * fix code smells * props validation * fix unit tests * fix: zeva-1833 - vehicle supplier navigation tabs (#2021) * Feat: Active ZEV Models Default Filter #1356 (#2029) * Modifying the filtering on the zev models list page to default to only active models * Removing unneeded code * Removed extra filter reset * Added delete button to the rejected zev model page so it can be deleted (#2030) * fix: removes print button from the actual printed page (#2031) * chore: updates developer guide and import data for some changes to reflect change to crunchy and dev instead of test, and note about fixing local database lock (#2032) * feat: zeva-1942 - editable comments (#2034) * Added logic to show deleted zev models to government users (#2038) * fix: zeva-2022 - MY report summary rounding issues (#2037) * fix: zeva-2007 - consumer sales not appearing (#2036) * Feat: Returned Model Year Report Information #1276 (#2028) * Adding display field to some report tables to allow reports to be returned, not show analyst adjustments and soft retain information * Altering functionality * Adding logic to not display assessment comments if a report is returned then re-submitted * Removing some migrations to fix unit tests * feat: zeva-2015 - credit application error downloads (#2039) * fix: zeva-2040 - validated vins in credit application downloads (#2041) * fix: adds submission message variable that creates a statement for the submission date and user (#2042) -adds variable to the end of recommended and validated transactions * fix: zeva-1942 - disable editing of comments upon rejection (#2047) * feat: zeva-1875 - deficits - build-on-dev (#1958) * feat: zeva-1875 - deficits * fixes and changes * some cleanup * more fixes and changes * fiz: zeva-2043 - credit transactions incorrect multiples (#2044) --------- Co-authored-by: tim738745 <[email protected]> Co-authored-by: JulianForeman <[email protected]> Co-authored-by: Emily <[email protected]>
- Loading branch information
1 parent
df327cd
commit 024208d
Showing
63 changed files
with
907 additions
and
227 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 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,34 @@ | ||
# Generated by Django 3.2.20 on 2023-10-24 16:08 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('api', '0003_auto_20230918_1445'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='modelyearreportassessment', | ||
name='display', | ||
field=models.BooleanField(default=True), | ||
), | ||
migrations.AddField( | ||
model_name='modelyearreportassessmentcomment', | ||
name='display', | ||
field=models.BooleanField(default=True), | ||
), | ||
migrations.AddField( | ||
model_name='modelyearreportldvsales', | ||
name='display', | ||
field=models.BooleanField(default=True), | ||
), | ||
migrations.AddField( | ||
model_name='modelyearreportmake', | ||
name='display', | ||
field=models.BooleanField(default=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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from api.models.credit_agreement_comment import CreditAgreementComment | ||
|
||
|
||
def get_comment(comment_id): | ||
return CreditAgreementComment.objects.filter(id=comment_id).first() | ||
|
||
|
||
def delete_comment(comment_id): | ||
CreditAgreementComment.objects.filter(id=comment_id).delete() |
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,9 @@ | ||
from api.models.credit_transfer_comment import CreditTransferComment | ||
|
||
|
||
def get_comment(comment_id): | ||
return CreditTransferComment.objects.filter(id=comment_id).first() | ||
|
||
|
||
def delete_comment(comment_id): | ||
CreditTransferComment.objects.filter(id=comment_id).delete() |
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
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,4 @@ | ||
def update_comment_text(comment, comment_text): | ||
comment.comment = comment_text | ||
comment.save(update_fields=["comment", "update_timestamp"]) | ||
return comment |
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.