Reservation Summary

{$banner = @@getImageFromStorage($reservation['banner']);} {$canReport = app('query')->canReportProperty($reservation['property']->propertyid);} {$propertyID = $reservation['property']->propertyid;}

{ucfirst($reservation['title'])}

@php $viewLink = ''; // property ? if ($reservation['type'] == 'property') : $viewLink = 'view-property/' . $reservation['property']->propertyid; else: // vehicle $viewLink = 'view-vehicle/' . $reservation['vehicle']->vehicleid; endif; // @var bool $isReservationOverdue $isReservationOverdue = $provider->ReservationIsOverdue($reservation['reservationid']); // @var bool $hasPendingBalance $hasPendingBalance = $provider->hasPendingPayment($reservation['reservationid']); @endphp @if ($canReport) Report Misconduct @endif @if ($isReservationOverdue == false) View {ucfirst($reservation['type'])}
@csrf; @method('@cancelReservation');
@else View {ucfirst($reservation['type'])} @endif
{$type = $reservation['type'];}

More Actions

There are more options in the dropdown below like "Pay now, self checkin" etc. Please click to explore.

@csrf; @method('@manageAction'); @hiddenInput('utml', get()->utm_l);

Location

  • Address {ucfirst($reservation[$type]->address)}
  • State {ucfirst($reservation[$type]->statename)}
  • Country Nigeria
{$phone = json_decode($reservation[$type]->contact_phone);} @if (is_array($phone))

Contact Phone

    @foreach ($phone as $row)
  • {ucfirst($row->name)} {$row->value}
  • @endfor
@endif {$emails = json_decode($reservation[$type]->contact_email);} @if (is_array($emails))

Contact Email

    @foreach ($emails as $row)
  • {ucfirst($row->name)} {$row->value}
  • @endfor
@endif @if ($canReport)

Message {ucfirst($reservation['type'])}

    @csrf;
@endif

Booking Information

Check In {$reservation['checkin_string']}
Check Out {$reservation['check_out_string']}
Stays {$reservation['period']} day{intval($reservation['period']) > 1 ? 's' : ''}
@if ($type == 'property')
Room Name {$reservation['name']}
Adults {$reservation['adults']}
Children {$reservation['children']}
Rooms {$reservation['rooms']}
@endif
Discount {isset($reservation['discount']) ? $reservation['discount'] : 0}%
Total NGN {number_format($reservation['total'], 2, '.', ',')}
Traveling {isset($reservation['traveling']) ? $reservation['traveling'] : 'no'}
Corporate Booking {$reservation['who_is_paying'] == 'myself' ? 'no' : 'yes'}
Amount Paid NGN {number_format($reservation['paidAmount'], 2, '.', ',')}
Payment Method {ucfirst($reservation['paymentMethod'])}
Paid @if ($reservation['paid']) {$paidAmount = (doubleval($reservation['paidAmount']) + doubleval($reservation['discount']));} @if ($paidAmount < doubleval($reservation['total'])) Partial @else Yes @endif @else No @endif
Reservation ID {$reservation['reservationid']}
Guests {$reservation['guests']}
CheckIn Rule {$reservation[$type]->checkin_start ?? '0:0'} - {$reservation[$type]->checkin_end ?? '0:0'}
CheckOut Rule {$reservation[$type]->checkout_start ?? '0:0'} - {$reservation[$type]->checkout_end ?? '0:0'}
{$rooms = $provider->getRoomsByReservation($reservation['reservationid']);} @if (count($rooms) > 0)

Rooms Auto Reserved

{$index = 1;} @foreach ($rooms as $room) {$index++;} @endfor
SN Room Booking Total Paid Status Action
{$index} {$roomJson = json_decode(stripslashes($room->rooms));} {$roomJson[0]->number} {$room->booking} ₦{number_format($room->total, 2, '.', ',')} ₦{number_format($room->paidamount, 2, '.', ',')} @if ($room->checkedout == 1) Checked out @else @if ($room->checkedin == 1) Checked in @elseif ($room->noshow == 1) No show @elseif ($room->cancelled == 1) Cancelled @else Pending @endif @endif @if ($room->checkedout == 0 and $room->checkedin == 0 and $room->noshow == 0 and $room->cancelled == 0)
@csrf; @method('@cancelSingleReservation'); {$json = json_encode(['reservationid' => $room->reservationid]);}
@else @endif
@endif

Guest Information

Fullname {$reservation['fullname']}
Guest Email {$reservation['guest_email'] == '' ? 'N/A' : $reservation['guest_email']}

Other Information

Firstname {$reservation['firstname']}
Lastname {$reservation['lastname']}
Email {$reservation['email']}
Special request {$reservation['special_request'] == '' ? 'no special request' : $reservation['special_request']}
@partial('delete-modal'); @partial('main-footer', ['message' => $message]);