|
|
|
@ -23,16 +23,16 @@ $router->group(['prefix' => 'api', 'middleware' => 'cors'], function () use ($ro
|
|
|
|
|
|
|
|
|
|
$router->group(['middleware' => ['auth', 'cors']], function () use ($router) { |
|
|
|
|
|
|
|
|
|
$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-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->get('/dashboard/get-company-cashflow', 'DashboardBoDController@getCompanyCashFlow'); // project expenditure |
|
|
|
|
$router->get('/dashboard/get-invoice-outstanding', 'DashboardBoDController@getInvoiceOutstanding'); // project invoice vs cash in |
|
|
|
|
$router->get('/dashboard/get-total-project-per-schedule-health', 'DashboardBoDController@getTotalProjectPerScheduleHealth'); |
|
|
|
|
$router->get('/dashboard/get-total-project-per-budget-health', 'DashboardBoDController@getTotalProjectPerBudgetHealth'); |
|
|
|
|
$router->get('/dashboard/get-total-project-schedule-health-per-division', 'DashboardBoDController@getTotalProjectScheduleHealthPerDivision'); |
|
|
|
|
$router->get('/dashboard/get-total-project-budget-health-per-division', 'DashboardBoDController@getTotalProjectBudgetHealthPerDivision'); |
|
|
|
|
$router->get('/dashboard/get-total-project-per-phase', 'DashboardBoDController@getTotalProjectPerPhase'); |
|
|
|
|
$router->get('/dashboard/get-total-project-per-division', 'DashboardBoDController@getTotalProjectPerDivision'); |
|
|
|
|
$router->get('/dashboard/get-total-project-value-per-division', 'DashboardBoDController@getTotalProjectValuePerDivision'); |
|
|
|
|
$router->get('/dashboard/get-detail-expenditure', 'DashboardBoDController@getDetailExpenditure'); |
|
|
|
|
|
|
|
|
|
$router->post('/role/search', 'RoleController@search'); |
|
|
|
|
$router->post('/role/add', 'RoleController@add'); |
|
|
|
|