@extends('components.layout.master')
@section('title', ' Product')
@section('module-icon', 'fab fa-product-hunt')
@section('breadcrumb')
| No. |
Product Name |
Category |
Type |
Product Image |
Status |
Action |
@if ($prodcutList->isEmpty())
| No records found. |
@else
@foreach ($prodcutList as $product)
{{-- @dd($product->category); --}}
| {{ $loop->iteration }} |
{{ $product->name }} |
{{ $product->category->name ?? '' }} |
@if ($product->productType->isNotEmpty())
@foreach ($product->productType as $type)
{{ $type->type }}
@endforeach
@else
-
@endif
|
@if (!empty($product->imageName))
@else
@endif
|
@if ($product->status == 0)
Inactive
@elseif ($product->status == 1)
Active
@endif
|
|
@endforeach
@endif
@include('components.footertext')
@endsection
@push('script')
@endpush