@extends('admin.layouts.admin') @section('title') Admin | Edit Restaurant @endsection @section('styles') @endsection @section('content')

Edit Restaurant

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
@if($restaurantDetails['is_active'] == 1) ACTIVE @else INACTIVE @endif
@if ($errors->has('user_id')) @endif
@if ($errors->has('restaurant_name')) @endif
@if ($errors->has('address')) @endif
@if ($errors->has('zip_code')) @endif
@if(false)
@if(false) @php $admin_commission = explode(",",get_setting('admin-commissions')); @endphp
Current: {{ $restaurantDetails['admin_commission'] }}%
@foreach($admin_commission as $key => $commission) {{ $commission }}%  @endforeach @endif
@endif

 

Badge

@if ($errors->has('discount')) @endif
@if ($errors->has('logo')) @endif @if(isset($restaurantDetails['restaurant_badge']['logo'])) Logo image @endif
@endsection @section('scripts') @endsection