diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php index 21681ef27b4..72056dbda4c 100644 --- a/htdocs/takepos/invoice.php +++ b/htdocs/takepos/invoice.php @@ -1523,6 +1523,8 @@ $( document ).ready(function() { $s .= " - " . $contact->getFullName($langs); } } + } elseif (getDolGlobalInt("TAKEPOS_NO_GENERIC_THIRDPARTY")) { + print '$("#idcustomer").val("");'; } ?>