jQuery(document).ready(function(t){(t=jQuery.noConflict())(".bookingor-required-license").find("textarea").attr("disabled",!0),t(".bookingor-required-license").find("input").attr("disabled",!0),t(".bookingor-required-license").find("select").attr("disabled",!0),t(".bookingor-required-license").find("div").attr("disabled",!0),t(".bookingor-required-license").find("div").css("pointer-events","none"),t(".bookingor-required-license").append('<div class="bookingor-d-flex justify-content-between"> <div>Upgrade to see options</div> <a class="bookingor-btn bookingor-btn-primary btn-sm" href="https://bookingor.com/pricing" target="_blank">Upgrade Now</a></div>'),t("#bookingTable").on("click",".booking-status",function(o){o.preventDefault();var o=t(this).attr("data-booking-status"),e=t(this).parent().parent().attr("data-id");t.post({url:TCN_BIND.GET_URL+"?action=change_booking_status",data:{book_status:o,booking_stats_id:e,nonce:TCN_BIND.nonce},dataType:"json",success:function(o){"success"===o.status&&t.toast({text:o.message,icon:"success",position:"bottom-right"})},complete:function(o,e){window.location.reload()}})})});