diff --git a/src/dispatch/case_cost/models.py b/src/dispatch/case_cost/models.py index ca37c529ebe4..0507fde7c0ba 100644 --- a/src/dispatch/case_cost/models.py +++ b/src/dispatch/case_cost/models.py @@ -1,3 +1,5 @@ +from datetime import datetime + from sqlalchemy import Column, ForeignKey, Integer, Numeric from sqlalchemy.ext.associationproxy import association_proxy from sqlalchemy.orm import relationship @@ -40,6 +42,7 @@ class CaseCostUpdate(CaseCostBase): class CaseCostRead(CaseCostBase): id: PrimaryKey case_cost_type: CaseCostTypeRead + updated_at: Optional[datetime] = None class CaseCostPagination(Pagination): diff --git a/src/dispatch/static/dispatch/src/case/CostsTab.vue b/src/dispatch/static/dispatch/src/case/CostsTab.vue index 01568d7d29a5..46417e947a42 100644 --- a/src/dispatch/static/dispatch/src/case/CostsTab.vue +++ b/src/dispatch/static/dispatch/src/case/CostsTab.vue @@ -56,7 +56,7 @@ export default { }, setup() { - return { formatRelativeDate, toUSD } + return { toUSD, formatRelativeDate } }, computed: {