|
|
|
@ -6,18 +6,18 @@ $router->get('/', function () use ($router) {
|
|
|
|
|
|
|
|
|
|
$router->group(['prefix' => 'api', 'middleware' => 'cors'], function () use ($router) { |
|
|
|
|
$router->post('/login', 'AuthController@login'); |
|
|
|
|
// Landing Route |
|
|
|
|
// Landing Route |
|
|
|
|
$router->post('/send-email', 'AuthController@sendEmail'); |
|
|
|
|
$router->post('/company-management-user/add', 'CompanyController@add'); |
|
|
|
|
$router->post('/product-transaction/add','ProductTransactionController@add'); |
|
|
|
|
$router->post('/company-management-user/search', 'CompanyController@search'); |
|
|
|
|
$router->post('/human-resource-user/add', 'HumanResourceController@add_user'); |
|
|
|
|
$router->get('/company-management-user/edit/{id}', 'CompanyController@edit'); |
|
|
|
|
$router->post('/demo-management-user/add', 'DemoController@add'); |
|
|
|
|
$router->post('/role-user/add', 'RoleController@add'); |
|
|
|
|
$router->post('/menu-company-user/add-multiple', 'MenuCompanyController@addMultiple'); |
|
|
|
|
$router->post('/role-menu-user/add-multiple', 'RoleMenuController@addMultiple'); |
|
|
|
|
$router->post('/refferal-code/search', 'RefferalCodeController@search'); |
|
|
|
|
$router->post('/company-management-user/add', 'CompanyController@add'); |
|
|
|
|
$router->post('/product-transaction/add', 'ProductTransactionController@add'); |
|
|
|
|
$router->post('/company-management-user/search', 'CompanyController@search'); |
|
|
|
|
$router->post('/human-resource-user/add', 'HumanResourceController@add_user'); |
|
|
|
|
$router->get('/company-management-user/edit/{id}', 'CompanyController@edit'); |
|
|
|
|
$router->post('/demo-management-user/add', 'DemoController@add'); |
|
|
|
|
$router->post('/role-user/add', 'RoleController@add'); |
|
|
|
|
$router->post('/menu-company-user/add-multiple', 'MenuCompanyController@addMultiple'); |
|
|
|
|
$router->post('/role-menu-user/add-multiple', 'RoleMenuController@addMultiple'); |
|
|
|
|
$router->post('/refferal-code/search', 'RefferalCodeController@search'); |
|
|
|
|
|
|
|
|
|
$router->post('/menu/add', 'MenuController@add'); |
|
|
|
|
$router->get('/menu/edit/{id}', 'MenuController@edit'); |
|
|
|
@ -78,7 +78,7 @@ $router->group(['prefix' => 'api', 'middleware' => 'cors'], function () use ($ro
|
|
|
|
|
$router->delete('/project/delete/{id}/{company_id}', 'ProjectController@delete'); |
|
|
|
|
$router->get('/project/list', 'ProjectController@list'); |
|
|
|
|
$router->get('/project/set-baseline/{gantt_id}', 'ProjectController@setBaseline'); |
|
|
|
|
$router->get('/project/set-baseline-activity/{activity_id}/{gantt_id}', 'ProjectController@setBaselineActivity'); |
|
|
|
|
$router->get('/project/set-baseline-activity/{activity_id}/{gantt_id}', 'ProjectController@setBaselineActivity'); |
|
|
|
|
$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'); |
|
|
|
@ -369,17 +369,17 @@ $router->group(['prefix' => 'api', 'middleware' => 'cors'], function () use ($ro
|
|
|
|
|
$router->get('/project-issues/list', 'ProjectIssuesController@list'); |
|
|
|
|
$router->get('/project-issues/{where}/{val}', 'ProjectIssuesController@customWhere'); |
|
|
|
|
|
|
|
|
|
$router->get('/kanban-board/list', 'KanbanBoardController@list'); |
|
|
|
|
$router->post('/kanban-board/add', 'KanbanBoardController@add'); |
|
|
|
|
$router->put('/kanban-board/update/{id}', 'KanbanBoardController@update'); |
|
|
|
|
$router->delete('/kanban-board/delete/{id}', 'KanbanBoardController@delete'); |
|
|
|
|
$router->post('/kanban-board/search', 'KanbanBoardController@search'); |
|
|
|
|
$router->get('/kanban-board/list', 'KanbanBoardController@list'); |
|
|
|
|
$router->post('/kanban-board/add', 'KanbanBoardController@add'); |
|
|
|
|
$router->put('/kanban-board/update/{id}', 'KanbanBoardController@update'); |
|
|
|
|
$router->delete('/kanban-board/delete/{id}', 'KanbanBoardController@delete'); |
|
|
|
|
$router->post('/kanban-board/search', 'KanbanBoardController@search'); |
|
|
|
|
|
|
|
|
|
$router->get('/kanban-card/get-data/{project_id}/{gantt_id}/{board_id}', 'KanbanCardController@getData'); |
|
|
|
|
$router->post('/kanban-card/add', 'KanbanCardController@add'); |
|
|
|
|
$router->put('/kanban-card/update/{id}', 'KanbanCardController@update'); |
|
|
|
|
$router->delete('/kanban-card/delete/{id}', 'KanbanCardController@delete'); |
|
|
|
|
$router->post('/kanban-card/search', 'KanbanCardController@search'); |
|
|
|
|
$router->get('/kanban-card/get-data/{project_id}/{gantt_id}/{board_id}', 'KanbanCardController@getData'); |
|
|
|
|
$router->post('/kanban-card/add', 'KanbanCardController@add'); |
|
|
|
|
$router->put('/kanban-card/update/{id}', 'KanbanCardController@update'); |
|
|
|
|
$router->delete('/kanban-card/delete/{id}', 'KanbanCardController@delete'); |
|
|
|
|
$router->post('/kanban-card/search', 'KanbanCardController@search'); |
|
|
|
|
|
|
|
|
|
$router->post('/project-risks/add', 'ProjectRisksController@add'); |
|
|
|
|
$router->get('/project-risks/edit/{id}', 'ProjectRisksController@edit'); |
|
|
|
@ -587,5 +587,7 @@ $router->group(['prefix' => 'api', 'middleware' => 'cors'], function () use ($ro
|
|
|
|
|
$router->post('/demo-management/search', 'DemoController@search'); |
|
|
|
|
$router->delete('/demo-management/delete/{id}', 'DemoController@delete'); |
|
|
|
|
$router->get('/demo-management/list', 'DemoController@list'); |
|
|
|
|
|
|
|
|
|
$router->get('information-storage/{company_name}', 'Controller@storage'); |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|