|
@@ -8,6 +8,8 @@ using System.Collections.Generic;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
|
using Xamarin.Forms;
|
|
|
+using PRSClasses;
|
|
|
+using PRSSecurity = InABox.Core.Security;
|
|
|
|
|
|
namespace comal.timesheets
|
|
|
{
|
|
@@ -47,7 +49,7 @@ namespace comal.timesheets
|
|
|
{
|
|
|
Filter<Job> filter = new Filter<Job>(x => x.JobStatus.Active).IsEqualTo(true);
|
|
|
|
|
|
- if (!Security.IsAllowed<CanViewAllJobs>())
|
|
|
+ if (!PRSSecurity.IsAllowed<CanViewAllJobs>())
|
|
|
{
|
|
|
List<Guid> jobIDs = new List<Guid>();
|
|
|
CoreTable jobEmployees = new Client<JobEmployee>().Query(
|