feat(FE-170,174,175): implement approval lines for growing and laying recording categories

This commit is contained in:
rstubryan
2025-11-18 10:37:10 +07:00
parent 38cab1464c
commit 9164b985b1
4 changed files with 78 additions and 521 deletions
+2 -1
View File
@@ -158,6 +158,7 @@ export const formatGroupedApprovalsToApprovalSteps = (
if (approvalGroup.approvals) {
switch (approvalGroup?.approvals[0]?.action) {
case 'CREATED':
case 'UPDATED':
case 'APPROVED':
approvalStatus = 'APPROVED';
break;
@@ -256,7 +257,7 @@ const useApprovalSteps = ({
moduleName: string;
moduleId: string;
params?: {
page: number;
page?: number;
limit: number;
search?: string;
group_step_number?: boolean;