@extends('layouts.console') @section('title','プラン・お支払い')@section('console','店舗管理')@section('heading','プラン・お支払い') @section('who', $member->name.' 様')@section('logout', route('member.logout')) @section('nav')@include('member._nav')@endsection @section('content')

現在のプラン

{{ $current->name }}
@if($sub && $sub->ends_at)
有効期限:{{ $sub->ends_at->format('Y-m-d') }}({{ $sub->cycle==='year'?'年払い':'月払い' }})
@elseif($current->isFree())
無料プランをご利用中です。
@endif @if($pending)
申込手続き中:入金確認待ち
@endif

プラン一覧

@foreach($plans as $p)
{{ $p->name }} @if($p->id===$current->id)利用中@endif
{{ $p->description }}
@foreach(config('billing.features') as $code=>$f) @php $v = ($p->features[$code] ?? null); @endphp @if($v){{ $f['label'] }}@if($f['type']==='int'):{{ $v }}@endif@endif @endforeach
@if($p->isFree())
¥0
@else
¥{{ number_format($p->price_month) }}/月
@if($p->price_year)
¥{{ number_format($p->price_year) }}/年
@endif @if($p->id!==$current->id && !$pending) @if((int)$p->price_month > (int)$current->price_month)
@csrf
@else
下位プランへの変更(ダウングレード)はこの画面では行えません。
変更をご希望の場合は管理までご連絡ください。
@endif @endif @endif
@endforeach

※ お支払いは銀行振込です。入金確認後に有料機能が有効化されます。

請求書履歴

@forelse($invoices as $iv) @empty @endforelse
請求番号発行日金額(税込)状態支払期限
{{ $iv->code }} {{ $iv->issued_at?->format('Y-m-d') }} ¥{{ number_format($iv->total) }} {{ ['issued'=>'未入金','paid'=>'入金済','void'=>'無効'][$iv->status] ?? $iv->status }} {{ $iv->due_at?->format('Y-m-d') }}
請求書はありません。
@endsection