@extends(($fromSetup ?? false) ? 'layouts.setup' : 'layouts.app') @section('title', $product->name) @section('page-title', $product->name . ' - プラン管理') @section(($fromSetup ?? false) ? 'setup_body' : 'content') @if($fromSetup ?? false)
プラン設定で価格・決済(一括 / 分割 / 継続・銀行振込)・決済連携購入後の会員サイト開放(コース単体またはコースの結合)・シナリオ登録を設定します。テレコム単発は入金確定後に開放・シナリオ登録が実行されます(初回ログイン用パスワードの自動メールは未実装)。
@endif
{{ ($fromSetup ?? false) ? '商品一覧' : '商品一覧' }}
商品設定 プランを追加
@if($plans->isEmpty())
価格プランがありません

「プランを追加」から価格プランを設定してください

プランを追加
@else
@foreach($plans as $plan) @endforeach
プラン名 金額 決済タイプ 決済方法 決済連携 購入後 ステータス 操作
{{ $plan->name }} ¥{{ number_format($plan->amount) }} @if($plan->payment_type === 'one_time') 一括払い @elseif($plan->payment_type === 'installment') 分割払い({{ $plan->installment_count }}回) @elseif($plan->payment_type === 'subscription') 継続課金 @elseif($plan->payment_type === 'free') 無料 @endif @if($plan->payment_method === 'credit') クレジットカード @elseif($plan->payment_method === 'bank_transfer') 銀行振込 @elseif($plan->payment_method === 'free') 無料 @endif @if($plan->paymentGatewayAccount) {{ $plan->paymentGatewayAccount->providerLabel() }} / {{ $plan->paymentGatewayAccount->name }} @elseif($plan->payment_method === 'credit') 未設定 @else 不要 @endif @php $grantLabel = $grantService->purchaseGrantLabel($plan); @endphp @if($grantLabel)
{{ $grantLabel }}
@else 会員サイト: なし @endif @if($plan->afterPurchaseScenario)
シナリオ: {{ $plan->afterPurchaseScenario->name }}
@endif
@if($plan->status === 'active') 公開 @else 非公開 @endif @if($plan->status === 'active' && $plan->payment_method === 'credit' && $plan->payment_gateway === 'telecom') @endif
@csrf @method('DELETE') @if($fromSetup ?? false)@endif
@endif @include('partials._copy_public_url_script') @endsection