Merge branch 'estif-branch-1' of https://github.com/Tria-plc/emaui into estif-branch-1

This commit is contained in:
Estifo77
2026-09-07 10:25:17 +03:00
11 changed files with 468 additions and 15 deletions

View File

@@ -402,6 +402,7 @@ export const mockApplicationDetails: Record<string, any> = Object.fromEntries(
remark: 'Ownership document is blurred — please re-upload a clearer scan.',
isResolved: false,
resolvedAt: null,
valueChangedAt: null,
createdAt: application.submittedAt ?? application.createdAt,
},
]
@@ -417,6 +418,7 @@ export const mockApplicationDetails: Record<string, any> = Object.fromEntries(
remark: 'Ownership document is blurred — please re-upload a clearer scan.',
isResolved: false,
resolvedAt: null,
valueChangedAt: null,
createdAt: application.submittedAt ?? application.createdAt,
},
]

View File

@@ -513,6 +513,15 @@ export interface ApplicationRemark {
remark: string;
isResolved: boolean;
resolvedAt: string | null;
/**
* When the applicant actually changed the value this remark points at.
*
* `resolvedAt` only says the item was ticked off — the portal bulk-resolves
* every remark of the round right before resubmitting, so it proves nothing.
* This is stamped by the section save or document re-upload itself, which
* makes it the only trustworthy answer to "what did they actually correct?".
*/
valueChangedAt: string | null;
createdAt: string;
}