@extends("layouts.dashboard.app") @section("page-nav-title")

{{__('Items')}}

{{__('Control and view all Items')}}

@endsection @section("content") @include("layouts.main-parts.page-message")
{{ csrf_field() }}
@foreach($items as $item) @endforeach
#ID {{__('Item Image')}} {{__('English Item Name')}} {{__('Arabic Item name')}} {{__('Item price')}} {{__('Arabic Category Name')}} {{__('English Category Name')}} {{__('English Item Description')}} {{__('Arabic Item description')}} {{__('Item Status On Branches')}} {{__('Add Ons')}} {{__('Control')}}
{{$item->id}} {{$item->item_name_en}} {{$item->item_name_ar}} {{$item->item_price}} {{$item->category->category_name_ar}} {{$item->category->category_name_en}} {{$item->item_description_en}} {{$item->item_description_ar}} id)}}" class="btn btn-primary">Control id)}}" class="control-link edit">
id)}}" method="post" id="delete{{$item->id}}" style="display: none" data-swal-title="Delete Item" data-swal-text="Are Your Sure To Delete This Item ?" data-yes="Yes" data-no="No" data-success-msg="the item has been deleted succssfully">@csrf @method("delete")
@if(!isset($search)) {{ $items->links() }} @endif
@endsection @section("scripts") @endsection