diff --git a/app/views/origami/home/show.html.erb b/app/views/origami/home/show.html.erb index da3c6e55..3f31faa1 100755 --- a/app/views/origami/home/show.html.erb +++ b/app/views/origami/home/show.html.erb @@ -726,9 +726,9 @@ createReceiptNoInFirstBillData(receipt_no,""); // For Server Print - from jade - if ($("#server_mode").val() == "cloud") { - code2lab.printFile("/home/yan/workspace/sxrestaurant/" + result.filepath, result.printer_url); - } + //if ($("#server_mode").val() == "cloud") { + code2lab.printFile(result.filepath.substr(6), result.printer_url); + // } // console.log(result); // code2lab.printBill(result.filepath, result.printer_model, result.printer_url);