@extends('admin.layouts.master') @section('main-content') {{ __('table.table') }} {{ Breadcrumbs::render('tables/edit') }} @csrf @method('PUT') @if (auth()->user()->myrole == 1) {{ __('levels.restaurant') }} * {{ __('levels.select_restaurant') }} @if (!blank($restaurants)) @foreach ($restaurants as $restaurant) restaurant_id) == $restaurant->id ? 'selected' : '' }}> {{ $restaurant->name }} @endforeach @endif @error('restaurant_id') {{ $message }} @enderror @else @endif {{ __('levels.name') }} * @error('name') {{ $message }} @enderror {{ __('levels.capacity') }} * @error('capacity') {{ $message }} @enderror {{ __('levels.status') }} * @foreach (trans('statuses') as $key => $status) status) == $key ? 'selected' : '' }}> {{ $status }} @endforeach @error('status') {{ $message }} @enderror @endsection @section('css') @endsection @section('scripts') @endsection