← {{ __($subject->category->name) }} @if ($publisher){{ $subject->usesTracks() ? __('考試類科::name', ['name' => __($publisher)]) : __('出版社版本::name', ['name' => __($publisher)]) }} · {{ __('更換') }}@endif
@if ($subject->description)

{{ $subject->description }}

@endif @if ($offer)
{{ __('全學期方案') }}
{{ __(':name・:n 學期一次擁有', ['name' => __($subject->name), 'n' => $offer['all']->count()]) }}

{{ __('單學期 :price', ['price' => money($offer['all']->first()->currentPrice())]) }}@if ($offer['full_single'] > $subject->bundle_price) {{ __('・ 六學期單買共 :price', ['price' => money($offer['full_single'])]) }}@endif

{{ money($offer['price']) }}
@if ($offer['full_single'] > $offer['price'])
{{ __('比單買省 :price', ['price' => money($offer['full_single'] - $offer['price'])]) }}
@endif @auth @if ($offer['remaining']->isEmpty())
✔ {{ __('你已擁有全部課程') }}
@else @php $payMode = $offer['price'] > 0 ? \App\Services\Payments::mode() : 'test'; @endphp @if ($payMode === 'unavailable')
{{ __('金流尚未設定,暫時無法購買付費課程') }}
@elseif ($payMode === 'real')
@foreach (\App\Services\Payments::methods() as $m)
@csrf
@endforeach
@else
@csrf
@endif @if ($offer['remaining']->count() < $offer['all']->count())
{{ __('已擁有的學期不重複計價,只補差額') }}
@endif @endif @else {{ __('登入後購買') }} @endauth
@endif @foreach ($subject->games() as $g)
{{ __('滿金自有遊戲') }}
{{ $g['name'] }}

{{ __($g['blurb']) }}

{{ __('前往遊戲官網') }} ↗
@endforeach @forelse ($groups as $grade => $items)

{{ $grade }}

{{ __(':n 門課程', ['n' => $items->count()]) }}
@empty @if (! $subject->games())
{{ __('這個分類的課程籌備中,敬請期待。') }}
@endif @endforelse