浏览代码

debugging cm

= 1 年之前
父节点
当前提交
4d4afe6016
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Models/CareMonth.php

+ 2 - 2
app/Models/CareMonth.php

@@ -176,10 +176,10 @@ class CareMonth extends Model
     public function calculateBillabilityForMcp(){
         $tier1Strategy = $this->mcp_rpm_payment_strategy_tier_one;
         $tier2Strategy = $this->mcp_rpm_payment_strategy_tier_two;
-        if(!$tier1Strategy || !$tier2Strategy){
+        if(!$tier1Strategy  || !$tier2Strategy){
             return [
                 'billable' => false,
-                'reason' => 'MCP RPM strategy has not been set.'.' '.$this->mcp_rpm_payment_strategy_tier_one.' '.$this->mcp_rpm_payment_strategy_tier_two
+                'reason' => 'MCP RPM strategy has not been set.'.' 1.'.$this->mcp_rpm_payment_strategy_tier_one.' 2.'.$this->mcp_rpm_payment_strategy_tier_two
             ];
         }