diff --git a/api/namex/resources/name_requests/report_resource.py b/api/namex/resources/name_requests/report_resource.py index bce104074..f139839f0 100644 --- a/api/namex/resources/name_requests/report_resource.py +++ b/api/namex/resources/name_requests/report_resource.py @@ -187,7 +187,7 @@ def _get_report(nr_model): @staticmethod def _get_report_filename(nr_model): - return 'NR {}.pdf'.format(nr_model.nrNum).replace(' ', '_') + return '{}.pdf'.format(nr_model.nrNum).replace(' ', '_') @staticmethod def _get_template(): @@ -281,6 +281,7 @@ def _get_template_data(nr_model): nr_report_json['retrievalDateTime'] = datetime.now().astimezone(timezone('US/Pacific')).strftime(DATE_FORMAT) nr_report_json['hasUnreviewedNames'] = ReportResource._hasUnReviewedNames(nr_report_json['names']) + nr_report_json['nwpta'] = [] return nr_report_json