get('/', function () use ($router) { return $router->app->version(); }); $router->group(['prefix' => 'api', 'middleware' => 'cors'], function () use ($router) { $router->post('/login', 'AuthController@login'); $router->post('/menu/add', 'MenuController@add'); $router->get('/menu/edit/{id}', 'MenuController@edit'); $router->put('/menu/update/{id}', 'MenuController@update'); $router->delete('/menu/delete/{id}', 'MenuController@delete'); $router->post('/menu/search', 'MenuController@search'); $router->get('/menu/management/{id}', 'MenuController@listMenu'); $router->get('/menu/list', 'MenuController@list'); $router->post('/role-menu/add', 'RoleMenuController@add'); $router->put('/role-menu/update/{id}', 'RoleMenuController@update'); $router->delete('/role-menu/delete/{id}', 'RoleMenuController@delete'); $router->delete('/role-menu/delete-byrole/{id}', 'RoleMenuController@deleteByRole'); $router->post('/role-menu/search', 'RoleMenuController@search'); $router->get('/role-menu/get-role/{id}', 'RoleMenuController@listMenu'); $router->group(['middleware' => ['auth', 'cors']], function () use ($router) { $router->get('/dashboard/get-company-cashflow/{company_id}/{all_project}/{hierarchy}/{role_name}', 'DashboardBoDController@getCompanyCashFlow'); // project expenditure $router->get('/dashboard/get-invoice-outstanding/{company_id}/{all_project}/{hierarchy}/{role_name}', 'DashboardBoDController@getInvoiceOutstanding'); // project invoice vs cash in $router->get('/dashboard/get-total-project-per-schedule-health/{company_id}/{all_project}/{hierarchy}/{role_name}', 'DashboardBoDController@getTotalProjectPerScheduleHealth'); $router->get('/dashboard/get-total-project-per-budget-health/{company_id}/{all_project}/{hierarchy}/{role_name}', 'DashboardBoDController@getTotalProjectPerBudgetHealth'); $router->get('/dashboard/get-total-project-schedule-health-per-division/{company_id}/{all_project}/{hierarchy}/{role_name}', 'DashboardBoDController@getTotalProjectScheduleHealthPerDivision'); $router->get('/dashboard/get-total-project-budget-health-per-division/{company_id}/{all_project}/{hierarchy}/{role_name}', 'DashboardBoDController@getTotalProjectBudgetHealthPerDivision'); $router->get('/dashboard/get-total-project-per-phase/{company_id}/{all_project}/{hierarchy}/{role_name}', 'DashboardBoDController@getTotalProjectPerPhase'); $router->get('/dashboard/get-total-project-per-division/{company_id}/{all_project}/{hierarchy}/{role_name}', 'DashboardBoDController@getTotalProjectPerDivision'); $router->get('/dashboard/get-total-project-value-per-division/{company_id}/{all_project}/{hierarchy}/{role_name}', 'DashboardBoDController@getTotalProjectValuePerDivision'); $router->get('/dashboard/get-detail-expenditure/{company_id}/{all_project}/{hierarchy}/{role_name}', 'DashboardBoDController@getDetailExpenditure'); $router->get('/dashboard/get-detail-expenditure-color/{company_id}/{role_name}', 'DashboardBoDController@getDetailExpenditureColor'); $router->get('/dashboard/get-detail-financial-health-color/{company_id}/{role_name}', 'DashboardBoDController@getDetailFinancialHealthColor'); $router->get('/dashboard/get-detail-schedule-health-color/{company_id}/{role_name}', 'DashboardBoDController@getDetailScheduleHealthColor'); $router->get('/dashboard/get-detail-invoice-color/{company_id}/{role_name}', 'DashboardBoDController@getDetailInvoiceColor'); $router->post('/role/search', 'RoleController@search'); $router->post('/role/add', 'RoleController@add'); $router->get('/role/edit/{id}', 'RoleController@edit'); $router->put('/role/update/{id}', 'RoleController@update'); $router->delete('/role/delete/{id}', 'RoleController@delete'); $router->get('/role/list', 'RoleController@list'); $router->post('/document-project/upload', 'ProjectDokumenController@uploadProjectDokumen'); $router->get('/document-project/get/{id}', 'ProjectDokumenController@dokumenByProyekId'); $router->delete('/document-project/delete/{id}', 'ProjectDokumenController@delete'); $router->post('/document-project/search', 'ProjectDokumenController@searchDocProject'); $router->get('/document-project/download/{id}', 'ProjectDokumenController@downloadDokumen'); $router->post('/document-activity/upload', 'ActivityDokumenController@uploadProjectDokumen'); $router->get('/document-activity/get/{id}', 'ActivityDokumenController@dokumenByActivityId'); $router->delete('/document-activity/delete/{id}', 'ActivityDokumenController@delete'); $router->post('/document-activity/search', 'ActivityDokumenController@searchDocProject'); $router->get('/document-activity/download/{id}', 'ActivityDokumenController@downloadDokumen'); $router->get('/project-by-customer/{id}', 'ProjectController@getByUser'); $router->post('/project/search', 'ProjectController@search'); $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}[/{gantt_id}[/{s_curve}]]', 'ProjectController@detail'); $router->delete('/project/delete/{id}', 'ProjectController@delete'); $router->get('/project/list', 'ProjectController@list'); $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/calculate-s-curve', 'ProjectController@calculateSCurve'); $router->post('/project/s-curve-command', 'ProjectController@sCurveCommand'); $router->post('/project/s-curve-command-test', 'ProjectController@calculateSCurvetest'); $router->post('/project/get-linear-s-curve', 'ProjectController@getLinearSCurve'); $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->get('/project-carausell/{company_id}/{all_project}/{hierarchy}', 'ProjectCarausellController@invoke'); $router->post('/project-charter/search', 'ProjectCharterController@search'); $router->post('/project-charter/add', 'ProjectCharterController@add'); $router->put('/project-charter/update/{id}', 'ProjectCharterController@update'); $router->post('/divisi/add', 'DivisiController@add'); $router->get('/divisi/edit/{id}', 'DivisiController@edit'); $router->put('/divisi/update/{id}', 'DivisiController@update'); $router->post('/divisi/search', 'DivisiController@search'); $router->delete('/divisi/delete/{id}', 'DivisiController@delete'); $router->get('/divisi/list', 'DivisiController@list'); $router->post('/config-alert/search', 'ConfigAlertController@search'); $router->post('/config-alert/add', 'ConfigAlertController@add'); $router->get('/config-alert/edit/{id}', 'ConfigAlertController@edit'); $router->put('/config-alert/update/{id}', 'ConfigAlertController@update'); $router->delete('/config-alert/delete/{id}', 'ConfigAlertController@delete'); $router->get('/config-alert/list', 'ConfigAlertController@list'); $router->post('/config-alert-to-user/search', 'ConfigAlertUserController@search'); $router->post('/config-alert-to-user/add', 'ConfigAlertUserController@add'); $router->put('/config-alert-to-user/update/{id}', 'ConfigAlertUserController@update'); $router->delete('/config-alert-to-user/delete/{id}', 'ConfigAlertUserController@delete'); $router->get('/config-alert/get-user/{id}', 'ConfigAlertUserController@getConfigUser'); $router->post('/human-resource/search', 'HumanResourceController@search'); $router->post('/human-resource/add', 'HumanResourceController@add'); $router->get('/human-resource/edit/{id}', 'HumanResourceController@edit'); $router->put('/human-resource/update/{id}', 'HumanResourceController@update'); $router->delete('/human-resource/delete/{id}', 'HumanResourceController@delete'); $router->get('/human-resource/list', 'HumanResourceController@list'); $router->get('/human-resource/select', 'HumanResourceController@select'); $router->post('/human-resource/check-old-password/{id}', 'HumanResourceController@checkOldPassword'); $router->get('/human-resource/sync', 'HumanResourceController@sync'); $router->post('/project-role/search', 'ProjectRoleController@search'); $router->post('/project-role/add', 'ProjectRoleController@add'); $router->get('/project-role/edit/{id}', 'ProjectRoleController@edit'); $router->put('/project-role/update/{id}', 'ProjectRoleController@update'); $router->delete('/project-role/delete/{id}', 'ProjectRoleController@delete'); $router->get('/project-role/list', 'ProjectRoleController@list'); $router->get('/project-role/select', 'ProjectRoleController@select'); $router->post('/project-type/search', 'ProjectTypeController@search'); $router->post('/project-type/add', 'ProjectTypeController@add'); $router->get('/project-type/edit/{id}', 'ProjectTypeController@edit'); $router->put('/project-type/update/{id}', 'ProjectTypeController@update'); $router->delete('/project-type/delete/{id}', 'ProjectTypeController@delete'); $router->get('/project-type/list', 'ProjectTypeController@list'); $router->post('/project-phase/search', 'ProjectPhaseController@search'); $router->post('/project-phase/add', 'ProjectPhaseController@add'); $router->get('/project-phase/edit/{id}', 'ProjectPhaseController@edit'); $router->put('/project-phase/update/{id}', 'ProjectPhaseController@update'); $router->delete('/project-phase/delete/{id}', 'ProjectPhaseController@delete'); $router->get('/project-phase/list', 'ProjectPhaseController@list'); $router->post('/project-expenditure/add', 'ProjectExpenditureController@add'); $router->post('/project-expenditure/search', 'ProjectExpenditureController@search'); $router->get('/project-expenditure/edit/{id}', 'ProjectExpenditureController@edit'); $router->put('/project-expenditure/update/{id}', 'ProjectExpenditureController@update'); $router->delete('/project-expenditure/delete/{id}', 'ProjectExpenditureController@delete'); $router->post('/project-financial-health/add', 'ProjectFinancialHealthController@add'); $router->post('/project-financial-health/search', 'ProjectFinancialHealthController@search'); $router->get('/project-financial-health/edit/{id}', 'ProjectFinancialHealthController@edit'); $router->put('/project-financial-health/update/{id}', 'ProjectFinancialHealthController@update'); $router->delete('/project-financial-health/delete/{id}', 'ProjectFinancialHealthController@delete'); $router->post('/project-schedule-health/add', 'ProjectScheduleHealthController@add'); $router->post('/project-schedule-health/search', 'ProjectScheduleHealthController@search'); $router->get('/project-schedule-health/edit/{id}', 'ProjectScheduleHealthController@edit'); $router->put('/project-schedule-health/update/{id}', 'ProjectScheduleHealthController@update'); $router->delete('/project-schedule-health/delete/{id}', 'ProjectScheduleHealthController@delete'); $router->post('/project-invoice/add', 'ProjectInvoiceController@add'); $router->post('/project-invoice/search', 'ProjectInvoiceController@search'); $router->get('/project-invoice/edit/{id}', 'ProjectInvoiceController@edit'); $router->put('/project-invoice/update/{id}', 'ProjectInvoiceController@update'); $router->delete('/project-invoice/delete/{id}', 'ProjectInvoiceController@delete'); $router->post('/user-to-project/assign', 'UserProyekController@assignUserProyek'); $router->post('/request-material/add', 'RequestMaterialController@add'); $router->post('/request-material/search', 'RequestMaterialController@search'); $router->get('/request-material/edit/{id}', 'RequestMaterialController@edit'); $router->put('/request-material/update/{id}', 'RequestMaterialController@update'); $router->delete('/request-material/delete/{id}', 'RequestMaterialController@delete'); $router->get('/request-material/list', 'RequestMaterialController@list'); $router->get('/request-material/get-material-integration', 'RequestMaterialController@getMaterialIntegration'); $router->put('/request-material/update-warehouse-site/{id}', 'RequestMaterialController@updateWarehouseSite'); $router->post('/material-to-project/assign', 'MaterialProjectController@assignMaterial'); $router->post('/material-resource/add', 'MaterialResourceController@add'); $router->post('/material-resource/search', 'MaterialResourceController@search'); $router->get('/material-resource/update/{id}', 'MaterialResourceController@edit'); $router->put('/material-resource/update/{id}', 'MaterialResourceController@update'); $router->delete('/material-resource/delete/{id}', 'MaterialResourceController@delete'); $router->get('/material-resource/list', 'MaterialResourceController@list'); $router->get('/material-resource/select', 'MaterialResourceController@select'); $router->post('/tools-to-project/assign', 'ToolsProjectController@assignTools'); $router->get('/tools-to-project/search', 'ToolsProjectController@searchTools'); $router->post('/tools-resource/add', 'ToolsResourceController@add'); $router->post('/tools-resource/search', 'ToolsResourceController@search'); $router->get('/tools-resource/edit/{id}', 'ToolsResourceController@edit'); $router->put('/tools-resource/update/{id}', 'ToolsResourceController@update'); $router->delete('/tools-resource/delete/{id}', 'ToolsResourceController@delete'); $router->get('/tools-resource/list', 'ToolsResourceController@list'); $router->get('/tools-resource/select', 'ToolsResourceController@select'); $router->post('/req-tools/add', 'ToolsRequestController@add'); $router->get('/req-tools/edit/{id}', 'ToolsRequestController@edit'); $router->put('/req-tools/update/{id}', 'ToolsRequestController@update'); $router->post('/req-tools/search', 'ToolsRequestController@search'); $router->delete('/req-tools/delete/{id}', 'ToolsRequestController@delete'); $router->get('/req-tools/list', 'ToolsRequestController@list'); $router->post('/version-gantt/add', 'VersionGanttController@add'); $router->get('/version-gantt/edit/{id}', 'VersionGanttController@edit'); $router->put('/version-gantt/update/{id}', 'VersionGanttController@update'); $router->post('/version-gantt/search', 'VersionGanttController@search'); $router->delete('/version-gantt/delete/{id}', 'VersionGanttController@delete'); $router->get('/version-gantt/list', 'VersionGanttController@list'); $router->post('/user-to-version-gantt/add', 'UserToVersionGanttController@add'); $router->post('/user-to-version-gantt/add-multiple', 'UserToVersionGanttController@addMultiple'); $router->get('/user-to-version-gantt/edit/{id}', 'UserToVersionGanttController@edit'); $router->put('/user-to-version-gantt/update/{id}', 'UserToVersionGanttController@update'); $router->post('/user-to-version-gantt/search', 'UserToVersionGanttController@search'); $router->delete('/user-to-version-gantt/delete/{id}', 'UserToVersionGanttController@delete'); $router->get('/user-to-version-gantt/list', 'UserToVersionGanttController@list'); $router->get('/user-to-version-gantt/get-by-gantt/{gantt_id}', 'UserToVersionGanttController@getByUserGantt'); $router->post('/user-to-activity/add', 'UserToActivityController@add'); $router->post('/user-to-activity/add-multiple', 'UserToActivityController@addMultiple'); $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/search-analysis', 'UserToActivityController@searchAnalysis'); $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'); $router->get('/sumVolActualM/{id}', 'ActivityController@sumVolumeActualMaterial'); $router->get('/activity/{id}/{proyek_id}/get', 'ActivityController@getByGanttId'); $router->post('/activity/search', 'ActivityController@search'); $router->post('/activity/search-analysis', 'ActivityController@searchAnalysis'); $router->post('/activity/search-analysis-prep', 'ActivityController@searchAnalysisPrep'); $router->post('/activity/import', 'ActivityController@import'); $router->post('/activity/import-update', 'ActivityController@importUpdate'); $router->post('/activity/import-old', 'ActivityController@importOld'); $router->post('/activity/batch-update/{ganttId}', 'ActivityController@batchUpdate'); $router->get('/activity/update-schedule/{ganttId}', 'ActivityController@updateSchedule'); $router->get('/activity/s-curve/{proyek_id}/{gantt_id}', 'ActivityController@activitySCurve'); $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('/tmp-import/upload', 'ActivityController@uploadTmpImport'); $router->post('/link', 'LinkController@add'); $router->put('/link/{id}', 'LinkController@update'); $router->delete('/link/{id}', 'LinkController@delete'); $router->post('/template-gantt/add', 'TemplateGanttController@add'); $router->get('/template-gantt/edit/{id}', 'TemplateGanttController@edit'); $router->put('/template-gantt/update/{id}', 'TemplateGanttController@update'); $router->post('/template-gantt/search', 'TemplateGanttController@search'); $router->delete('/template-gantt/delete/{id}', 'TemplateGanttController@delete'); $router->get('/template-gantt/list', 'TemplateGanttController@list'); $router->get('/template-gantt/get-tree/{id}', 'TemplateGanttController@getTreeByTypeProject'); $router->post('/comment-activity/add', 'CommentActivityController@add'); $router->get('/comment-activity/edit/{id}', 'CommentActivityController@edit'); $router->put('/comment-activity/update/{id}', 'CommentActivityController@update'); $router->post('/comment-activity/search', 'CommentActivityController@search'); $router->delete('/comment-activity/delete/{id}', 'CommentActivityController@delete'); $router->get('/comment-activity/list', 'CommentActivityController@list'); $router->post('/presence/add', 'PresenceController@add'); $router->post('/presence/test', 'PresenceController@checkLocationTest'); $router->get('/presence/edit/{id}', 'PresenceController@edit'); $router->put('/presence/update/{id}', 'PresenceController@update'); $router->post('/presence/search', 'PresenceController@search'); $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'); $router->get('/permit/edit/{id}', 'AbsentController@edit'); $router->put('/permit/update/{id}', 'AbsentController@update'); $router->post('/permit/search', 'AbsentController@search'); $router->delete('/permit/delete/{id}', 'AbsentController@delete'); $router->get('/permit/list', 'AbsentController@list'); $router->post('/assign-tools/add', 'AssignToolsController@add'); $router->get('/assign-tools/edit/{id}', 'AssignToolsController@edit'); $router->put('/assign-tools/update/{id}', 'AssignToolsController@update'); $router->post('/assign-tools/search', 'AssignToolsController@search'); $router->delete('/assign-tools/delete/{id}', 'AssignToolsController@delete'); $router->get('/assign-tools/list', 'AssignToolsController@list'); $router->get('/assign-tools/datatables', 'AssignToolsController@datatables'); $router->post('/assign-material/add', 'AssignMaterialController@add'); $router->get('/assign-material/edit/{id}', 'AssignMaterialController@edit'); $router->put('/assign-material/update/{id}', 'AssignMaterialController@update'); $router->post('/assign-material/search', 'AssignMaterialController@search'); $router->delete('/assign-material/delete/{id}', 'AssignMaterialController@delete'); $router->get('/assign-material/list', 'AssignMaterialController@list'); $router->get('/assign-material/datatables', 'AssignMaterialController@datatables'); $router->get('/assign-material/datatablesForReportActivity', 'AssignMaterialController@datatablesForReportActivity'); $router->post('/assign-material/ForReportActivityByMaterial', 'AssignMaterialController@ForReportActivityByMaterial'); $router->post('/image/search', 'ImageController@search'); $router->delete('/image/delete/{id}', 'ImageController@delete'); $router->delete('/image/delete/{id}/{category}', 'ImageController@deleteByRef'); $router->post('/image/upload', 'ImageController@uploadImage'); $router->get('/image/{id}/{category}', 'ImageController@getByRefId'); $router->post('/panic-button/add', 'PanicButtonController@add'); $router->get('/panic-button/edit/{id}', 'PanicButtonController@edit'); $router->put('/panic-button/update/{id}', 'PanicButtonController@update'); $router->post('/panic-button/search', 'PanicButtonController@search'); $router->delete('/panic-button/delete/{id}', 'PanicButtonController@delete'); $router->get('/panic-button/list', 'PanicButtonController@list'); $router->post('/rate-sallary/add', 'RateSallaryController@add'); $router->get('/rate-sallary/edit/{id}', 'RateSallaryController@edit'); $router->put('/rate-sallary/update/{id}', 'RateSallaryController@update'); $router->post('/rate-sallary/search', 'RateSallaryController@search'); $router->delete('/rate-sallary/delete/{id}', 'RateSallaryController@delete'); $router->get('/rate-sallary/list', 'RateSallaryController@list'); $router->post('/project-checklists/add', 'ProjectChecklistsController@add'); $router->get('/project-checklists/edit/{id}', 'ProjectChecklistsController@edit'); $router->put('/project-checklists/update/{id}', 'ProjectChecklistsController@update'); $router->post('/project-checklists/search', 'ProjectChecklistsController@search'); $router->delete('/project-checklists/delete/{id}', 'ProjectChecklistsController@delete'); $router->delete('/project-checklists/delete-by-proyek/{id}', 'ProjectChecklistsController@deleteByProyek'); $router->get('/project-checklists/list', 'ProjectChecklistsController@list'); $router->get('/project-checklists/{where}/{val}', 'ProjectChecklistsController@customWhere'); $router->post('/project-issues/add', 'ProjectIssuesController@add'); $router->get('/project-issues/edit/{id}', 'ProjectIssuesController@edit'); $router->put('/project-issues/update/{id}', 'ProjectIssuesController@update'); $router->post('/project-issues/search', 'ProjectIssuesController@search'); $router->delete('/project-issues/delete/{id}', 'ProjectIssuesController@delete'); $router->delete('/project-issues/delete-by-proyek/{id}', 'ProjectIssuesController@deleteByProyek'); $router->get('/project-issues/list', 'ProjectIssuesController@list'); $router->get('/project-issues/{where}/{val}', 'ProjectIssuesController@customWhere'); $router->post('/project-risks/add', 'ProjectRisksController@add'); $router->get('/project-risks/edit/{id}', 'ProjectRisksController@edit'); $router->put('/project-issues/update/{id}', 'ProjectRisksController@update'); $router->post('/project-risks/search', 'ProjectRisksController@search'); $router->delete('/project-risks/delete/{id}', 'ProjectRisksController@delete'); $router->delete('/project-risks/delete-by-proyek/{id}', 'ProjectRisksController@deleteByProyek'); $router->get('/project-risks/list', 'ProjectRisksController@list'); $router->get('/project-risks/{where}/{val}', 'ProjectRisksController@customWhere'); $router->post('/project-participants/add', 'ProjectParticipantsController@add'); $router->get('/project-participants/edit/{id}', 'ProjectParticipantsController@edit'); $router->put('/project-participants/update/{id}', 'ProjectParticipantsController@update'); $router->post('/project-participants/search', 'ProjectParticipantsController@search'); $router->delete('/project-participants/delete/{id}', 'ProjectParticipantsController@delete'); $router->delete('/project-participants/delete-by-proyek/{id}', 'ProjectParticipantsController@deleteByProyek'); $router->get('/project-participants/list', 'ProjectParticipantsController@list'); $router->get('/project-participants/{where}/{val}', 'ProjectParticipantsController@customWhere'); $router->post('/project-approval/add', 'ProjectApprovalController@add'); $router->get('/project-approval/edit/{id}', 'ProjectApprovalController@edit'); $router->put('/project-approval/update/{id}', 'ProjectApprovalController@update'); $router->post('/project-approval/search', 'ProjectApprovalController@search'); $router->delete('/project-approval/delete/{id}', 'ProjectApprovalController@delete'); $router->delete('/project-approval/delete-by-proyek/{id}', 'ProjectApprovalController@deleteByProyek'); $router->get('/project-approval/list', 'ProjectApprovalController@list'); $router->get('/project-approval/{where}/{val}', 'ProjectApprovalController@customWhere'); $router->post('/project-milestone/add', 'ProjectMileStoneController@add'); $router->get('/project-milestone/edit/{id}', 'ProjectMileStoneController@edit'); $router->put('/project-milestone/update/{id}', 'ProjectMileStoneController@update'); $router->post('/project-milestone/search', 'ProjectMileStoneController@search'); $router->delete('/project-milestone/delete/{id}', 'ProjectMileStoneController@delete'); $router->delete('/project-milestone/delete-by-proyek/{id}', 'ProjectMileStoneController@deleteByProyek'); $router->get('/project-milestone/list', 'ProjectMileStoneController@list'); $router->get('/project-milestone/select', 'ProjectMileStoneController@select'); $router->get('/project-milestone/{where}/{val}', 'ProjectMileStoneController@customWhere'); $router->post('/report-activity/add', 'ReportActivityController@add'); $router->get('/report-activity/edit/{id}', 'ReportActivityController@edit'); $router->put('/report-activity/update/{id}', 'ReportActivityController@update'); $router->post('/report-activity/search', 'ReportActivityController@search'); $router->delete('/report-activity/delete/{id}', 'ReportActivityController@delete'); $router->get('/report-activity/list', 'ReportActivityController@list'); $router->post('/report-activity/search-point', 'ReportActivityController@searchPoint'); $router->get('/report-activity/datatables', 'ReportActivityController@datatables'); $router->post('/report-activity-material/add', 'ReportActivityMaterialController@add'); $router->post('/report-activity-material/search', 'ReportActivityMaterialController@search'); $router->delete('/report-activity-material/delete/{id}', 'ReportActivityMaterialController@delete'); $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->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'); $router->delete('/waypoint/delete/{id}', 'WaypointController@delete'); $router->get('/waypoint/list', 'WaypointController@list'); $router->post('/holiday/add', 'HolidayController@add'); $router->get('/holiday/edit/{id}', 'HolidayController@edit'); $router->put('/holiday/update/{id}', 'HolidayController@update'); $router->post('/holiday/search', 'HolidayController@search'); $router->delete('/holiday/delete/{id}', 'HolidayController@delete'); $router->get('/holiday/list', 'HolidayController@list'); $router->get('/holiday/datatables', 'HolidayController@datatables'); $router->post('/satuan/add', 'SatuanController@add'); $router->get('/satuan/edit/{id}', 'SatuanController@edit'); $router->put('/satuan/update/{id}', 'SatuanController@update'); $router->post('/satuan/search', 'SatuanController@search'); $router->delete('/satuan/delete/{id}', 'SatuanController@delete'); $router->get('/satuan/list', 'SatuanController@list'); $router->post('/checklist-k3/add', 'ChecklistK3Controller@add'); $router->get('/checklist-k3/edit/{id}', 'ChecklistK3Controller@edit'); $router->put('/checklist-k3/update/{id}', 'ChecklistK3Controller@update'); $router->post('/checklist-k3/search', 'ChecklistK3Controller@search'); $router->delete('/checklist-k3/delete/{id}', 'ChecklistK3Controller@delete'); $router->get('/checklist-k3/list', 'ChecklistK3Controller@list'); $router->post('/report-k3/add', 'ReportK3Controller@add'); $router->get('/report-k3/edit/{id}', 'ReportK3Controller@edit'); $router->put('/report-k3/update/{id}', 'ReportK3Controller@update'); $router->post('/report-k3/search', 'ReportK3Controller@search'); $router->delete('/report-k3/delete/{id}', 'ReportK3Controller@delete'); $router->get('/report-k3/list', 'ReportK3Controller@list'); $router->post('/report-k3-detail/add', 'ReportK3DetailController@add'); $router->get('/report-k3-detail/edit/{id}', 'ReportK3DetailController@edit'); $router->put('/report-k3-detail/update/{id}', 'ReportK3DetailController@update'); $router->post('/report-k3-detail/search', 'ReportK3DetailController@search'); $router->delete('/report-k3-detail/delete/{id}', 'ReportK3DetailController@delete'); $router->get('/report-k3-detail/list', 'ReportK3DetailController@list'); $router->post('/user-to-proyek/add', 'UserToProyekController@add'); $router->post('/user-to-proyek/add-multiple', 'UserToProyekController@addMultiple'); $router->get('/user-to-proyek/edit/{id}', 'UserToProyekController@edit'); $router->put('/user-to-proyek/update/{id}', 'UserToProyekController@update'); $router->post('/user-to-proyek/search', 'UserToProyekController@search'); $router->delete('/user-to-proyek/delete/{id}', 'UserToProyekController@delete'); $router->get('/user-to-proyek/list', 'UserToProyekController@list'); $router->get('/user-to-proyek/select', 'UserToProyekController@select'); $router->get('/user-to-proyek/get-employee-integration', 'UserToProyekController@getEmployeeIntegration'); $router->post('/folder-document-proyek/add', 'FolderDocumentProyekController@add'); $router->get('/folder-document-proyek/edit/{id}', 'FolderDocumentProyekController@edit'); $router->put('/folder-document-proyek/update/{id}', 'FolderDocumentProyekController@update'); $router->post('/folder-document-proyek/search', 'FolderDocumentProyekController@search'); $router->delete('/folder-document-proyek/delete/{id}', 'FolderDocumentProyekController@delete'); $router->get('/folder-document-proyek/list', 'FolderDocumentProyekController@list'); $router->get('/folder-document-proyek/get-tree/{id}', 'FolderDocumentProyekController@getTree'); $router->post('/office-hours/add', 'OfficeHoursController@add'); $router->get('/office-hours/edit/{id}', 'OfficeHoursController@edit'); $router->put('/office-hours/update/{id}', 'OfficeHoursController@update'); $router->post('/office-hours/search', 'OfficeHoursController@search'); $router->delete('/office-hours/delete/{id}', 'OfficeHoursController@delete'); $router->get('/office-hours/list', 'OfficeHoursController@list'); $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'); $router->get('/shift/edit/{id}', 'ShiftController@edit'); $router->put('/shift/update/{id}', 'ShiftController@update'); $router->post('/shift/search', 'ShiftController@search'); $router->delete('/shift/delete/{id}', 'ShiftController@delete'); $router->get('/shift/list', 'ShiftController@list'); $router->post('/user-monthly-shift/add', 'UserMonthlyShiftController@add'); $router->put('/user-monthly-shift/update/{id}', 'UserMonthlyShiftController@update'); $router->post('/user-monthly-shift/search', 'UserMonthlyShiftController@search'); $router->delete('/user-monthly-shift/delete/{id}', 'UserMonthlyShiftController@delete'); $router->delete('/user-monthly-shift/delete-at/{yyyymm}', 'UserMonthlyShiftController@deleteYYYYMM'); $router->get('/user-monthly-shift/list', 'UserMonthlyShiftController@list'); $router->post('/user-monthly-shift/import', 'UserMonthlyShiftController@import'); $router->get('/user-monthly-shift/list/{yyyymm}', 'UserMonthlyShiftController@listYYYYMM'); $router->post('/user-to-shift/add', 'UserToShiftController@add'); $router->get('/user-to-shift/edit/{id}', 'UserToShiftController@edit'); $router->put('/user-to-shift/update/{id}', 'UserToShiftController@update'); $router->post('/user-to-shift/search', 'UserToShiftController@search'); $router->delete('/user-to-shift/delete/{id}', 'UserToShiftController@delete'); $router->get('/user-to-shift/list', 'UserToShiftController@list'); $router->post('/control-monitoring/search', 'ControlMonitoringController@search'); $router->get('/currency/list', 'CurrencyController@list'); $router->post('/project-to-checklist-k3/add', 'ProjectToChecklistK3Controller@add'); $router->post('/project-to-checklist-k3/add-multiple', 'ProjectToChecklistK3Controller@addMultiple'); $router->get('/project-to-checklist-k3/edit/{id}', 'ProjectToChecklistK3Controller@edit'); $router->put('/project-to-checklist-k3/update/{id}', 'ProjectToChecklistK3Controller@update'); $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->get('/hierarchy-ftths', 'HierarchyFtthController@index'); $router->post('/hierarchy-ftths', 'HierarchyFtthController@store'); $router->post('/hierarchy-ftths/search', 'HierarchyFtthController@search'); $router->get('/hierarchy-ftths/{id}', 'HierarchyFtthController@show'); $router->put('/hierarchy-ftths/{id}', 'HierarchyFtthController@update'); $router->delete('/hierarchy-ftths/{id}', 'HierarchyFtthController@destroy'); $router->get('/hierarchy-ftths/tree/{project_id}', 'HierarchyFtthController@getTreeByProject'); $router->get('/hierarchy-ftths/count-tree/{hierarchy_id}', 'HierarchyFtthController@countProgressTree'); $router->get('/hierarchy-ftths/tree-gantt/{gantt_id}', 'HierarchyFtthController@getTreeByGantt'); $router->post('/map-monitoring/search', 'MapMonitoringController@search'); $router->post('/broadcast/add', 'BroadcastController@add'); $router->get('/broadcast/edit/{id}', 'BroadcastController@edit'); $router->put('/broadcast/update/{id}', 'BroadcastController@update'); $router->post('/broadcast/search', 'BroadcastController@search'); $router->delete('/broadcast/delete/{id}', 'BroadcastController@delete'); $router->get('/broadcast/list', 'BroadcastController@list'); $router->post('/company-management/add', 'CompanyController@add'); $router->get('/company-management/edit/{id}', 'CompanyController@edit'); $router->put('/company-management/update/{id}', 'CompanyController@update'); $router->post('/company-management/search', 'CompanyController@search'); $router->delete('/company-management/delete/{id}', 'CompanyController@delete'); $router->get('/company-management/list', 'CompanyController@list'); $router->post('/menu-company/add-multiple', 'MenuCompanyController@addMultiple'); $router->get('/menu-company/edit/{id}', 'MenuCompanyController@edit'); $router->put('/menu-company/update/{id}', 'MenuCompanyController@update'); $router->delete('/menu-company/delete/{id}', 'MenuCompanyController@delete'); $router->post('/menu-company/search', 'MenuCompanyController@search'); $router->get('/menu-company/management/{id}', 'MenuCompanyController@listMenu'); $router->get('/menu-company/list', 'MenuCompanyController@list'); }); });