Merge branch 'master' of bitbucket.org:code2lab/sxrestaurant into adminbsb_ui_changes
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user