From a06f833d5c06645a6bf79ef14d122ec68e81e502 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 11 Nov 2009 16:03:59 +0000 Subject: [PATCH] Fix: bad verification --- htdocs/cashdesk/templates/menu.tpl.php | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/htdocs/cashdesk/templates/menu.tpl.php b/htdocs/cashdesk/templates/menu.tpl.php index d20d0185c3f..7c98337254b 100644 --- a/htdocs/cashdesk/templates/menu.tpl.php +++ b/htdocs/cashdesk/templates/menu.tpl.php @@ -26,26 +26,31 @@ if (!empty($conf->global->CASHDESK_ID_THIRDPARTY)) { $company=new Societe($db); $company->fetch($conf->global->CASHDESK_ID_THIRDPARTY); + $companyLink = $company->getNomUrl(1); } if (!empty($conf->global->CASHDESK_ID_BANKACCOUNT)) { $bankcash=new Account($db); $bankcash->fetch($conf->global->CASHDESK_ID_BANKACCOUNT); + $bankcashLink = $bankcash->getNomUrl(1); } if (!empty($conf->global->CASHDESK_ID_BANKACCOUNT_CB)) { $bankcb=new Account($db); $bankcb->fetch($conf->global->CASHDESK_ID_BANKACCOUNT_CB); + $bankcbLink = $bankcb->getNomUrl(1); } if (!empty($conf->global->CASHDESK_ID_BANKACCOUNT_CHEQUE)) { $bankcheque=new Account($db); $bankcheque->fetch($conf->global->CASHDESK_ID_BANKACCOUNT_CHEQUE); + $bankchequeLink = $bankcheque->getNomUrl(1); } if (!empty($conf->global->CASHDESK_ID_WAREHOUSE)) { $warehouse=new Entrepot($db); $warehouse->fetch($conf->global->CASHDESK_ID_WAREHOUSE); + $warehouseLink = $warehouse->getNomUrl(1); } $langs->load("@cashdesk"); @@ -60,13 +65,13 @@ print ''; print ''; print '';