<div class="box-body">
  <div class="view_booking_modal">
    <div class="row">
      <div class="col-md-12">
        <div class="" style="text-decoration: underline;font-size: 18px;padding-bottom: 5px;font-weight: 700">
          Hotel Details
        </div>
        <div class="row">
          <div class="col-md-6">
            <div class="row">
              <div class="col-md-5"> Hotel Book Id</div>
              <div class="col-md-1">:</div>
              <div class="col-md-5"> <?=  $bookData->hotel_book_id ?></div>
            </div>
          </div>
          <div class="col-md-6">
            <div class="row">
              <div class="col-md-5">Hotel Name</div>
              <div class="col-md-1">:</div>
              <div class="col-md-5"> <?=  $bookData->hotel_name ?></div>
            </div>
          </div>
        </div>
        <?php
          $bookDetails = !empty($bookData->request_data)?json_decode($bookData->request_data)->getBookingDetails:'';
          if($bookDetails != ''){ ?>
            <div class="row">
              <div class="col-md-6">
                <div class="row">
                  <div class="col-md-5"> Hotel Code</div>
                  <div class="col-md-1">:</div>
                  <div class="col-md-5"> <?=  $bookDetails->hotelcode ?></div>
                </div>
              </div>
              <div class="col-md-6">
                <div class="row">
                  <div class="col-md-5">Hotel Product Id</div>
                  <div class="col-md-1">:</div>
                  <div class="col-md-5"> <?=  $bookDetails->productId ?></div>
                </div>
              </div>
            </div>
            <div class="row">
              <div class="col-md-6">
                <div class="row">
                  <div class="col-md-5"> Hotel Property Id</div>
                  <div class="col-md-1">:</div>
                  <div class="col-md-5"> <?=  $bookDetails->propertyid ?></div>
                </div>
              </div>
              <div class="col-md-6">
                <div class="row">
                  <div class="col-md-5">Hotel Trace Id</div>
                  <div class="col-md-1">:</div>
                  <div class="col-md-5"> <?=  $bookDetails->TraceId ?></div>
                </div>
              </div>
            </div>
            <div class="row">
              <div class="col-md-6">
                <div class="row">
                  <div class="col-md-5"> Hotel PreBooking Token</div>
                  <div class="col-md-1">:</div>
                  <div class="col-md-5" style="overflow-wrap: break-word"> <?=  $bookDetails->prebookingtoken ?></div>
                </div>
              </div>
              <div class="col-md-6">
                <div class="row">
                  <div class="col-md-5">Hotel Ref Code</div>
                  <div class="col-md-1">:</div>
                  <div class="col-md-5" style="overflow-wrap: break-word"> <?=  $bookDetails->refcode ?></div>
                </div>
              </div>
            </div>
            <div class="row">
              <div class="col-md-6">
                <div class="row">
                  <div class="col-md-5"> Hotel Token Id</div>
                  <div class="col-md-1">:</div>
                  <div class="col-md-5"> <?=  $bookDetails->TokenId ?></div>
                </div>
              </div>
              <div class="col-md-6">
                <div class="row">
                  <div class="col-md-5">Hotel Tracking Id</div>
                  <div class="col-md-1">:</div>
                  <div class="col-md-5"> <?=  $bookDetails->trackingId ?></div>
                </div>
              </div>
            </div>
            <div class="row">
              <div class="col-md-6">
                <div class="row">
                  <div class="col-md-5"> Hotel Image
                    <div class="row">
                      <div class="col-md-5"> <img src="<?=$bookData->hotel_image?>" width="380px" height="200px"></div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <div class="" style="padding: 25px 0px 5px 0px;font-size: 18px;text-decoration: underline;font-weight: 700">  Guest Details </div>
            <div class="row">
              <div class="col-md-6">
                <div class="row">
                  <div class="col-md-5"> Customer Name</div>
                  <div class="col-md-1">:</div>
                  <div class="col-md-5"> <?=  $bookDetails->guests_details->first_name[0][0] .' '.$bookDetails->guests_details->last_name[0][0]  ?></div>
                </div>
              </div>
              <div class="col-md-6">
                <div class="row">
                  <div class="col-md-5">Email Id</div>
                  <div class="col-md-1">:</div>
                  <div class="col-md-5"> <?=  $bookDetails->guests_details->email ?></div>
                </div>
              </div>
            </div>
            <div class="row">
              <div class="col-md-6">
                <div class="row">
                  <div class="col-md-5"> Mobile Number</div>
                  <div class="col-md-1">:</div>
                  <div class="col-md-5"> <?=  $bookDetails->guests_details->mobile_no ?></div>
                </div>
              </div>
              <div class="col-md-6">
                <div class="row">
                  <div class="col-md-5">Address</div>
                  <div class="col-md-1">:</div>
                  <div class="col-md-5"> <?=  ($bookDetails->guests_details->address != '')?$bookDetails->guests_details->address:' --- ' ?></div>
                </div>
              </div>
            </div>
        <?php 
          }
        ?>
      </div>
    </div>
  </div>
</div>