-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2565 from GSA-TTS/main
[2023-10-20] main -> prod
- Loading branch information
Showing
54 changed files
with
158 additions
and
127 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
Binary file modified
BIN
+0 Bytes
(100%)
backend/audit/fixtures/workbooks/should_pass/100010-22/additional-eins-100010.xlsx
Binary file not shown.
Binary file modified
BIN
-2 Bytes
(100%)
backend/audit/fixtures/workbooks/should_pass/100010-22/additional-ueis-100010.xlsx
Binary file not shown.
Binary file modified
BIN
-1 Byte
(100%)
backend/audit/fixtures/workbooks/should_pass/100010-22/audit-findings-100010.xlsx
Binary file not shown.
Binary file modified
BIN
-5 Bytes
(100%)
backend/audit/fixtures/workbooks/should_pass/100010-22/audit-findings-text-100010.xlsx
Binary file not shown.
Binary file modified
BIN
+14 Bytes
(100%)
backend/audit/fixtures/workbooks/should_pass/100010-22/corrective-action-plan-100010.xlsx
Binary file not shown.
Binary file modified
BIN
+158 KB
(120%)
backend/audit/fixtures/workbooks/should_pass/100010-22/federal-awards-100010.xlsx
Binary file not shown.
Binary file modified
BIN
+4 Bytes
(100%)
backend/audit/fixtures/workbooks/should_pass/100010-22/notes-to-sefa-100010.xlsx
Binary file not shown.
Binary file modified
BIN
+4 Bytes
(100%)
backend/audit/fixtures/workbooks/should_pass/100010-22/secondary-auditors-100010.xlsx
Binary file not shown.
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
15 changes: 15 additions & 0 deletions
15
backend/audit/intakelib/transforms/xform_rename_additional_notes_sheet.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,15 @@ | ||
import logging | ||
from copy import deepcopy | ||
|
||
logger = logging.getLogger(__name__) | ||
|
||
|
||
# This transform is needed for backwards compatibility with workbook templates 1.0.0 and 1.0.1 | ||
def rename_additional_notes_sheet_to_form_sheet(ir): | ||
new_ir = deepcopy(ir) | ||
|
||
for sheet in new_ir: | ||
if sheet["name"] == "AdditionalNotes": | ||
sheet["name"] = "Form" | ||
|
||
return new_ir |
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 |
---|---|---|
|
@@ -259,6 +259,25 @@ def _create_test_sac(user, auditee_name, dbkey): | |
email="[email protected]", # user.email, | ||
role="certifying_auditor_contact", | ||
) | ||
|
||
sac.auditee_certification = {} | ||
sac.auditee_certification["auditee_signature"] = {} | ||
sac.auditee_certification["auditee_signature"][ | ||
"auditee_name" | ||
] = "Bob the Auditee Name" | ||
sac.auditee_certification["auditee_signature"][ | ||
"auditee_title" | ||
] = "Bob the Auditee Signature" | ||
|
||
sac.auditor_certification = {} | ||
sac.auditor_certification["auditor_signature"] = {} | ||
sac.auditor_certification["auditor_signature"][ | ||
"auditor_name" | ||
] = "Alice the Auditor Name" | ||
sac.auditor_certification["auditor_signature"][ | ||
"auditor_title" | ||
] = "Alice the Auditor Signature" | ||
|
||
sac.data_source = "TSTDAT" | ||
sac.save() | ||
|
||
|
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.