edit for cloud print
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user