@extends('admin.layout.master') @section('title', 'Other Hotel List') @section('content')
{{__('obs.other_hotel_list')}}
{{__('obs.create')}}
{{-- --}} {{-- --}} {{-- --}} @foreach ($hotels as $key=>$h) {{-- --}} {{-- --}} {{-- --}} @endforeach
{{ __('obs.sl') }} {{ __('obs.name') }} {{ __('obs.local_name') }} {{ __('obs.group') }} {{ __('obs.address') }} {{ __('obs.local_address') }} {{ __('obs.contact_info') }}{{ __('obs.tax_no') }}{{ __('obs.floors') }}{{ __('obs.room_types') }}{{ __('obs.action') }}
{{ $key+1 }} {{ $h->name }} {{ $h->local_name }} {{ $h->getGroup->name ?? 'Not selected' }} {{ $h->address }} {{ $h->local_address }} @php $decoded_cp = json_decode($h->contact_info); @endphp @foreach ($decoded_cp as $cp) {{ $cp->name }} - {{ $cp->mobile }}
@endforeach
{{ $h->tax_number }}{{ implode(', ',$h->getFloors->pluck('name')->toArray()) }}{{ implode(',', $h->getRoomTypes->pluck('name')->toArray()) }} Edit
@include('frontdesk.common.common') @endsection @section('script') @endsection