From 0f93845380afcc288a84c33a1daee4d7619351da Mon Sep 17 00:00:00 2001 From: Christophe Battarel Date: Fri, 19 May 2023 16:32:31 +0200 Subject: [PATCH] NEW : TakePOS - add constant to forbid credit note --- 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 6f5e829ca47..f00eec79e80 100644 --- a/htdocs/takepos/invoice.php +++ b/htdocs/takepos/invoice.php @@ -1684,7 +1684,7 @@ if ($placeid > 0) { print ''; -if (($action == "valid" || $action == "history") && $invoice->type != Facture::TYPE_CREDIT_NOTE) { +if (($action == "valid" || $action == "history") && $invoice->type != Facture::TYPE_CREDIT_NOTE && empty($conf->global->TAKEPOS_NO_CREDITNOTE)) { print ''; }