|
@@ -352,6 +352,7 @@ class Objective2Controller extends \BaseController
|
352
|
352
|
|
353
|
353
|
$clean_input = $this->cleanAssocInput();
|
354
|
354
|
|
|
355
|
+
|
355
|
356
|
Log::info(print_r($clean_input, true));
|
356
|
357
|
|
357
|
358
|
/** Validation rules */
|
|
@@ -395,10 +396,10 @@ class Objective2Controller extends \BaseController
|
395
|
396
|
|
396
|
397
|
// Set status
|
397
|
398
|
|
398
|
|
-
|
|
399
|
+ Log::info("dimelo papi");
|
399
|
400
|
/** If Objective is updated, send success message */
|
400
|
401
|
if ($Objective->save()) {
|
401
|
|
-
|
|
402
|
+ Log::info("dimelo papi2");
|
402
|
403
|
$objectiveId = $Objective->id;
|
403
|
404
|
DB::delete("delete from `objective_outcome` where objective_id ={$objectiveId}");
|
404
|
405
|
DB::delete("delete from objective_program where objective_id = {$objectiveId}");
|