This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user