$value) { $key = $key + 1; // Calculate data counts per user for toggling rules // Cast to int — DB drivers may return branch ids as string or int $prePolicyCount = 0; if (!empty($pre_policy_data)) { foreach ($pre_policy_data as $p) { if (!empty($value['pre_hr_id']) && (int) $value['pre_branch_id'] === (int) $p['branch_id']) { $prePolicyCount++; } } } $postPolicyCount = 0; if (!empty($post_policy_data)) { foreach ($post_policy_data as $p) { if (!empty($value['post_hr_id']) && (int) $value['post_branch_id'] === (int) $p['branch_id']) { $postPolicyCount++; } } } $cdCount = !empty($post_cd_data) ? count($post_cd_data) : 0; ?>
Name -= $value['hr_name'] ?>
branch - = $value['post_branch_name']?>
Mail - = $value['hr_mail'] ?>
>
Pre enrollment
Select all
Select all Active policies
Select all In-Active policies
$policies) { $statusText = $policies['policy_status'] == 1 ? 'Active' : 'In-Active'; $statusClass = $policies['policy_status'] == 1 ? 'active' : 'inactive'; // if ( // in_array($policies['branch_id'].'-'.$policies['policy_no'], $listed_pre) // && // $value['pre_branch_id'] != $policies['branch_id'] // ) { // continue; // } else { // $listed_pre[] = $policies['branch_id'].'-'.$policies['policy_no']; // } if (empty($value['pre_hr_id']) || (int) $value['pre_branch_id'] !== (int) $policies['branch_id']) { continue; } ?>
>
= $policies['policy_type'] . ' - ' . $policies['policy_no'] ?>
>
Active policies
Select all
Select all Active policies
Select all In-Active policies
$policies) { $statusText = $policies['policy_status'] == 1 ? 'Active' : 'In-Active'; $statusClass = $policies['policy_status'] == 1 ? 'active' : 'inactive'; // if( // in_array($policies['branch_id'].'-'.$policies['policy_no'] , $listed_post) // && // $value['post_branch_id'] != $policies['branch_id'] // ) // { // continue; // } // else // { // $listed_post[] = $policies['branch_id'].'-'.$policies['policy_no']; // } if (empty($value['post_hr_id']) || (int) $value['post_branch_id'] !== (int) $policies['branch_id']) { continue; } ?>
>
= $policies['policy_type'] . ' - ' . $policies['policy_no'] ?>
>
CD statement
Select all
$cd) { ?>
>
= $cd['insurer_short_name'] ?> -
= $cd['cd_account_no'] ?>
>
Claims
>
Insights
Submit Form
There is no HR data