update complete repritn

This commit is contained in:
Aung Myo
2018-01-22 19:16:15 +06:30
parent 9a521ace7c
commit b5ad0598e9

View File

@@ -201,7 +201,7 @@
<% if @sale.sale_status != 'void' %>
<button type="button" id="void" class="btn bg-danger btn-block">VOID</button>
<% end %>
<!-- <button type="button" id="re-print" class="btn bg-blue btn-block">Re.Print</button> -->
<button type="button" id="re-print" class="btn bg-blue btn-block">Re.Print</button>
</div>
</div>
</div>
@@ -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;
});
</script>