@extends('admin.layout.master') @section('content')
| {{__('obs.sl')}} | {{__('obs.code')}} | {{__('obs.agent')}} | {{__('obs.inv')}} {{__('obs.date')}} | {{__('obs.from')}} | {{__('obs.to')}} | {{--Remarks | --}} {{--{{__('obs.gross')}} {{__('obs.amount')}} | --}} {{--{{__('obs.description')}} | --}}{{__('obs.remarks')}} | {{__('obs.rooms')}} | {{__('obs.qty')}} | {{__('obs.occupied')}} | {{--{{__('obs.doc')}} | --}}{{__('obs.check_in')}} | {{__('obs.action')}} |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ ++$key }} | {{ $manageAllotment->code ?? '' }} | {{--{{ $manageAllotment->commission ?? ''}} | --}}{{ $manageAllotment->agent->name_eng ?? '' }} | {{ date('d-m-Y', strtotime($manageAllotment->inv_date)) ?? '' }} | {{ $manageAllotment->start_date ? date('d-m-Y', strtotime($manageAllotment->start_date)) : ''}} | {{ $manageAllotment->end_date ? date('d-m-Y', strtotime($manageAllotment->end_date)) : ''}} | {{--{{ $manageAllotment->gross_amount ?? '' }} | --}} {{--
@foreach ($manageAllotment->fd_allotment_details as $d)
From {{ date('d-m-Y', strtotime($d->start_date)) }} To
{{ date('d-m-Y', strtotime($d->end_date)) }} - {{ $d->qty }}
Rooms @endforeach | --}}
{{ $manageAllotment->remarks }} | {{ implode(', ', $manageAllotment->get_rooms->pluck('get_room')->flatten(1)->pluck('room_number')->toArray()) }} {{-- {{ $manageAllotment->get_rooms->pluck('get_room') }} --}} | {{ $manageAllotment->get_rooms->pluck('get_room')->flatten(1)->count() }} | {{ $manageAllotment->get_checkin_info->where('check_in_status', 1)->count() }} | {{--@if ($manageAllotment->doc_name != null) @else - @endif | --}}{{-- @if ($manageAllotment->status == 1) {{__('obs.pending')}} @else --}} {{-- @if(active_user() == 1) --}} {{ __('obs.by_agent') }} {{ __('obs.by_reception') }} {{-- @endif --}} {{-- @endif --}} | {{-- @if ($manageAllotment->status == 1) @if (checkAuthPermission('frontdesk.allotment.approve')) {{__('obs.approve')}} @endif @endif --}} |