mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-08 06:35:42 +00:00
feat(freight): track onboarding-phase edit history for companies
Ticket #238 — pre-approval edits and document uploads write straight to the live company row with no approval gate and, until now, no trace. Adds an append-only company_revisions log (diffed field changes, document uploads) recorded from updateProfile and uploadCompanyDocuments, exposed via GET /companies/:id/revisions and shown as "Version history" on the backoffice customer detail page.
This commit is contained in:
@@ -39,6 +39,7 @@ import {
|
||||
BookingStatusBadge,
|
||||
ChangeRequestPendingBadge,
|
||||
ChangeRequestReview,
|
||||
CompanyRevisionHistory,
|
||||
CompanyStatusBadge,
|
||||
CompanyTypeBadge,
|
||||
InvoiceStatusBadge,
|
||||
@@ -710,6 +711,7 @@ export default function CustomerDetailPage() {
|
||||
)}
|
||||
|
||||
<ChangeRequestReview company={company} />
|
||||
<CompanyRevisionHistory companyId={company.id} />
|
||||
|
||||
<KpiStrip
|
||||
items={[
|
||||
|
||||
Reference in New Issue
Block a user