updated enforcement listed building using pinswg_startdates

This commit is contained in:
2024-11-29 07:44:17 +00:00
parent d042c52f76
commit e918f20c03
6 changed files with 35 additions and 6 deletions
+3 -1
View File
@@ -283,7 +283,9 @@ let MakeRepresentation = (props) => {
detailsObj.pinswg_endofrepresentationperiod
).setHours(23, 59, 59, 999)
)))
: ((startDate = new Date(detailsObj.pinswg_startdate)),
: ((startDate = new Date(
detailsObj.pinswg_startdate || detailsObj.pinswg_startdates
)),
(questionnaireDate = new Date(
new Date(detailsObj.pinswg_questionnaireduedate).setHours(
23,