-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
Events details
Others information:
@if($recordDetails->event['is_active'] == 1) ACTIVE @else INACTIVE @endif
{{ $recordDetails->event['event_ID']?$recordDetails->event['event_ID']:'Not found.' }}
{{ $recordDetails->event['title']?$recordDetails->event['title']:'Not found.' }}
{{$recordDetails->event['type']==1?"One day":'Multiple Days' }}
{!! $recordDetails->event['description']??'Not found.' !!}
@php
$url = 'storage/images/events/web/'.$recordDetails->event['banner_image'];
@endphp
@if($recordDetails->event['banner_image'] && file_exists(public_path($url)))
@else
No image.
@endif
Event Organizer details
{{ $recordDetails->eventUser->name??'Not found.' }}
{{ $recordDetails->eventUser->email??'Not found.' }}
@if($recordDetails->eventUser->is_active == 1) ACTIVE @else INACTIVE @endif
{{ $recordDetails->eventUser->phone??'Not found.' }}
Organization details
{{ $recordDetails->organization['name']?$recordDetails->organization['name']:'Not found.' }}
@if($recordDetails->organization['is_active'] == 1) ACTIVE @else INACTIVE @endif
{!! $recordDetails->organization['zip_code']??'Not found.' !!}
{{ $recordDetails->organization['organization_ID']?$recordDetails->organization['organization_ID']:'Not found.' }}
{{ $recordDetails->organization['is_school']?'School':'Other Charitable Organization' }}
{{$recordDetails->organization['email']?$recordDetails->organization['email']:'Not Found' }}
{{$recordDetails->organization['phone']?$recordDetails->organization['phone']:'Not Found' }}
{{$recordDetails->organization['country_code']?'+'.$recordDetails->organization['country_code']:'Not Found' }}
{!! $recordDetails->organization['city']??'Not found.' !!}
{!! $recordDetails->organization['state']??'Not found.' !!}
{!! $recordDetails->organization['address']??'Not found.' !!}
System Restaurant List
| Restaurant Owner Details | Restaurant Details | Discount rate(%) | Phone No | Status | Map View |
|---|---|---|---|---|---|
|
@if(objectToArray($restaurant->restaurantUser))
@foreach($restaurant->restaurantUser as $key => $owner)
{{ $owner->name??'' }}
@endforeach
@endif
{{ $owner->email??'' }} {!! $owner->is_active==1?( "Active" ): "Inactive" !!} |
{{$restaurant->restaurant_name??''}} Country: {{$restaurant->country??''}} State: {{$restaurant->state??''}} Zip Code: {{$restaurant->zip_code??''}} Address: {{$restaurant->address??''}} {!! $restaurant->is_active==1?( "Active" ): "Inactive" !!} |
@php $associateEvents = $restaurant->restaurantAssociateEvent; $eventId = $associateEvents->pluck('event_id')->search($recordDetails->event['id']); $associateEventDetails = $associateEvents[$eventId]; $restaurant_response = $associateEventDetails->is_confirm_by_restaurant; $admin_send_request = $associateEventDetails->is_interest_send_by_admin; if($admin_send_request == 0) { $restaurant_response = "Send request"; } elseif($admin_send_request && $restaurant_response == 0) { $restaurant_response = "pending"; } else if($admin_send_request && $restaurant_response == 1) { $restaurant_response = "approved"; } else if($restaurant_response == 2) { $restaurant_response = "rejected"; } @endphp {{ $associateEventDetails->discount_rate??0 }} | @php $contact_no = ''; if(isset($restaurant->restaurantUser) && count($restaurant->restaurantUser)) { foreach($restaurant->restaurantUser as $key2 => $user) $contact_no .= $user->phone.', '; } $contact_no .= $restaurant->phone??''; @endphp {{ trim($contact_no, ', ')??'Not found.' }} |
@if($admin_send_request == 0)
{{ $restaurant_response??'' }}
@elseif($associateEventDetails->is_confirm_by_restaurant==1)
{{ $restaurant_response??'' }}
@elseif($associateEventDetails->is_confirm_by_restaurant==2)
{{ $restaurant_response??'' }}
@elseif($associateEventDetails->is_confirm_by_restaurant==0)
{{ $restaurant_response??'' }}
@endif
|
Map View |
Google Restaurant List
| Restaurant Owner Details | Restaurant Details | Restaurant Contact Details | Action |
|---|---|---|---|
|
@if($googleRestaurant->user_name)
{{ $googleRestaurant->user_name??'' }}
@endif @if($googleRestaurant->user_email) {{ $googleRestaurant->user_email??'' }} @endif @if($googleRestaurant->user_phone) {{ $googleRestaurant->user_phone??'' }} @endif |
{{$googleRestaurant->restaurant_name??''}} {{$googleRestaurant->address??''}} |
{!! str_replace(",", ", ", $googleRestaurant->phone??'') !!} |
@if($googleRestaurant->is_live) Registered @else @endif @if($googleRestaurant->user_email && $googleRestaurant->is_live == 0) Send Reg. Form ({{ $googleRestaurant->email_sent_count }}) @endif |