From 342144d790ce97fc695def40b6cd8d37cbc9fcf0 Mon Sep 17 00:00:00 2001 From: Christophe Battarel Date: Wed, 24 May 2023 14:36:29 +0200 Subject: [PATCH] i am sometimes a little dumb --- htdocs/takepos/invoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; } }