{{ __('課程管理') }}

{{ __('共 :n 門課程,上架 :m 門。', ['n' => $courses->count(), 'm' => $courses->where('is_published', true)->count()]) }}

{{ __('+ 新增課程') }}
@if (auth()->user()->isAdmin())@endif @forelse ($courses as $c) @if (auth()->user()->isAdmin())@endif @empty @endforelse
{{ __('課程') }}{{ __('學院') }}{{ __('負責講師') }}{{ __('價格') }}{{ __('銷售範圍') }}{{ __('章節') }}{{ __('報名') }}{{ __('結業') }}{{ __('狀態') }}
{{ $c->title }}
{{ __($c->level) }}
{{ __($c->category->name) }}{{ $c->instructor?->name ?? __('未指定') }} @if ($c->isOnSale())NT$ {{ number_format($c->price) }} {{ $c->currentPrice() ? 'NT$ '.number_format($c->currentPrice()) : __('限時免費') }} -{{ $c->discountPercent() }}% @else {{ $c->price ? 'NT$ '.number_format($c->price) : __('免費') }}@if ($c->sale_price !== null && $c->price > 0) {{ __('折扣未生效') }}@endif @endif {{ __(':n 種語系', ['n' => count($c->offeredLocales())]) }} · {{ $c->soldCountries() ? __(':n 個國家', ['n' => count($c->soldCountries())]) : __('全部國家') }} {{ $c->chapters_count }} {{ __(':n 人', ['n' => $c->enrollments_count]) }} {{ $c->completed_count }}
@csrf
{{ __('預覽') }} {{ __('學員') }} {{ __('編輯') }}
@csrf @method('DELETE')
{{ auth()->user()->isAdmin() ? __('還沒有課程') : __('你還沒有負責的課程。可以新增一門,或請管理員指定給你。') }}