CHANGE_HR ; RV
This commit is contained in:
parent
3ec08117ab
commit
3163de89f6
@ -358,6 +358,7 @@ $routes->group("/util", ["filter" => "authMVC"], function ($routes) {
|
|||||||
$routes->get('getPolicyTypeFields', 'LeadsController::getPolicyTypeFields');
|
$routes->get('getPolicyTypeFields', 'LeadsController::getPolicyTypeFields');
|
||||||
$routes->get('removeMultiFile', 'LeadsController::removeMultiFile');
|
$routes->get('removeMultiFile', 'LeadsController::removeMultiFile');
|
||||||
$routes->get('removeInstallments', 'LeadsController::removeInstallments');
|
$routes->get('removeInstallments', 'LeadsController::removeInstallments');
|
||||||
|
$routes->get('constructHrAccessData', 'ClientController::constructHrAccessData');
|
||||||
});
|
});
|
||||||
|
|
||||||
$routes->post("policy_tranction/sendInstallmentRemainderMail","PolicyTransactionController::sendInstallmentRemainderMail");
|
$routes->post("policy_tranction/sendInstallmentRemainderMail","PolicyTransactionController::sendInstallmentRemainderMail");
|
||||||
@ -540,6 +541,7 @@ $routes->group("employeeRest", ["filter" => "authJWT"], function ($routes) {
|
|||||||
$routes->get("getEmployeeActiveOrInactivePolicy", "EmployeeRestController::getEmployeeActiveOrInactivePolicy");
|
$routes->get("getEmployeeActiveOrInactivePolicy", "EmployeeRestController::getEmployeeActiveOrInactivePolicy");
|
||||||
$routes->get("sendPushNotification", "EmployeeRestController::sendPushNotification");
|
$routes->get("sendPushNotification", "EmployeeRestController::sendPushNotification");
|
||||||
$routes->post("sendEmail", "EmployeeRestController::send_email");
|
$routes->post("sendEmail", "EmployeeRestController::send_email");
|
||||||
|
$routes->get("getPolicyLevelEmployeeSummaryData", "EmployeeRestController::getPolicyLevelEmployeeSummaryData");
|
||||||
|
|
||||||
$routes->get("getBackToEnrolledDetails", "EmployeeRestController::getBackToEnrolledDetails");
|
$routes->get("getBackToEnrolledDetails", "EmployeeRestController::getBackToEnrolledDetails");
|
||||||
|
|
||||||
|
|||||||
@ -5821,7 +5821,8 @@ class ClientController extends AdminController
|
|||||||
return $id;
|
return $id;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function reorderProposalsByInsurerTotal(array $data): array {
|
private function reorderProposalsByInsurerTotal(array $data): array
|
||||||
|
{
|
||||||
|
|
||||||
Kint::dump($data);
|
Kint::dump($data);
|
||||||
if (!isset($data['premium_data']['data'])) return $data;
|
if (!isset($data['premium_data']['data'])) return $data;
|
||||||
@ -5884,7 +5885,8 @@ class ClientController extends AdminController
|
|||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function reorderProposalDataByPremiumOrder(array $data): array {
|
private function reorderProposalDataByPremiumOrder(array $data): array
|
||||||
|
{
|
||||||
if (!isset($data['premium_data']['data'], $data['proposal_data']['over_all_column_data'])) {
|
if (!isset($data['premium_data']['data'], $data['proposal_data']['over_all_column_data'])) {
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
@ -5906,7 +5908,8 @@ class ClientController extends AdminController
|
|||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function reorderProposalInHeaderAndData(array $data): array {
|
private function reorderProposalInHeaderAndData(array $data): array
|
||||||
|
{
|
||||||
|
|
||||||
// Kint::dump($data);
|
// Kint::dump($data);
|
||||||
$tableData = $data['table_data'];
|
$tableData = $data['table_data'];
|
||||||
@ -6006,7 +6009,8 @@ class ClientController extends AdminController
|
|||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function renumberProposalKeys(array $input): array {
|
private function renumberProposalKeys(array $input): array
|
||||||
|
{
|
||||||
$result = [];
|
$result = [];
|
||||||
$counter = 1;
|
$counter = 1;
|
||||||
|
|
||||||
@ -6021,7 +6025,9 @@ class ClientController extends AdminController
|
|||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
public function saveApiData(){
|
|
||||||
|
public function saveApiData()
|
||||||
|
{
|
||||||
|
|
||||||
$receivedData = $this->request->getPost();
|
$receivedData = $this->request->getPost();
|
||||||
|
|
||||||
@ -6041,7 +6047,8 @@ class ClientController extends AdminController
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function sendToken(){
|
public function sendToken()
|
||||||
|
{
|
||||||
|
|
||||||
$client_id = $this->request->getGet('client_id');
|
$client_id = $this->request->getGet('client_id');
|
||||||
|
|
||||||
@ -6054,6 +6061,17 @@ class ClientController extends AdminController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
public function constructHrAccessData()
|
||||||
|
{
|
||||||
|
$html = view('hr_access_controll');
|
||||||
|
return $this->respond([
|
||||||
|
'status' => true,
|
||||||
|
'code' => 200,
|
||||||
|
'data' => $html
|
||||||
|
], 200);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user