From 3b9c8a685b42d638d7c7185218a26350bb41cbf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= <rdoursenaud@gpcsolutions.fr> Date: Wed, 29 Jul 2015 19:29:18 +0200 Subject: [PATCH] Fix #3314 Display state in bank account card --- htdocs/compta/bank/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/bank/fiche.php b/htdocs/compta/bank/fiche.php index bdb30e46528..428112f7289 100644 --- a/htdocs/compta/bank/fiche.php +++ b/htdocs/compta/bank/fiche.php @@ -419,7 +419,7 @@ else // State print '<tr><td>'.$langs->trans('State').'</td><td>'; - if ($account->fk_departement > 0) print getState($account->fk_departement); + if ($account->state_id > 0) print getState($account->state_id); print '</td></tr>'; // Conciliate -- GitLab