From c8e60e9f104368b4b71eb2651d0aea5b1b341d61 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 3 Dec 2020 15:04:38 +0000 Subject: [PATCH] --- source/Plugins/AyaNova.Plugin.V8/V8.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/Plugins/AyaNova.Plugin.V8/V8.cs b/source/Plugins/AyaNova.Plugin.V8/V8.cs index 31a5868..da28337 100644 --- a/source/Plugins/AyaNova.Plugin.V8/V8.cs +++ b/source/Plugins/AyaNova.Plugin.V8/V8.cs @@ -631,24 +631,24 @@ namespace AyaNova.PlugIn.V8 switch (c.UserType) { case UserTypes.Administrator: - d.userType = 2; + d.userType = RavenUserType.NotService; break; case UserTypes.NonSchedulable: - d.userType = 2; + d.userType = RavenUserType.NotService; break; case UserTypes.Schedulable: - d.userType = 1; + d.userType = RavenUserType.Service; break; case UserTypes.Client: - d.userType = 2;//raven not service type + d.userType = RavenUserType.Customer;//raven not service type break; case UserTypes.HeadOffice: - d.userType = 2; + d.userType = RavenUserType.HeadOffice; break; } if (c.VendorID != Guid.Empty) { - d.userType = 2; + d.userType = RavenUserType.ServiceContractor; d.vendorId = Map[c.VendorID]; }