|
|
@@ -1,4 +1,4 @@
|
|
|
-var ticket_window = window.open("<%= print_credit_receipt_path(:sale_id => @sale.id, format: 'pdf') %>", 'New tab', '' );
|
|
|
- window.location = "<%= sales_path %>";
|
|
|
+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] %>");
|
|
|
|