@extends("admin.admin_app") @section("content")

Request Quote(s)

@if(Session::has('flash_message'))
{{ Session::get('flash_message') }}
@endif

Reset
@if(Auth::User()->usertype=="Admin") @endif @foreach($requestquote as $i => $value) @if(Auth::User()->usertype=="Admin") @endif @endforeach
# Hotel (Venue)
Contact No.
Event Date Name Mobile Email Occasion DateAction
{{ ($requestquote->currentPage() - 1) * $requestquote->perPage() + $loop->iteration }} @if(!empty($value->hotel_id)) @php $venue_name = ($value->venue_id) ? '(' . \App\Venues::findOrFail($value->venue_id)->venue_name . ')' : ''; $str = str_replace("/", ",", \App\Hotels::findOrFail($value->hotel_id)->hotel_contact); $hotelContacts = explode(',', $str); $contact = ''; foreach($hotelContacts as $key => $contactNo) { $contact .= "
$contactNo"; } @endphp {{ $value->getHotels->hotel_name }}, {{ $venue_name }} {{ \App\getCtyStCntry::getCtyStCtry(\App\Hotels::findOrFail($value->hotel_id)->city_id, \App\Hotels::findOrFail($value->hotel_id)->state_id, \App\Hotels::findOrFail($value->hotel_id)->country_id) }} {!! $contact !!} @endif View
{{ date('d-M-Y', strtotime($value->event)) }} {{ $value->name }} {{ $value->mobile }} {{ $value->email }} {{ $value->category_name }} {{ date('d-M-Y', strtotime($value->created_at)) }}
{{ $requestquote->links() }}
@endsection