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 }); });