fix(hse): allow soft deleting employee without losing operational history, fix simper checklist badge overflow, and enforce valid future expiry date

This commit is contained in:
Ray1111-aa
2026-11-02 14:35:24 +07:00
parent 23377631b3
commit 008e5f6b9d
12 changed files with 302 additions and 58 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ class VehicleActivity extends Model
public function driver(): BelongsTo
{
return $this->belongsTo(Employee::class, 'driver_id');
return $this->belongsTo(Employee::class, 'driver_id')->withTrashed();
}
public function gate(): BelongsTo