-
+ {REVIEW_STEPS.map((s, idx) => (
+
-
+
+ {idx + 1}. {t(`steps.${s}`)} +
+ {stepState(r.progress.done[s])} +
+ ))}
+
{t("reason")}
+{r.emergencyReason}
+{t("provisionalHint")}
+ )} +{t("confirmCustomer.title")}
+{t("confirmCustomer.hint")}
+{t("duplicates.title")}
+ {r.duplicates.length === 0 ? ( +{t("duplicates.none")}
+ ) : ( +-
+ {r.duplicates.map((d) => (
+
- + + {d.displayName} + + + {[d.customerNumber, d.city, t("duplicates.score", { score: Math.round(d.score * 100) })].filter(Boolean).join(" · ")} + + + ))} +
{t("assignCustomer.title")}
+{t("assignCustomer.hint")}
+{t("mergeCustomer.title")}
+{t("mergeCustomer.hint")}
+{t("correctSite.title")}
+{t("assignSite.title")}
+ {r.siteOptions.length === 0 ? ( +{t("assignSite.none")}
+ ) : ( +{t("assignSite.hint")}
+{t("completeOrder.hint")}
+-
+ {r.reports.map((rep) => (
+
- + + {t(`report.type.${rep.type}`)} · {t("report.version", { version: rep.version })} · {t(`report.status.${rep.status}`)} + + + {t("report.open")} + + + ))} +
{t("report.hint")}
} +{t("billing.hint")}
+ {r.status === "in_review" && can("work_order:release_billing") ? ( +
+ {t("billing.current")}: