protected function moneyRemainingOnYearlyPlan($plan) { return $plan->price / 365 * Carbon::today()->diffInDays(Carbon::instance($this->asBraintreeSubscription()->billingPeriodEndDate), false); }