commit
This commit is contained in:
+3
-3
@@ -514,21 +514,21 @@ layout("/layouts/platform.html"){
|
|||||||
if (this.$auth.hasRoleOr(["SYSADMIN", "SCHOOL_UNION_ADMIN"])) {
|
if (this.$auth.hasRoleOr(["SYSADMIN", "SCHOOL_UNION_ADMIN"])) {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (this.$auth.hasRoleOr(["SCHOOL_REIMBURSEMENT_MANAGER,SCHOOL_REIMBURSEMENT_MANAGER"])) {
|
if (this.$auth.hasRoleOr(["SCHOOL_REIMBURSEMENT_MANAGER","SCHOOL_REIMBURSEMENT_MANAGER"])) {
|
||||||
this.budgetTypeOption.map(v => {
|
this.budgetTypeOption.map(v => {
|
||||||
if (["ACTIVITY_BUDGET_TYPE_ONE"].includes(v.code)) {
|
if (["ACTIVITY_BUDGET_TYPE_ONE"].includes(v.code)) {
|
||||||
budgetTypeCloseOption.push(v)
|
budgetTypeCloseOption.push(v)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (this.$auth.hasRoleOr(["UNION_REIMBURSEMENT_MANAGER,UNION_REIMBURSEMENT_MANAGER"])) {
|
if (this.$auth.hasRoleOr(["UNION_REIMBURSEMENT_MANAGER","UNION_REIMBURSEMENT_MANAGER"])) {
|
||||||
this.budgetTypeOption.map(v => {
|
this.budgetTypeOption.map(v => {
|
||||||
if (["ACTIVITY_BUDGET_TYPE_TWO"].includes(v.code)) {
|
if (["ACTIVITY_BUDGET_TYPE_TWO"].includes(v.code)) {
|
||||||
budgetTypeCloseOption.push(v)
|
budgetTypeCloseOption.push(v)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (this.$auth.hasRoleOr(["CLUB_REIMBURSEMENT_MANAGER,CLUB_PRESIDENT"])) {
|
if (this.$auth.hasRoleOr(["CLUB_REIMBURSEMENT_MANAGER","CLUB_PRESIDENT"])) {
|
||||||
this.budgetTypeOption.map(v => {
|
this.budgetTypeOption.map(v => {
|
||||||
if (["ACTIVITY_BUDGET_TYPE_THREE"].includes(v.code)) {
|
if (["ACTIVITY_BUDGET_TYPE_THREE"].includes(v.code)) {
|
||||||
budgetTypeCloseOption.push(v)
|
budgetTypeCloseOption.push(v)
|
||||||
|
|||||||
Reference in New Issue
Block a user