fix change template mode; fix schedule view; minor fixes
This commit is contained in:
@@ -18,4 +18,15 @@ enum ScheduleStatus: int
|
||||
ScheduleStatus::COMPLETED => 'success',
|
||||
};
|
||||
}
|
||||
|
||||
public function borderColor(): string
|
||||
{
|
||||
return match ($this) {
|
||||
ScheduleStatus::TODO => '',
|
||||
ScheduleStatus::INCOMING => 'warning',
|
||||
ScheduleStatus::OVERDUE => 'danger',
|
||||
ScheduleStatus::COMPLETED => 'success',
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user