Closed AureliaKhorsand closed 1 year ago
@mjtravers @toddlees can you flesh out this ticket so we can get it through the pipeline? Probably want to get this handled relatively early in OP2.
Passes CR. Sending to QA.
QA review verified creating a Report Memo and saving Report Memo is added to last line of .fec (see below screenshot).
QA Review Completed. Moved to Stage Ready.
As a user, when I upload my report to webprint or submit my report for filing, any report level memo that I added to the report will be included in the .fec file sent. We already save report level memos in the database. This ticket simply means that we need to write the report level memo to a line at the end of the .fec file..
Task: add report memo to .fec file when everything else is added
Dev Notes
schema for report level memo: https://github.com/fecgov/fecfile-validate/blob/develop/schema/Text.json
This should just be a matter of composing and serializing in the dot_fec_composer.py
composing: pull all report memos (should just be one for now) for report into list
serialize: serialize them into rows by passing the schema name, model class, and memo object into the
serialize_model_instance
function[x] Update specs to match the Spec Updates sheet here.
QA Notes
DEV Notes
null
Design
null
See full ticket and images here: FECFILE-325