Enhance operations configuration and UI; add new functions for schedule upload and duty filtering
This commit is contained in:
@@ -351,10 +351,12 @@ class StagecoachScheduleParser implements ScheduleParser {
|
||||
? stations.reversed.toList()
|
||||
: List<String>.from(stations);
|
||||
|
||||
final normalizedDuty = dutyId.startsWith("2/") ? dutyId.substring(2) : dutyId;
|
||||
|
||||
return Trip(
|
||||
scheduledTime: scheduledTime,
|
||||
tripNumber: runNumber,
|
||||
dutyNumber: dutyId,
|
||||
dutyNumber: normalizedDuty,
|
||||
busWorkNumber: busWorkingNo,
|
||||
tripType: tripType,
|
||||
isFinishing: segment.contains("BUS FIN"),
|
||||
|
||||
Reference in New Issue
Block a user