From b6d8a81ae84cee7425d96aba1b69dbb590367e3c Mon Sep 17 00:00:00 2001 From: andreubisquerra Date: Fri, 15 Jan 2021 18:12:55 +0100 Subject: [PATCH] Fix special chars in free text with TakePOS Sending the description with the post method avoid chars problems --- htdocs/takepos/freezone.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/takepos/freezone.php b/htdocs/takepos/freezone.php index a010ba184eb..f8ed00c5590 100644 --- a/htdocs/takepos/freezone.php +++ b/htdocs/takepos/freezone.php @@ -95,7 +95,7 @@ top_htmlhead($head, '', 0, 0, $arrayofjs, $arrayofcss); */ function Save() { console.log("We click so we call page invoice.php with place= tva_tx="+vatRate); - parent.$("#poslines").load("invoice.php?action=freezone&place=&desc="+$('#desc').val()+"&number="+$('#number').val()+"&tva_tx="+vatRate); + parent.$("#poslines").load("invoice.php?action=freezone&place=&number="+$('#number').val()+"&tva_tx="+vatRate, {desc:$('#desc').val()}); parent.$.colorbox.close(); }