From 8a01944a0cdc5f00c90959a0dc91953dcb62a58a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 15 Dec 2018 16:12:47 +0100 Subject: [PATCH] Update invoice.php --- htdocs/takepos/invoice.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php index 7bb30722460..cb288c7dcd0 100644 --- a/htdocs/takepos/invoice.php +++ b/htdocs/takepos/invoice.php @@ -297,8 +297,7 @@ if ($action == "order" and $order_receipt_printer1 != "") { ?> $.ajax({ type: "POST", - url: 'http://global->TAKEPOS_PRINT_SERVER; ?>:8111/print', + url: 'http://global->TAKEPOS_PRINT_SERVER; ?>:8111/print', data: '' }); @@ -309,8 +308,7 @@ if ($action == "order" and $order_receipt_printer2 != "") { ?> $.ajax({ type: "POST", - url: 'http://global->TAKEPOS_PRINT_SERVER; ?>:8111/print2', + url: 'http://global->TAKEPOS_PRINT_SERVER; ?>:8111/print2', data: '' }); @@ -340,8 +338,7 @@ if ($action == "temp" and $ticket_printer1 != "") { ?> $.ajax({ type: "POST", - url: 'http://global->TAKEPOS_PRINT_SERVER; ?>:8111/print', + url: 'http://global->TAKEPOS_PRINT_SERVER; ?>:8111/print', data: '' }); @@ -368,8 +365,7 @@ function TakeposPrinting(id){ receipt=data.replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g, ''); $.ajax({ type: "POST", - url: 'http://global->TAKEPOS_PRINT_SERVER; ?>:8111/print', + url: 'http://global->TAKEPOS_PRINT_SERVER; ?>:8111/print', data: receipt }); });