refactor(FE): Require approval step 5 for realization

This commit is contained in:
rstubryan
2026-01-12 11:32:17 +07:00
parent 6a4e8776bd
commit 595f2b5e9b
4 changed files with 4 additions and 4 deletions
@@ -28,7 +28,7 @@ const ExpenseDetail: React.FC<ExpenseDetailProps> = ({ initialValues }) => {
if (
initialValues?.latest_approval &&
initialValues?.latest_approval.step_number >= 4 &&
initialValues?.latest_approval.step_number >= 5 &&
initialValues.latest_approval.action !== 'REJECTED'
) {
validTabs.push({