@extends('layouts.console') @section('title','プラン管理')@section('console','運営管理')@section('heading','プラン管理') @section('who','管理者')@section('logout', route('admin.logout')) @section('nav')@include('admin._nav')@endsection @section('content') @php $feats = config('billing.features'); @endphp @foreach($plans->push(new \App\Models\Plan(['features'=>[]])) as $p)

{{ $p->exists ? $p->name.'('.$p->code.')' : '+ 新規プラン' }}

@csrf
@foreach($feats as $code=>$f) @if($f['type']==='bool') @else @endif @endforeach
@endforeach @endsection