This commit is contained in:
Tony Murray
2020-04-10 21:20:15 -05:00
parent 0df9872188
commit 6b166cd13a
4 changed files with 27 additions and 42 deletions
+2 -1
View File
@@ -100,7 +100,8 @@ class AlertSchedule extends Model
}
public function getEndRecurringDtAttribute() {
return $this->end->toDateString();
$end = $this->end;
return $end->year == '9000' ? null : $end->toDateString();
}
public function getEndRecurringHrAttribute() {