From b5ad0598e9ff40a59cca4dd43a7cca34073e758a Mon Sep 17 00:00:00 2001 From: Aung Myo Date: Mon, 22 Jan 2018 19:16:15 +0630 Subject: [PATCH] update complete repritn --- app/views/origami/sales/show.html.erb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/origami/sales/show.html.erb b/app/views/origami/sales/show.html.erb index 827c906a..0eaabce1 100755 --- a/app/views/origami/sales/show.html.erb +++ b/app/views/origami/sales/show.html.erb @@ -201,7 +201,7 @@ <% if @sale.sale_status != 'void' %> <% end %> - + @@ -271,10 +271,10 @@ $('#back').on('click',function(){ }); }); -// $('#re-print').click(function() { -// var sale_id = $('#sale_id').val(); -// window.location.href = '/origami/'+ sale_id + "/reprint" +$('#re-print').click(function() { + var sale_id = $('#sale_id').val(); + window.location.href = '/origami/'+ sale_id + "/reprint" -// return false; -// }); + return false; + });