partial update fix redirect and add note in public, quick and pbg data
This commit is contained in:
@@ -32,7 +32,7 @@ class PbgTaskController extends Controller
|
||||
'destroyer' => $destroyer,
|
||||
'filter' => $filter,
|
||||
'filterOptions' => PbgTaskFilterData::getAllOptions(),
|
||||
]);
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -61,6 +61,7 @@ class PbgTaskController extends Controller
|
||||
'pbg_task_index_integrations',
|
||||
'pbg_task_retributions.pbg_task_prasarana',
|
||||
'pbg_task_detail',
|
||||
'pbg_status',
|
||||
'dataLists' => function($query) {
|
||||
$query->orderBy('data_type')->orderBy('name');
|
||||
}
|
||||
@@ -69,20 +70,6 @@ class PbgTaskController extends Controller
|
||||
// Group data lists by data_type for easier display
|
||||
$dataListsByType = $data->dataLists->groupBy('data_type');
|
||||
|
||||
// Debug: Log the data types found for this task
|
||||
\Log::info('PBG Task Data Lists', [
|
||||
'task_uuid' => $data->uuid,
|
||||
'total_data_lists' => $data->dataLists->count(),
|
||||
'data_types_found' => $dataListsByType->keys()->toArray(),
|
||||
'data_types_with_names' => $dataListsByType->map(function($items, $type) {
|
||||
return [
|
||||
'type' => $type,
|
||||
'name' => $items->first()->data_type_name ?? "Type {$type}",
|
||||
'count' => $items->count()
|
||||
];
|
||||
})->values()->toArray()
|
||||
]);
|
||||
|
||||
$statusOptions = PbgTaskStatus::getStatuses();
|
||||
$applicationTypes = PbgTaskApplicationTypes::labels();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user