fix: update GoogleSheetConfig column indices for new sheet layout (Campus col 8, AssignedTo->9, Status->10, Notes->13)

This commit is contained in:
2026-09-09 10:43:00 +10:00
parent c9161e0d0e
commit 9ff8346ea5
+14 -8
View File
@@ -82,10 +82,11 @@ namespace Disco.Plugins.ServiceTracker.Models
ColRequestedBy = 5, ColRequestedBy = 5,
ColPriority = 6, ColPriority = 6,
ColPreferredDate = 7, ColPreferredDate = 7,
ColAssignedTo = 8, ColCampus = 8,
ColStatus = 9, ColAssignedTo = 9,
ColCompletionDate = 10, ColStatus = 10,
ColNotes = 11 ColCompletionDate = -1,
ColNotes = 13
} }
}; };
} }
@@ -125,6 +126,8 @@ namespace Disco.Plugins.ServiceTracker.Models
public int ColRequestedBy { get; set; } public int ColRequestedBy { get; set; }
public int ColPriority { get; set; } public int ColPriority { get; set; }
public int ColPreferredDate { get; set; } public int ColPreferredDate { get; set; }
/// <summary>Campus column (col 8). Read alongside Location/Classroom for location matching.</summary>
public int ColCampus { get; set; }
public int ColAssignedTo { get; set; } public int ColAssignedTo { get; set; }
public int ColStatus { get; set; } public int ColStatus { get; set; }
public int ColCompletionDate { get; set; } public int ColCompletionDate { get; set; }
@@ -137,16 +140,19 @@ namespace Disco.Plugins.ServiceTracker.Models
{ {
RefreshMinutes = 15; RefreshMinutes = 15;
HeaderRows = 1; HeaderRows = 1;
ColTimestamp = 0;
ColEmail = 1;
ColTask = 2; ColTask = 2;
ColIssue = 3; ColIssue = 3;
ColLocation = 4; ColLocation = 4;
ColRequestedBy = 5; ColRequestedBy = 5;
ColPriority = 6; ColPriority = 6;
ColPreferredDate = 7; ColPreferredDate = 7;
ColAssignedTo = 8; ColCampus = 8;
ColStatus = 9; ColAssignedTo = 9;
ColCompletionDate = 10; ColStatus = 10;
ColNotes = 11; ColCompletionDate = -1;
ColNotes = 13;
} }
} }
} }