diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php
index 798b2702ccf..22c8171a46c 100644
--- a/htdocs/takepos/invoice.php
+++ b/htdocs/takepos/invoice.php
@@ -558,7 +558,7 @@ if ($action == "valid" || $action == "history")
$sectionwithinvoicelink .= ' ';
}
- if ($conf->global->TAKEPOS_AUTO_PRINT_TICKETS) $sectionwithinvoicelink .= '';
+ if ($remaintopay <= 0 && $conf->global->TAKEPOS_AUTO_PRINT_TICKETS) $sectionwithinvoicelink .= '';
}
/*