From 89a6841fbc0a0a36cbeb005d2cef1e3a7e9aaec7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 17 Apr 2018 14:51:08 +0200 Subject: [PATCH] Debug ticket module --- htdocs/ticketsup/list.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/htdocs/ticketsup/list.php b/htdocs/ticketsup/list.php index 31a19addac5..1c5f58d7931 100644 --- a/htdocs/ticketsup/list.php +++ b/htdocs/ticketsup/list.php @@ -323,10 +323,21 @@ if ($socid && !$projectid && $user->rights->societe->lire) { } print ''; - print $htmllogobar; - $htmllogobar = ''; print ''; } + // Supplier code + if ($socstat->fournisseur && !empty($socstat->code_fournisseur)) { + print ''; + print $langs->trans('SupplierCode') . ''; + print $socstat->code_fournisseur; + if ($socstat->check_codefournisseur() != 0) { + print ' (' . $langs->trans("WrongSupplierCode") . ')'; + } + + print ''; + print ''; + } + print ''; print ''; dol_fiche_end();