|
|
|
@ -25,13 +25,14 @@ $router->group(['prefix'=>'api', 'middleware' => 'cors'], function () use ($rout
|
|
|
|
|
|
|
|
|
|
$router->get('/dashboard/get-company-cashflow[/{year}]', 'DashboardBoDController@getCompanyCashFlow'); // project expenditure |
|
|
|
|
$router->get('/dashboard/get-invoice-outstanding[/{year}]', 'DashboardBoDController@getInvoiceOutstanding'); // project invoice vs cash in |
|
|
|
|
$router->get('/dashboard/get-project-per-schedule-health[/{year}]', 'DashboardBoDController@getProjectPerScheduleHealth'); |
|
|
|
|
$router->get('/dashboard/get-project-per-budget-health[/{year}]', 'DashboardBoDController@getProjectPerBudgetHealth'); |
|
|
|
|
$router->get('/dashboard/get-project-schedule-health-per-division[/{year}]', 'DashboardBoDController@getProjectScheduleHealthPerDivision'); |
|
|
|
|
$router->get('/dashboard/get-project-budget-health-per-division[/{year}]', 'DashboardBoDController@getProjectBudgetHealthPerDivision'); |
|
|
|
|
$router->get('/dashboard/get-project-per-phase[/{year}]', 'DashboardBoDController@getProjectPerPhase'); // todo |
|
|
|
|
$router->get('/dashboard/get-total-project-per-division[/{year}]', 'DashboardBoDController@getTotalProjectPerDivision'); // done |
|
|
|
|
$router->get('/dashboard/get-total-project-value-per-division[/{year}]', 'DashboardBoDController@getTotalProjectValuePerDivision'); // done |
|
|
|
|
$router->get('/dashboard/get-total-project-per-schedule-health[/{year}]', 'DashboardBoDController@getTotalProjectPerScheduleHealth'); |
|
|
|
|
$router->get('/dashboard/get-total-project-per-budget-health[/{year}]', 'DashboardBoDController@getTotalProjectPerBudgetHealth'); |
|
|
|
|
$router->get('/dashboard/get-total-project-schedule-health-per-division[/{year}]', 'DashboardBoDController@getTotalProjectScheduleHealthPerDivision'); |
|
|
|
|
$router->get('/dashboard/get-total-project-budget-health-per-division[/{year}]', 'DashboardBoDController@getTotalProjectBudgetHealthPerDivision'); |
|
|
|
|
$router->get('/dashboard/get-total-project-per-phase[/{year}]', 'DashboardBoDController@getTotalProjectPerPhase'); |
|
|
|
|
$router->get('/dashboard/get-total-project-per-division[/{year}]', 'DashboardBoDController@getTotalProjectPerDivision'); |
|
|
|
|
$router->get('/dashboard/get-total-project-value-per-division[/{year}]', 'DashboardBoDController@getTotalProjectValuePerDivision'); |
|
|
|
|
$router->get('/dashboard/get-detail-expenditure[/{year}]', 'DashboardBoDController@getDetailExpenditure'); |
|
|
|
|
|
|
|
|
|
$router->post('/role/search', 'RoleController@search'); |
|
|
|
|
$router->post('/role/add', 'RoleController@add'); |
|
|
|
@ -56,10 +57,25 @@ $router->group(['prefix'=>'api', 'middleware' => 'cors'], function () use ($rout
|
|
|
|
|
$router->post('/project/add', 'ProjectController@add'); |
|
|
|
|
$router->put('/project/update/{id}', 'ProjectController@update'); |
|
|
|
|
$router->get('/project/edit/{id}', 'ProjectController@edit'); |
|
|
|
|
$router->get('/project/detail/{id}', 'ProjectController@detail'); |
|
|
|
|
$router->delete('/project/delete/{id}', 'ProjectController@delete'); |
|
|
|
|
$router->get('/project/list', 'ProjectController@list'); |
|
|
|
|
$router->get('/project/dashboard/{id}', 'ProjectController@dashboard'); |
|
|
|
|
$router->get('/project/list-user/{id}', 'ProjectController@getListProjectTask'); |
|
|
|
|
$router->get('/project/set-baseline/{gantt_id}', 'ProjectController@setBaseline'); |
|
|
|
|
$router->get('/project/synchronize-report/{gantt_id}', 'ProjectController@synchronizeReport'); |
|
|
|
|
$router->get('/project/manpower/{proyek_id}', 'ProjectController@getManpower'); |
|
|
|
|
$router->get('/project/manpower/assigned/{gantt_id}', 'ProjectController@getAssignedHR'); |
|
|
|
|
|
|
|
|
|
$router->post('/project/get-s-curve', 'ProjectController@getSCurve'); |
|
|
|
|
$router->post('/project/get-overdue-activities', 'ProjectController@getOverdueActivities'); |
|
|
|
|
$router->post('/project/get-integration-invoice', 'ProjectController@getInvoiceIntegration'); |
|
|
|
|
$router->post('/project/get-report-distribution', 'ProjectController@getReportDistribution'); |
|
|
|
|
|
|
|
|
|
/* $router->get('/project/get-expenditure/{id}/{date?}', 'ProjectController@getExpenditure'); */ |
|
|
|
|
/* $router->get('/project/get-total-expenditure/{id}', 'ProjectController@getTotalExpenditure'); */ |
|
|
|
|
/* $router->get('/project/get-status-health-schedule/{id}', 'ProjectController@getStatusSchedule'); */ |
|
|
|
|
/* $router->get('/project/get-status-health-budget/{id}', 'ProjectController@getStatusBudget'); */ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$router->post('/project-charter/search', 'ProjectCharterController@search'); |
|
|
|
|
$router->post('/project-charter/add', 'ProjectCharterController@add'); |
|
|
|
|
$router->put('/project-charter/update/{id}', 'ProjectCharterController@update'); |
|
|
|
@ -176,6 +192,7 @@ $router->group(['prefix'=>'api', 'middleware' => 'cors'], function () use ($rout
|
|
|
|
|
$router->get('/user-to-activity/edit/{id}', 'UserToActivityController@edit'); |
|
|
|
|
$router->put('/user-to-activity/update/{id}', 'UserToActivityController@update'); |
|
|
|
|
$router->post('/user-to-activity/search', 'UserToActivityController@search'); |
|
|
|
|
$router->post('/user-to-activity/list-filtered', 'UserToActivityController@listFiltered'); |
|
|
|
|
$router->delete('/user-to-activity/delete/{id}', 'UserToActivityController@delete'); |
|
|
|
|
$router->get('/user-to-activity/list', 'UserToActivityController@list'); |
|
|
|
|
$router->get('/user-to-activity/datatables', 'UserToActivityController@datatables'); |
|
|
|
@ -183,16 +200,13 @@ $router->group(['prefix'=>'api', 'middleware' => 'cors'], function () use ($rout
|
|
|
|
|
$router->get('/sumVolActualM/{id}', 'ActivityController@sumVolumeActualMaterial'); |
|
|
|
|
$router->get('/activity/{id}/{proyek_id}/get', 'ActivityController@getByGanttId'); |
|
|
|
|
$router->get('/activity/search', 'ActivityController@search'); |
|
|
|
|
$router->post('/activity/import', 'ActivityController@import'); |
|
|
|
|
$router->post('/task', 'ActivityController@add'); |
|
|
|
|
$router->get('/task/edit/{id}', 'ActivityController@edit'); |
|
|
|
|
$router->put('/task/{id}', 'ActivityController@update'); |
|
|
|
|
$router->put('/task/update-regular/{id}', 'ActivityController@updateRegular'); |
|
|
|
|
$router->delete('/task/{id}', 'ActivityController@delete'); |
|
|
|
|
$router->get('/task/get-update/{id}', 'ActivityController@getUpdate'); |
|
|
|
|
$router->post('/activity/get-percentage', 'ActivityController@getPercentagePerDay'); |
|
|
|
|
$router->get('/activity/set-baseline/{gantt_id}', 'ActivityController@setBaseline'); |
|
|
|
|
$router->post('/activity/get-curva-s', 'ActivityController@getCalculateCurvaS'); |
|
|
|
|
$router->get('/activity/synchronize-report/{gantt_id}', 'ActivityController@synchronizeReport'); |
|
|
|
|
|
|
|
|
|
$router->post('/link', 'LinkController@add'); |
|
|
|
|
$router->put('/link/{id}', 'LinkController@update'); |
|
|
|
@ -220,6 +234,7 @@ $router->group(['prefix'=>'api', 'middleware' => 'cors'], function () use ($rout
|
|
|
|
|
$router->delete('/presence/delete/{id}', 'PresenceController@delete'); |
|
|
|
|
$router->get('/presence/list', 'PresenceController@list'); |
|
|
|
|
$router->get('/presence/clockinout/{id}', 'PresenceController@clockinout'); |
|
|
|
|
$router->post('/presence/reportk3', 'PresenceController@reportK3'); |
|
|
|
|
$router->get('/presence/bulk-update-location', 'PresenceController@bulkUpdateLocation'); |
|
|
|
|
|
|
|
|
|
$router->post('/permit/add', 'AbsentController@add'); |
|
|
|
@ -310,10 +325,9 @@ $router->group(['prefix'=>'api', 'middleware' => 'cors'], function () use ($rout
|
|
|
|
|
$router->get('/report-activity-material/list', 'ReportActivityMaterialController@list'); |
|
|
|
|
$router->get('/report-activity-material/datatables', 'ReportActivityMaterialController@datatables'); |
|
|
|
|
$router->post('/report-activity-material/update-status', 'ReportActivityMaterialController@updateStatusStartFinish'); |
|
|
|
|
$router->get('/report-activity-material/test', 'ReportActivityMaterialController@countForProgressTest'); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$router->post('/waypoint/add', 'WaypointController@add'); |
|
|
|
|
$router->post('/waypoint/add-bulk', 'WaypointController@addBulk'); |
|
|
|
|
$router->get('/waypoint/edit/{id}', 'WaypointController@edit'); |
|
|
|
|
$router->put('/waypoint/update/{id}', 'WaypointController@update'); |
|
|
|
|
$router->post('/waypoint/search', 'WaypointController@search'); |
|
|
|
@ -383,6 +397,7 @@ $router->group(['prefix'=>'api', 'middleware' => 'cors'], function () use ($rout
|
|
|
|
|
$router->get('/gantt-show-hide/get-by-gantt/{gantt_id}', 'ShowHideColumnController@getByUserGantt'); |
|
|
|
|
$router->post('/gantt-show-hide/add', 'ShowHideColumnController@add'); |
|
|
|
|
$router->post('/gantt-show-hide/update/{gantt_id}', 'ShowHideColumnController@update'); |
|
|
|
|
$router->get('/gantt-show-hide/get-column-by-type/{type}', 'ShowHideColumnController@getColumnByType'); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$router->post('/shift/add', 'ShiftController@add'); |
|
|
|
@ -418,6 +433,12 @@ $router->group(['prefix'=>'api', 'middleware' => 'cors'], function () use ($rout
|
|
|
|
|
$router->post('/project-to-checklist-k3/search', 'ProjectToChecklistK3Controller@search'); |
|
|
|
|
$router->delete('/project-to-checklist-k3/delete/{id}', 'ProjectToChecklistK3Controller@delete'); |
|
|
|
|
$router->get('/project-to-checklist-k3/list', 'ProjectToChecklistK3Controller@list'); |
|
|
|
|
|
|
|
|
|
$router->post('/project-comment/add', 'ProjectCommentController@add'); |
|
|
|
|
$router->put('/project-comment/update/{id}', 'ProjectCommentController@update'); |
|
|
|
|
$router->post('/project-comment/search', 'ProjectCommentController@search'); |
|
|
|
|
|
|
|
|
|
$router->post('/map-monitoring/search', 'MapMonitoringController@search'); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
}); |
|
|
|
|