@model Neo.LegitimateLicences.AdjudicationConsole.ApplicationsModel @using Neo.Afx.ComponentModel @using Neo.Afx.Security @using Neo.Afx.Mvc @using Neo.LegitimateLicences.Common; @{ var userRoles = (Profile != null && ((Neo.Afx.Security.UserProfile)Profile).Roles != null) ? ((Neo.Afx.Security.UserProfile)Profile).Roles.ToList() : null; var userSecurables = (Profile != null && ((Neo.Afx.Security.UserProfile)Profile).Securables != null) ? ((Neo.Afx.Security.UserProfile)Profile).Securables.ToList() : null; }
Application Number Application Type Member Cellphone Number Has Objections? Decision  
@if (SecurityHelper.UserHasAccessToSecurable(userSecurables, SecurableEnum.ApplicationsModule_Adjudication_Console_PrintDecisionLetter)) { Print Letter } @if (SecurityHelper.UserHasAccessToSecurable(userSecurables, SecurableEnum.ApplicationsModule_Adjudication_Console_ReverseDecision)) {   |  Reverse Decision   } @if (SecurityHelper.UserHasAccessToSecurable(userSecurables, SecurableEnum.ApplicationsModule_Adjudication_Console_RemoveApplication)) { Remove Application }