Revert: Code for - Added: option to add/edit customer address from order detail page of BO

This commit is contained in:
Sumit Panwar
2024-07-09 13:22:33 +05:30
parent d14173cbd0
commit 5e276db6be
3 changed files with 0 additions and 52 deletions

View File

@@ -2892,15 +2892,7 @@ class AdminOrdersControllerCore extends AdminController
// Overbookings information of the order
$orderOverBookings = $objHotelBookingDetail->getOverbookedRooms($order->id, 0, '', '', 0, 0, 1);
// Guest address info
$guestFormatedAddress = '';
if ($idGuestAddress = Customer::getCustomerIdAddress($order->id_customer)) {
$guestFormatedAddress = AddressFormat::generateAddress(new Address($idGuestAddress), array(), "<br />");
}
$this->tpl_view_vars = array(
'guestFormatedAddress' => $guestFormatedAddress,
'idGuestAddress' => $idGuestAddress,
'totalRefundedRooms' => $totalRefundedRooms,
'orderOverBookings' => $orderOverBookings,
// refund info