@extends('layouts.main') @section('title', 'CMS | Podcast') @section('content') @php use Illuminate\Support\Str; use App\Enums\StatusEnum; @endphp
SL | Title | Image | Duration | Audio Player | Publish Date | Status | Action |
---|---|---|---|---|---|---|---|
{{ $index + 1 }} | {{ $podcastDetail->title }} | {{ sprintf("%02d:%02d", floor( $podcastDetail->duration_time/60), $podcastDetail->duration_time%60) . ' h ' }} | {{ $podcastDetail->release_date }} |
status == StatusEnum::Active->value ? 'checked' : '' }} name='input_switch'>
|