diff --git a/htdocs/cashdesk/templates/menu.tpl.php b/htdocs/cashdesk/templates/menu.tpl.php index 7c98337254b..dac92908bec 100644 --- a/htdocs/cashdesk/templates/menu.tpl.php +++ b/htdocs/cashdesk/templates/menu.tpl.php @@ -28,10 +28,10 @@ if (!empty($conf->global->CASHDESK_ID_THIRDPARTY)) $company->fetch($conf->global->CASHDESK_ID_THIRDPARTY); $companyLink = $company->getNomUrl(1); } -if (!empty($conf->global->CASHDESK_ID_BANKACCOUNT)) +if (!empty($conf->global->CASHDESK_ID_BANKACCOUNT_CASH)) { $bankcash=new Account($db); - $bankcash->fetch($conf->global->CASHDESK_ID_BANKACCOUNT); + $bankcash->fetch($conf->global->CASHDESK_ID_BANKACCOUNT_CASH); $bankcashLink = $bankcash->getNomUrl(1); } if (!empty($conf->global->CASHDESK_ID_BANKACCOUNT_CB))