@extends('layouts.dashboard.dashboard') @push('css') @endpush @push('js') @endpush @section('content') @component('card-component',['title'=>ucfirst(trans('main.tattoos'))]) @component('components.data-table',['tableID'=>"tabletattoo"]) @slot('thead') @lang('main.id') @lang('main.name') @lang('main.image') @lang('main.description') @lang('main.price') @lang('main.currency') @lang('main.type') @lang('main.category') @lang('main.edit') @lang('main.delete') @endslot @slot('tbody') @foreach ($tattoos as $tattoo) {{$tattoo->id}} {{$tattoo->name ?? 'deleted'}} {{$tattoo->description ?? 'deleted'}} {{$tattoo->price ?? 'deleted'}} {{$tattoo->currency ?? 'deleted'}} {{$tattoo->typeText ?? 'deleted'}} {{$tattoo->category->name ?? 'deleted'}} @lang('main.edit')
@csrf @method('DELETE')
@endforeach @endslot @endcomponent @endcomponent @stop