@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 @php $restaurantType = ""; @endphp @if($restaurantDetails['google_place_id'] && $restaurantDetails['is_from_api']) @php $restaurantType = "google"; @endphp @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

Banner size must be within {{ get_setting('restaurant-banner-image-size') }}(px)

@if ($errors->has('banner_image'))
@endif @if(isset($restaurantDetails['banner_image'])) Logo image @endif
@php $admin_commission = get_setting('admin-commissions'); $admin_commission = $admin_commission!=''?$admin_commission:0; @endphp

 

Badge

@if ($errors->has('discount')) @endif

Logo size must be within {{ get_setting('badge-logo-size') }}(px)

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