@csrf @method('put') @include('partials.fields',['fields'=>[ ['ftype'=>'input','name'=>"Restaurant Name",'id'=>"name",'placeholder'=>"Restaurant Name",'required'=>true,'value'=>$restorant->name], ['ftype'=>'input','name'=>"Restaurant Description",'id'=>"description",'placeholder'=>"Restaurant description",'required'=>true,'value'=>$restorant->description], ['ftype'=>'input','name'=>"Restaurant Address",'id'=>"address",'placeholder'=>"Restaurant description",'required'=>true,'value'=>$restorant->address], ['ftype'=>'input','name'=>"Restaurant Phone",'id'=>"phone",'placeholder'=>"Restaurant phone",'required'=>true,'value'=>$restorant->phone], ]]) @if(config('settings.multi_city')) @include('partials.fields',['fields'=>[ ['ftype'=>'select','name'=>"Restaurant city",'id'=>"city_id",'data'=>$cities,'required'=>true,'value'=>$restorant->city_id], ]]) @endif @if(config('app.ordering'))
@if ($errors->has('minimum')) {{ $errors->first('minimum') }} @endif
@endif @if(auth()->user()->hasRole('admin'))
@if ($errors->has('fee')) {{ $errors->first('fee') }} @endif
@if ($errors->has('static_fee')) {{ $errors->first('static_fee') }} @endif


@endif
@if(config('app.isft')) @include('partials.fields',['fields'=>[ ['ftype'=>'bool','name'=>"Pickup",'id'=>"can_pickup",'value'=>$restorant->can_pickup == 1 ? "true" : "false"], ['ftype'=>'bool','name'=>"Delivery",'id'=>"can_deliver",'value'=>$restorant->can_deliver == 1 ? "true" : "false"], ['ftype'=>'bool','name'=>"Self Delivery",'id'=>"self_deliver",'value'=>$restorant->self_deliver == 1 ? "true" : "false"], ['ftype'=>'bool','name'=>"Free Delivery",'id'=>"free_deliver",'value'=>$restorant->free_deliver == 1 ? "true" : "false"], ]]) @endif