add updated CCPO request index columns
This commit is contained in:
@@ -65,6 +65,13 @@ def renderList(value):
|
||||
return app.jinja_env.filters["safe"]("<br>".join(value))
|
||||
|
||||
|
||||
def formattedDate(value):
|
||||
if value:
|
||||
return value.strftime("%m/%d/%Y")
|
||||
else:
|
||||
return "-"
|
||||
|
||||
|
||||
def register_filters(app):
|
||||
app.jinja_env.filters["iconSvg"] = iconSvg
|
||||
app.jinja_env.filters["dollars"] = dollars
|
||||
@@ -74,3 +81,4 @@ def register_filters(app):
|
||||
app.jinja_env.filters["mixedContentToJson"] = mixedContentToJson
|
||||
app.jinja_env.filters["findFilter"] = findFilter
|
||||
app.jinja_env.filters["renderList"] = renderList
|
||||
app.jinja_env.filters["formattedDate"] = formattedDate
|
||||
|
Reference in New Issue
Block a user