@extends('layouts/contentNavbarLayout') @section('title', 'Product Details') @section('vendor-script') @endsection @section('content')

“{{ $product->name ?? '-' }}”

status == 'active' ? 'checked' : '' }} onChange="statusUpdate({{ $product->id }}, '{{ ($product->status === 'active' ? 'inactive' : 'active') . '\'' }})" />
Edit Product
Product Image
@if ($product->document) Product Image @else No Image @endif
@if ($product->document)
Image : {{ $product->document->name ?? '' }}
@endif
Product Information
Product Name {{ $product->name ?? '-' }}
Level {{ $product->level->title ?? '-' }}
Related Course {{ $product->course->name ?? '-' }}
Category {{ $product->category->name ?? '-' }}
Price ${{ number_format($product->price, 2) }}
Description {!! $product->description !!}
@endsection