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

Trad

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