*/ protected $fillable = [ 'name', 'payment', 'description', 'preis', 'limit_user', 'limit_auftraggeber', 'limit_gutachter', 'limit_gutachten', 'icon', ]; public static function options() { $arr = Plan::all()->toArray(); foreach ($arr as $key => $value) { $str = '
'.$value['payment'].'
'; $str .= '
'.number_format($value['preis'], 2).'€
'; $str .= '
    '; $str .= '
  1. '.$value['limit_user'].' Benutzer
  2. '; $str .= '
  3. '.$value['limit_gutachter'].' Gutachter
  4. '; $str .= '
'; $arr[$key + 1] = new HtmlString($str); } return $arr; } }