FIX_LIVE_ISSUE : RV
This commit is contained in:
parent
8c5872326a
commit
7d52826392
@ -1829,7 +1829,7 @@ class EmpDataServiceController extends BaseController
|
||||
|
||||
if(!empty($name) && !empty($emp_code)){
|
||||
|
||||
$totals = $totals + $amount;
|
||||
$totals = $totals + floatval($amount);
|
||||
|
||||
$query = $db->table('employee_polices');
|
||||
$query->select('employee_polices.id');
|
||||
|
||||
@ -234,7 +234,7 @@ if(!function_exists('check_si'))
|
||||
$is_si_found = false;
|
||||
$is_age_slab_found = false;
|
||||
|
||||
if($policy_details['policy_type_id'] == 1 && $slab_details['slab_rates'][0]['policy_grid_id'] == 1 && $slab_details['slab_rates'][0]['si_or_bp'] == 2) // GPA && grid type 1 for GPA && sub type is basic pay
|
||||
if(($policy_details['policy_type_id'] == 1 || $policy_details['policy_type_id'] == 6 || $policy_details['policy_type_id'] == 7) && $slab_details['slab_rates'][0]['policy_grid_id'] == 1 && $slab_details['slab_rates'][0]['si_or_bp'] == 2) // GPA && grid type 1 for GPA && sub type is basic pay
|
||||
{
|
||||
$is_si_found = true;
|
||||
$is_age_slab_found = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user