qol: formatting
This commit is contained in:
@@ -83,7 +83,7 @@ namespace Disco.Services
|
||||
|
||||
public static string JobStatusDescription(string StatusId, Job j)
|
||||
=> JobStatusDescription(StatusId, j?.DeviceHeld, j?.JobMetaWarranty?.ExternalName, j?.JobMetaNonWarranty?.RepairerName);
|
||||
|
||||
|
||||
public static string JobStatusDescription(string StatusId, JobTableStatusItemModel j)
|
||||
=> JobStatusDescription(StatusId, j?.DeviceHeld, j?.JobMetaWarranty_ExternalName, j?.JobMetaNonWarranty_RepairerName);
|
||||
|
||||
|
||||
@@ -264,7 +264,7 @@ namespace Disco.Services
|
||||
|
||||
foreach (var j in items)
|
||||
{
|
||||
j.UserFriendlyId =j.UserId == null ? null : ActiveDirectory.FriendlyAccountId(j.UserId);
|
||||
j.UserFriendlyId = j.UserId == null ? null : ActiveDirectory.FriendlyAccountId(j.UserId);
|
||||
j.OpenedTechUserFriendlyId = ActiveDirectory.FriendlyAccountId(j.OpenedTechUserId);
|
||||
|
||||
if (j.DeviceAddressId.HasValue)
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Disco.Services.Jobs.JobQueues
|
||||
{
|
||||
public override string TaskName { get { return "Job Queues - Delete Queue"; } }
|
||||
|
||||
public override bool SingleInstanceTask { get { return false; }}
|
||||
public override bool SingleInstanceTask { get { return false; } }
|
||||
public override bool CancelInitiallySupported { get { return false; } }
|
||||
public override bool LogExceptionsOnly { get { return true; } }
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
using Disco.Data.Repository.Monitor;
|
||||
using Disco.Models.Repository;
|
||||
using Disco.Services.Authorization;
|
||||
using Disco.Services.Users;
|
||||
using Disco.Services.Web.Signalling;
|
||||
using Microsoft.AspNet.SignalR;
|
||||
using Microsoft.AspNet.SignalR.Hubs;
|
||||
@@ -9,7 +10,6 @@ using System;
|
||||
using System.Linq;
|
||||
using System.Reactive.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Disco.Services.Users;
|
||||
|
||||
namespace Disco.Services.Jobs
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace Disco.Services.Jobs.Noticeboards
|
||||
"DeviceSerialNumber",
|
||||
"UserId",
|
||||
"ExpectedClosedDate",
|
||||
"ClosedDate",
|
||||
"ClosedDate",
|
||||
"WaitingForUserAction",
|
||||
"DeviceHeld",
|
||||
"DeviceReadyForReturn",
|
||||
|
||||
Reference in New Issue
Block a user