diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php index 5fca4dce7c0..95230eb6b2b 100644 --- a/htdocs/takepos/invoice.php +++ b/htdocs/takepos/invoice.php @@ -1688,7 +1688,7 @@ print ''; if (($action == "valid" || $action == "history") && $invoice->type != Facture::TYPE_CREDIT_NOTE) { print ''; - if (getDolGlobalInt('TAKEPOS_PRINT_INVOICE')) { + if (getDolGlobalInt('TAKEPOS_PRINT_INVOICE_DOC_INSTEAD_OF_RECEIPT')) { print ' Invoice'; } }