Still working on new menu management.
This commit is contained in:
parent
baad1ffc56
commit
22402c38f8
@ -206,10 +206,11 @@ class MenuManager
|
||||
//var_dump($canonrelurl);
|
||||
//var_dump($canonnexturl);
|
||||
print '<ul>';
|
||||
if ($canonrelurl != $canonnexturl && ! in_array($val['mainmenu'],array('home','tools')))
|
||||
{
|
||||
if ($canonrelurl != $canonnexturl && ! in_array($val['mainmenu'],array('home','tools'))
|
||||
|| strpos($canonrelurl,'/product/index.php') || strpos($canonrelurl,'/compta/bank/index.php'))
|
||||
{
|
||||
// We add sub entry
|
||||
print '<li data-role="list-divider"><a href="'.$relurl.'">'.$langs->trans("MainArea").'-'.$val['titre'].'</a></li>'."\n";
|
||||
print '<li data-role="list-divider"><a href="'.$relurl.'">'.$langs->trans(ucfirst($val['mainmenu'])."Dashboard").'</a></li>'."\n";
|
||||
}
|
||||
foreach($submenu->liste as $key2 => $val2) // $val['url','titre','level','enabled'=0|1|2,'target','mainmenu','leftmenu'
|
||||
{
|
||||
|
||||
@ -160,10 +160,11 @@ class MenuManager
|
||||
//var_dump($canonrelurl);
|
||||
//var_dump($canonnexturl);
|
||||
print '<ul>';
|
||||
if ($canonrelurl != $canonnexturl && ! in_array($val['mainmenu'],array('home','tools')))
|
||||
if ($canonrelurl != $canonnexturl && ! in_array($val['mainmenu'],array('home','tools'))
|
||||
|| strpos($canonrelurl,'/product/index.php') || strpos($canonrelurl,'/compta/bank/index.php'))
|
||||
{
|
||||
// We add sub entry
|
||||
print '<li data-role="list-divider"><a href="'.$relurl.'">'.$langs->trans("MainArea").'-'.$val['titre'].'</a></li>'."\n";
|
||||
print '<li data-role="list-divider"><a href="'.$relurl.'">'.$langs->trans(ucfirst($val['mainmenu'])."Dashboard").'</a></li>'."\n";
|
||||
}
|
||||
foreach($submenu->liste as $key2 => $val2) // $val['url','titre','level','enabled'=0|1|2,'target','mainmenu','leftmenu'
|
||||
{
|
||||
|
||||
@ -147,4 +147,5 @@ SelectChequeTransactionAndGenerate=Select/filter checks to include into the chec
|
||||
InputReceiptNumber=Choose the bank statement related with the conciliation. Use a sortable numeric value (such as, YYYYMM)
|
||||
EventualyAddCategory=Eventually, specify a category in which to classify the records
|
||||
ToConciliate=To conciliate?
|
||||
ThenCheckLinesAndConciliate=Then, check the lines present in the bank statement and click
|
||||
ThenCheckLinesAndConciliate=Then, check the lines present in the bank statement and click
|
||||
BankDashboard=Bank accounts summary
|
||||
@ -91,4 +91,5 @@ RecapAnnee=Summary of the year
|
||||
NoData=There is no data
|
||||
StatusProsp=Prospect status
|
||||
DraftPropals=Draft commercial proposals
|
||||
SearchPropal=Search a commercial proposal
|
||||
SearchPropal=Search a commercial proposal
|
||||
CommercialDashboard=Commercial summary
|
||||
@ -151,4 +151,5 @@ Pcg_version=Pcg version
|
||||
Pcg_type=Pcg type
|
||||
Pcg_subtype=Pcg subtype
|
||||
InvoiceLinesToDispatch=Invoice lines to dispatch
|
||||
InvoiceDispatched=Dispatched invoices
|
||||
InvoiceDispatched=Dispatched invoices
|
||||
AccountancyDashboard=Accountancy summary
|
||||
@ -183,4 +183,5 @@ CurrentProductPrice=Current price
|
||||
AlwaysUseNewPrice=Always use current price of product/service
|
||||
AlwaysUseFixedPrice=Use the fixed price
|
||||
PriceByQuantity=Price by quantity
|
||||
PriceByQuantityRange=Quantity range
|
||||
PriceByQuantityRange=Quantity range
|
||||
ProductsDashboard=Products/Services summary
|
||||
@ -147,4 +147,5 @@ SelectChequeTransactionAndGenerate=Sélectionner/filtrer les chèques à inclure
|
||||
InputReceiptNumber=Saisissez le relevé bancaire concerné par le rapprochement. Utilisez une valeur numérique triable (par exemple YYYYMM)
|
||||
EventualyAddCategory=Eventuellement, saisissez une catégorie dans laquelle classer les écritures
|
||||
ToConciliate=A rapprocher ?
|
||||
ThenCheckLinesAndConciliate=Ensuite, cochez les lignes présentes sur le relevé et cliquez sur
|
||||
ThenCheckLinesAndConciliate=Ensuite, cochez les lignes présentes sur le relevé et cliquez sur
|
||||
BankDashboard=Synthèse comptes bancaires
|
||||
@ -92,3 +92,4 @@ NoData=Aucune donnée
|
||||
StatusProsp=Status prospection
|
||||
DraftPropals=Propositions brouillons
|
||||
SearchPropal=Rechercher une proposition
|
||||
CommercialDashboard=Synthèse commercial
|
||||
|
||||
@ -162,4 +162,5 @@ Pcg_version=Version du plan
|
||||
Pcg_type=Classe de compte
|
||||
Pcg_subtype=Sous classe de compte
|
||||
InvoiceLinesToDispatch=Lignes de factures à ventiler
|
||||
InvoiceDispatched=Factures ventilées
|
||||
InvoiceDispatched=Factures ventilées
|
||||
AccountancyDashboard=Synthèse compta/tréso
|
||||
@ -183,4 +183,5 @@ CurrentProductPrice=Prix actuel
|
||||
AlwaysUseNewPrice=Toujours utiliser le prix du jour
|
||||
AlwaysUseFixedPrice=Utiliser le prix fixé
|
||||
PriceByQuantity=Prix par quantité
|
||||
PriceByQuantityRange=Grille de quantités
|
||||
PriceByQuantityRange=Grille de quantités
|
||||
ProductsDashboard=Synthèse produits/services
|
||||
Loading…
Reference in New Issue
Block a user