Skip to content

Commit

Permalink
chore: tu lead can verify contract
Browse files Browse the repository at this point in the history
  • Loading branch information
newarifrh committed Jul 8, 2024
1 parent ccb7d3d commit df073d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/contract/ListContractView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@
<el-button v-if="
scope.row.status == 'VERIFIED' &&
user.position == 'KETUA' &&
user.team == scope.row.createdBy
(user.team == scope.row.createdBy || user.team == 'TU')
" size="small" type="warning" @click="handleCancelActivity(props.row._id, scope.row._id)">
Batal
</el-button>
<el-button v-if="
scope.row.status == 'UNVERIFIED' &&
user.position == 'KETUA' &&
user.team == scope.row.createdBy &&
(user.team == scope.row.createdBy || user.team == 'TU') &&
!props.row.isExceeded
" size="small" type="primary" @click="handleVerifyActivity(props.row._id, scope.row._id)">
Verifikasi
Expand Down

0 comments on commit df073d1

Please sign in to comment.