|
|
@ -45,12 +45,12 @@ class ShowHideColumnController extends Controller |
|
|
|
|
|
|
|
|
|
|
|
$success = 0; |
|
|
|
$success = 0; |
|
|
|
|
|
|
|
|
|
|
|
foreach ($columns as $column) { |
|
|
|
foreach ($columns as $key => $column) { |
|
|
|
$dataAdd = array( |
|
|
|
$dataAdd = array( |
|
|
|
'version_gantt_id'=>$request->version_gantt_id, |
|
|
|
'version_gantt_id'=>$request->version_gantt_id, |
|
|
|
'user_id'=>$this->currentId, |
|
|
|
'user_id'=>$this->currentId, |
|
|
|
'column_name'=>$column, |
|
|
|
'column_name'=>$key, |
|
|
|
'show'=>true, |
|
|
|
'show'=>$column, |
|
|
|
'created_by'=>$this->currentName |
|
|
|
'created_by'=>$this->currentName |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|