From edb210d7ccd071ecb269757492db5f4d021c8b95 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 21 Aug 2018 13:33:07 +0200 Subject: [PATCH] Update index.php --- htdocs/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/index.php b/htdocs/index.php index 6125823b4d3..b4aa821ccd0 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -565,7 +565,8 @@ if (! empty($valid_dashboardlines)) $sep=($conf->dol_use_jmobile?'
':' '); $boxwork .= ''.$board->img.' '.$board->label.'
'; $boxwork .= ''.$board->nbtodo.''; - if ($board->total > 0) { + if ($board->total > 0 && ! empty($conf->global->MAIN_WORKBOARD_SHOW_TOTAL_WO_TAX)) + { $boxwork .= ' / '.price($board->total) .''; } $boxwork .= '';