var ticket_window = window.open("<%= print_credit_receipt_path(:sale_id => @sale.id, format: 'pdf') %>", 'New tab', '' );
	window.location = "<%= new_sale_path %>";
$("#notice").html("<%= flash[:notice] %>");

