File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
compliance-api/src/compliance_api/services/inspection_record Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -268,6 +268,9 @@ def build_finding_statement(self):
268268
269269 def build_enforcement_summary (self ):
270270 """Build the enforcement summary for the inspection record."""
271+ if self .existing_ir is not None and self .existing_ir .ir_status == self .ir_status :
272+ self .data ["enforcement_summary" ] = self .existing_ir .enforcement_summary
273+ return self
271274 if self .ir_status == IRStatusEnum .PRELIMINARY .value :
272275 self .data ["enforcement_summary" ] = None
273276 # Order needs to be checked and returned from here
Original file line number Diff line number Diff line change 7878 may be referred to a decision maker for consideration of an Administrative Penalty.</span>""" ,
7979 "AGENCY" : """<span>{{ number }} of {{ req_source_name }} of {{ eac }} was refered to {{ agency_name }}.
8080 See Requirement {{ req_sort_order }} for further information</span>""" ,
81- "DEFAULT" : """<span>The EAO CED may inspect to determine if {{ project_name }} has been brought into compliance with these
81+ "DEFAULT" : """<span>The EAO CEB may inspect to determine if {{ project_name }} has been brought into compliance with these
8282 requirements. Continued non-compliance with these requirements may result in additional enforcement
8383 under the {{ act }} </span>""" ,
8484}
You can’t perform that action at this time.
0 commit comments