From 5c81feab7e2e1d24897e8eee4905c152215a3dca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Wed, 4 May 2016 17:10:12 +0200 Subject: [PATCH] Add "no order" --- htdocs/commande/index.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/commande/index.php b/htdocs/commande/index.php index 0aa828dc77a..fa1b2064ed2 100644 --- a/htdocs/commande/index.php +++ b/htdocs/commande/index.php @@ -216,6 +216,11 @@ if (! empty($conf->commande->enabled)) $i++; } } + else + { + $var=!$var; + print ''.$langs->trans("NoOrder").''; + } print "
"; } }