Edit reprint

This commit is contained in:
San Wai Lwin
2018-06-08 11:28:01 +06:30
parent ce3ab0b0eb
commit 9bae3445d3
3 changed files with 3 additions and 4 deletions

View File

@@ -790,7 +790,6 @@
// For Server Print - from jade
if ($("#server_mode").val() == "cloud") {
alert("Hello");
code2lab.printFile(result.filepath.substr(6), result.printer_url);
}
location.reload();

View File

@@ -424,7 +424,7 @@ $(document).on('click', '.access_modal', function(event){
$('#re-print').click(function() {
var sale_id = $('#sale_id').val();
var ajax_url = '/origami/'+ sale_id + "/reprint"
var ajax_url = "/origami/"+ sale_id + "/reprint"
// return false;
$.ajax({
type: "GET",