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

Show Request Restaurant Details

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

@if($recordDetails['is_active'] == 1) ACTIVE @else INACTIVE @endif

{{ $recordDetails['event_ID']?$recordDetails['event_ID']:'Not found.' }}

{{ $recordDetails['title']?$recordDetails['title']:'Not found.' }}

@php $recordDetails['promotion_start_date'] = utcToLocalDateTime($user_timezone, $recordDetails['promotion_start_date']); $recordDetails['promotion_end_date'] = utcToLocalDateTime($user_timezone, $recordDetails['promotion_end_date']); @endphp {{ date('M j, Y', strtotime($recordDetails['promotion_start_date'])).' - '.date('M j, Y', strtotime($recordDetails['promotion_end_date'])) }}

{{ $restaurantDetails['restaurant_name']??'' }}

@if($restaurantDetails['is_active'] == 1) ACTIVE @else INACTIVE @endif

{{ $restaurantDetails['address']??'' }}

@php $contact_no = ''; $email = ''; if(isset($restaurantDetails->restaurantUser) && count($restaurantDetails->restaurantUser)) { foreach($restaurantDetails->restaurantUser as $key2 => $user) $contact_no .= $user->phone.', '; $email .= $user->email.', '; } $contact_no .= $restaurantDetails->phone??''; $contact_no = trim($contact_no, ', '); $email = trim($email, ', '); @endphp @if($contact_no) {{ $contact_no }} @endif
@if($email) {{ $email }} @endif
{{ $eventAssociatedRestaurantDetails->discount_rate??0 }}%
@if($eventAssociatedRestaurantDetails->is_confirm_by_restaurant == 0) Pending @elseif($eventAssociatedRestaurantDetails->is_confirm_by_restaurant == 1) Interested @elseif($eventAssociatedRestaurantDetails->is_confirm_by_restaurant == 2) Not Interested @endif
@if($eventAssociatedRestaurantDetails->is_interest_send_by_admin == 0) @elseif($eventAssociatedRestaurantDetails->is_interest_send_by_admin == 1) Already Sent   @if($eventAssociatedRestaurantDetails->is_confirm_by_restaurant == 0) @endif @endif
@endsection @section('scripts') @endsection