@extends('admin.layouts.master') @section('main-content') {{ __('restaurant.menu_item') }} {{ Breadcrumbs::render('menu-items/add') }} @csrf @if(auth()->user()->myrole == 1) {{ __('levels.restaurant') }} * {{ __('levels.select_restaurant') }} @if(!blank($restaurants)) @foreach($restaurants as $restaurant) id) ? 'selected' : '' }}>{{ $restaurant->name }} @endforeach @endif @error('restaurant_id') {{ $message }} @enderror @else @endif {{ __('levels.name') }} * @error('name') {{ $message }} @enderror {{ __('restaurant.categories') }} @if(!blank($categories)) @foreach($categories as $category) {{ $category->name }} @endforeach @endif @if ($errors->has('categories')) {{ $errors->first('categories') }} @endif {{ __('levels.unit_price') }} * @error('unit_price') {{ $message }} @enderror {{ __('levels.discount_price') }} @error('discount_price') {{ $message }} @enderror {{ __('levels.status') }} * @foreach(trans('statuses') as $key => $status) {{ $status }} @endforeach @error('status') {{ $message }} @enderror {{ __('levels.description') }} {{ old('description') }} @error('description') {{ $message }} @enderror {{ __('levels.image') }} {{ __('levels.choose_file') }} @if ($errors->has('image')) {{ $errors->first('image') }} @endif @endsection @section('css') @endsection @section('scripts') @endsection