add_payments_to_reserve.js.erb 286 B

12345
  1. window.location = "<%= sales_reserved_path %>";
  2. $("#notice").html("<%= flash[:notice] %>");
  3. var ticket_window = window.open("<%= print_partial_payment_receipt_path(:sale_id => @sale.id, :new_moves_array => @new_moves_array, format: 'pdf') %>", 'New tab', '' );
  4. ticket_window.print();