@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")

{{__("Items")}}

{{__("All Items")}}

@endsection @section("content") @include("includes.dialog")
@if(isPermissionsAllowed("control-items")) @endif
{{-- --}} @if(isPermissionsAllowed("control-items")) @endif @if($items) @foreach($items as $item) {{-- --}} @if(isPermissionsAllowed("control-items")) @endif @endforeach @endif
{{__("ID")}} {{__("Image")}} {{__("Name")}} {{__("Price")}}{{__("Tax")}}{{__("Descriptions")}} {{__("Category Name")}} {{__("Branches")}} {{__("Gallery")}}{{__("Control")}}
{{$item->id}} @if($item->getFirstMediaFile()) @endif {{$item->getNameAttribute()}} {{$item->tax}}{{$item->getDescriptionAttribute()}} {{$item->category->name}} id)}}" class="control-link edit">
id)}}" method="post" id="delete{{$item->id}}" style="display: none" data-swal-title="{{__("Delete Item")}}" data-swal-text="{{__("Are You Sure To Delete This Item?")}}" data-yes="{{__("Yes")}}" data-no="{{__("No")}}" data-success-msg="{{__("the item has been deleted succssfully")}}">@csrf @method("delete")
@endsection @section("scripts") @endsection