Пример #1
0
     ProjectController::searchProject($data->searchBy, $data->searchKeyword);
     break;
 case "modifyProject":
     ProjectController::updateProject($data->data->projectDetails->projectId, $data->data);
     break;
 case "getCompaniesForProject":
     ProjectController::getCompaniesForProject($data->data);
     break;
 case "getExcludedCompaniesForProject":
     ProjectController::getExcludedCompaniesForProject($data->data);
     break;
 case "closeProject":
     echo json_encode(ProjectController::closeProject($data->data));
     break;
 case "getCompaniesForProject":
     ProjectController::getCompaniesForProject($data->data);
     break;
 case "getProjectList":
     ProjectController::getProjectList();
     break;
 case "getSiteTrackingProjectList":
     ProjectController::getSiteTrackingProjectList();
     break;
 case "getInvoiceOfProject":
     ProjectController::getInvoicesByProject($data->projectId);
     break;
 case "getProjectSiteFollowup":
     if (isset($data->projectId)) {
         ProjectController::getProjectSiteFollowup($data->projectId);
     } else {
         echo AppUtil::getReturnStatus("fail", "Please select project");