fix: policy koordinator hilang, source_type hardcode, validasi executed_at salah kondisi
This commit is contained in:
@@ -30,13 +30,6 @@ class ActivityObserver
|
||||
return;
|
||||
}
|
||||
|
||||
if ($new === 'approved' && $activity->wasChanged('executed_at') && empty($activity->execution_notes)) {
|
||||
Notification::make()->title('Catatan pelaksanaan wajib diisi')
|
||||
->danger()->send();
|
||||
$activity->executed_at = null;
|
||||
return;
|
||||
}
|
||||
|
||||
ActivityLog::create([
|
||||
'user_id' => Auth::id(),
|
||||
'action' => 'status_changed',
|
||||
|
||||
Reference in New Issue
Block a user