mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 15:25:46 +00:00
refactor(FE): Require approval step 5 for realization
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user