@extends('layouts.app') @section('title', __('dashboard.Product Options')) @section('page_heading', __('dashboard.Product Options')) @section('content') @include('layouts.partials.collection-page-styles')

{{ __('dashboard.All Product Options') }}

خيارات المنتجات المستخدمة عند إنشاء الحجوزات.

{{ $options->count() }} خيار @can('create product options') {{ __('dashboard.Add New Option') }} @endcan
@if($options->isEmpty()) @include('layouts.partials.index-empty-state', [ 'icon' => 'fa-solid fa-table-cells', 'title' => __('dashboard.No options found.'), 'message' => 'لا توجد خيارات منتجات مضافة حاليًا.' ]) @else
@foreach($options as $opt) @endforeach
# {{ __('dashboard.Category') }} {{ __('dashboard.Name') }} {{ __('dashboard.Type') }} {{ __('dashboard.Actions') }}
{{ $opt->id }} {{ $opt->category->name ?? '—' }} {{ $opt->name }} {{ $opt->type }} @canany(['edit product options', 'delete product options'])
    @can('edit product options')
  • {{ __('dashboard.Edit') }}
  • @endcan @can('delete product options')
  • @csrf @method('DELETE')
  • @endcan
@endcanany
@endif
@endsection