--}} | NAME | PRICE | CATEGORY | ACTION |
---|---|---|---|---|
{{ $count++ }} | --}}{{ $value->name }} | {{ $value->price }} | {{ $value->category ?? '-' }} | @if(Auth::user()->role != 'viewer') Edit | Delete @else No Action @endif |
@extends('layouts.admin.app') @section('content')
--}} | NAME | PRICE | CATEGORY | ACTION |
---|---|---|---|---|
{{ $count++ }} | --}}{{ $value->name }} | {{ $value->price }} | {{ $value->category ?? '-' }} | @if(Auth::user()->role != 'viewer') Edit | Delete @else No Action @endif |