Răsfoiți Sursa

Merge branch 'cleanup' of https://rav.triplestart.com/tigerphp/stagfe2 into cleanup

root 1 an în urmă
părinte
comite
1f596a2d8e
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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.'
             ];
         }