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

@@ -1248,22 +1248,7 @@ function setRoomTypeGuestOccupancy(booking_occupancy_wrapper)
/* Refund system script */
var flagRefund = '';
// when submit from ajax from guest address controller the function will be called from the controller header
function getSummary()
{
return;
}
$(document).ready(function() {
// when click edit/add guest address we have to initialize fancybox
$('.fancybox').fancybox({
'type': 'iframe',
'width': '90%',
'height': '90%',
afterClose: function() {
location.reload();
},
});
// when change order state to cancel or refund then show modal of bookings cancellation
$(document).on('change', '#id_order_state', function(e) {
if ($(this).val() == PS_OS_CANCELED || $(this).val() == PS_OS_REFUND) {