@extends('layouts.syndron.app') @section('title', 'Shop Profiles') @section('content')

{{ __('Shop Profiles') }}

{{ __('Create New Shop') }}
@if (session('success')) @endif
{{ __('Shops List') }}
@forelse ($shops as $shop) @empty @endforelse
{{ __('Logo') }} {{ __('Name') }} {{ __('Owner') }} {{ __('Email') }} {{ __('Phone') }} {{ __('Approved') }} {{ __('Actions') }}
@if ($shop->logo) {{ $shop->name }} @else N/A @endif {{ $shop->name }} {{ $shop->user?->name ?? 'N/A' }} {{ $shop->email }} {{ $shop->phone }} @if ($shop->is_approved) {{ __('Yes') }} @can('shop.profile.unapprove')
@csrf @method('PATCH')
@endcan @else {{ __('No') }} @can('shop.profile.approve')
@csrf @method('PATCH')
@endcan @endif
@csrf @method('DELETE')
{{ __('No shops found.')}}
{{ $shops->links() }}
@endsection