Samson Mutunga 1 rok pred
rodič
commit
aa9650eda2
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      app/Helpers/helpers.php

+ 1 - 1
app/Helpers/helpers.php

@@ -1205,7 +1205,7 @@ if(!function_exists('determineTier')) {
 			$tier = 'TIER_1';
 		}
 
-		if($careMonth->number_of_days_with_remote_measurements >= 16 && $careMonth->rm_total_time_in_seconds >= 20*60 && $careMonth->has_mcp_interacted_with_client_about_rm) {
+		if($careMonth->number_of_days_with_remote_measurements >= 16 && $careMonth->rm_total_time_in_seconds_by_mcp >= 20*60 && $careMonth->has_mcp_interacted_with_client_about_rm) {
 			$tier = 'TIER_2';
 		}
         return $tier;