Ver código fonte

debugging cm

= 1 ano atrás
pai
commit
be255ac973
1 arquivos alterados com 1 adições e 2 exclusões
  1. 1 2
      app/Models/CareMonth.php

+ 1 - 2
app/Models/CareMonth.php

@@ -174,13 +174,12 @@ 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){
             return [
                 'billable' => false,
-                'reason' => 'MCP RPM strategy has not been set.'
+                'reason' => 'MCP RPM strategy has not been set.'.' '.$this->mcp_rpm_payment_strategy_tier_one.' '.$this->mcp_rpm_payment_strategy_tier_two;
             ];
         }