Skip to content
Snippets Groups Projects
Commit 3f3d89ec authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Trad

parent f78e12d7
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,9 @@ CashDeskMenu=Point of sale
CashDesk=Point of sale
CashDesks=Point of sales
CashDeskBank=Bank account
CashDeskBankCash=Bank account (cash)
CashDeskBankCB=Bank account (card)
CashDeskBankCheque=Bank account (cheque)
CashDeskWarehouse=Warehouse
CashDeskThirdParty=Third party
ShoppingCart=Shopping cart
......
......@@ -4,6 +4,9 @@ CashDeskMenu=Caisse
CashDesk=Caisse enregistreuse
CashDesks=Caisse enregistreuses
CashDeskBank=Compte bancaire
CashDeskBankCash=Compte bancaire (liquide)
CashDeskBankCB=Compte bancaire (cartes)
CashDeskBankCheque=Compte bancaire (chèques)
CashDeskWarehouse=Entrepôt
CashDeskThirdParty=Tiers
ShoppingCart=Panier
......
......@@ -24,8 +24,12 @@ include_once(DOL_DOCUMENT_ROOT.'/product/stock/entrepot.class.php');
$company=new Societe($db);
$company->fetch($conf->global->CASHDESK_ID_THIRDPARTY);
$bank=new Account($db);
$bank->fetch($conf->global->CASHDESK_ID_BANKACCOUNT);
$bankcash=new Account($db);
$bankcash->fetch($conf->global->CASHDESK_ID_BANKACCOUNT);
$bankcb=new Account($db);
$bankcb->fetch($conf->global->CASHDESK_ID_BANKACCOUNT_CB);
$bankcheque=new Account($db);
$bankcheque->fetch($conf->global->CASHDESK_ID_BANKACCOUNT_CHEQUE);
$warehouse=new Entrepot($db);
//$warehouse->fetch($conf->global->CASHDESK_ID_WAREHOUSE);
......@@ -42,7 +46,9 @@ print '<li class="menu_choix2"><a href=".."><span>'.$langs->trans("BackOffice").
print '<li class="menu_choix0">'.$langs->trans("User").' : '.$_SESSION['prenom'].' '.$_SESSION['nom'].' <a href="deconnexion.php">'.$logout.'</a><br>';
print $langs->trans("CashDeskThirdParty").' : '.$company->getNomUrl(1).'<br>';
print $langs->trans("CashDeskBank").' : '.$bank->getNomUrl(1).'<br>';
print $langs->trans("CashDeskBankCash").' : '.$bankcash->getNomUrl(1).'<br>';
print $langs->trans("CashDeskBankCB").' : '.$bankcb->getNomUrl(1).'<br>';
print $langs->trans("CashDeskBankCheque").' : '.$bankcheque->getNomUrl(1).'<br>';
if ($conf->stock->enabled && $warehouse->id) // Disabled because warehouse->fetch disabled before
{
print $langs->trans("CashDeskWarehouse").' : '.$warehouse->getNomUrl(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment