|
@@ -146,7 +146,7 @@ class CareMonth extends Model
|
|
|
public function calculateBillabilityForMcp(){
|
|
|
|
|
|
|
|
|
- $strategy = $this->mcp->mcp_rpm_payment_strategy;
|
|
|
+ $strategy = $this->mcp_rpm_payment_strategy;
|
|
|
if(!$strategy){
|
|
|
return [
|
|
|
'billable' => false,
|
|
@@ -154,7 +154,7 @@ class CareMonth extends Model
|
|
|
];
|
|
|
}
|
|
|
|
|
|
- $mcpRpmPaymentAmount = $this->mcp->mcp_rpm_payment_amount;
|
|
|
+ $mcpRpmPaymentAmount = $this->mcp_rpm_payment_amount;
|
|
|
$has16PlusDays = $this->number_of_days_with_remote_measurements >= 16;
|
|
|
$hasMcpBilled20Minutes = $this->rm_total_time_in_seconds_by_mcp >= 1200;
|
|
|
$hasMcpInteracted = $this->has_mcp_interacted_with_client_about_rm;
|