Skip to content

Commit

Permalink
Adding incident cost to the attorney review form (#4864)
Browse files Browse the repository at this point in the history
  • Loading branch information
whitdog47 authored Jun 27, 2024
1 parent 194c08f commit 20a0b58
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/dispatch/static/dispatch/src/forms/store.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { getField, updateField } from "vuex-map-fields"
import { debounce } from "lodash"
import { toUSD } from "@/filters"

import SearchUtils from "@/search/utils"
import FormsTypeApi from "@/forms/types/api"
Expand Down Expand Up @@ -130,6 +131,10 @@ function buildIncidentDoc(incident) {
question: "Severity",
answer: incident.incident_severity.name,
})
output_qa.push({
question: "Incident cost",
answer: toUSD(incident.total_cost),
})
output_qa.push({
question: "Last tactical report",
answer: formatTacticalReport(incident.last_tactical_report),
Expand Down

0 comments on commit 20a0b58

Please sign in to comment.