diff --git a/app/Controllers/PlanController.php b/app/Controllers/PlanController.php index 8cbe5f8..4f6f3ff 100644 --- a/app/Controllers/PlanController.php +++ b/app/Controllers/PlanController.php @@ -742,6 +742,7 @@ class PlanController extends ResourceController $plan_id = $json['plan_id']; $user_id = $json['user_id']; + log_message('info', "Plan Approval triggered by user_id : {$user_id}, plan_id: {$plan_id}"); $delegation_user_id = $json['delegation_user_id'] ?? 0; if ((int)$delegation_user_id == 0) @@ -844,6 +845,7 @@ class PlanController extends ResourceController $plan_id = $json['plan_id']; $user_id = $json['user_id']; + log_message('info', "Plan Rejection triggered by user_id : {$user_id}, plan_id: {$plan_id}"); $reason = $json['reason']; $delegation_user_id = $json['delegation_user_id'] ?? 0;