We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9eb82d commit a66e1d8Copy full SHA for a66e1d8
htdocs/takepos/index.php
@@ -597,7 +597,7 @@ function CloseBill() {
597
if (!empty($conf->global->TAKEPOS_FORBID_SALES_TO_DEFAULT_CUSTOMER)) {
598
echo "customerAnchorTag = document.querySelector('a[id=\"customer\"]'); ";
599
echo "if (customerAnchorTag && customerAnchorTag.innerText.trim() === '".$langs->trans("Customer")."') { ";
600
- echo "alert('".$langs->trans("NoClientErrorMessage")."'); ";
+ echo "alert('".dol_escape_js($langs->trans("NoClientErrorMessage"))."'); ";
601
echo "return; } \n";
602
}
603
?>
0 commit comments