@extends('layouts.customer') @section('content')

Restaurants

@if ($errors->any())
Whoops! There were some problems with your input.

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@if ($message = Session::get('success'))

{{ $message }}

@endif
{{--
All Locations
@can('restaurant_location_create') @endcan
@if($locations) @if(isset($locations) && count($locations) > 10)
show more results ({{ count($locations) -10}})
@endif @endif
--}}
{{--
@can('restaurant_location_edit')
@csrf @method('PUT')
Restaurant Name

Business Location
@endcan
--}}
@can('restaurant_location_list')
Restaurant Locations
@can('restaurant_location_create') @endcan
@if( !empty( $locations ) ) @php $i=0; @endphp @foreach( $locations as $location ) @endforeach @endif
# Name Address State City Action
{{ ++$i }} {{ $location->name }} @if($location->is_primary) Master @endif {{ $location->address }} {{ $location->state }} {{ $location->city }}
@endcan
@endsection @section('script') @include('partials.js._statecity') @endsection