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($canonrelurl);
|
||||||
//var_dump($canonnexturl);
|
//var_dump($canonnexturl);
|
||||||
print '<ul>';
|
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
|
// 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'
|
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($canonrelurl);
|
||||||
//var_dump($canonnexturl);
|
//var_dump($canonnexturl);
|
||||||
print '<ul>';
|
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
|
// 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'
|
foreach($submenu->liste as $key2 => $val2) // $val['url','titre','level','enabled'=0|1|2,'target','mainmenu','leftmenu'
|
||||||
{
|
{
|
||||||
|
|||||||
@ -148,3 +148,4 @@ InputReceiptNumber=Choose the bank statement related with the conciliation. Use
|
|||||||
EventualyAddCategory=Eventually, specify a category in which to classify the records
|
EventualyAddCategory=Eventually, specify a category in which to classify the records
|
||||||
ToConciliate=To conciliate?
|
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
|
||||||
@ -92,3 +92,4 @@ NoData=There is no data
|
|||||||
StatusProsp=Prospect status
|
StatusProsp=Prospect status
|
||||||
DraftPropals=Draft commercial proposals
|
DraftPropals=Draft commercial proposals
|
||||||
SearchPropal=Search a commercial proposal
|
SearchPropal=Search a commercial proposal
|
||||||
|
CommercialDashboard=Commercial summary
|
||||||
@ -152,3 +152,4 @@ Pcg_type=Pcg type
|
|||||||
Pcg_subtype=Pcg subtype
|
Pcg_subtype=Pcg subtype
|
||||||
InvoiceLinesToDispatch=Invoice lines to dispatch
|
InvoiceLinesToDispatch=Invoice lines to dispatch
|
||||||
InvoiceDispatched=Dispatched invoices
|
InvoiceDispatched=Dispatched invoices
|
||||||
|
AccountancyDashboard=Accountancy summary
|
||||||
@ -184,3 +184,4 @@ AlwaysUseNewPrice=Always use current price of product/service
|
|||||||
AlwaysUseFixedPrice=Use the fixed price
|
AlwaysUseFixedPrice=Use the fixed price
|
||||||
PriceByQuantity=Price by quantity
|
PriceByQuantity=Price by quantity
|
||||||
PriceByQuantityRange=Quantity range
|
PriceByQuantityRange=Quantity range
|
||||||
|
ProductsDashboard=Products/Services summary
|
||||||
@ -148,3 +148,4 @@ InputReceiptNumber=Saisissez le relevé bancaire concerné par le rapprochement.
|
|||||||
EventualyAddCategory=Eventuellement, saisissez une catégorie dans laquelle classer les écritures
|
EventualyAddCategory=Eventuellement, saisissez une catégorie dans laquelle classer les écritures
|
||||||
ToConciliate=A rapprocher ?
|
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
|
StatusProsp=Status prospection
|
||||||
DraftPropals=Propositions brouillons
|
DraftPropals=Propositions brouillons
|
||||||
SearchPropal=Rechercher une proposition
|
SearchPropal=Rechercher une proposition
|
||||||
|
CommercialDashboard=Synthèse commercial
|
||||||
|
|||||||
@ -163,3 +163,4 @@ Pcg_type=Classe de compte
|
|||||||
Pcg_subtype=Sous classe de compte
|
Pcg_subtype=Sous classe de compte
|
||||||
InvoiceLinesToDispatch=Lignes de factures à ventiler
|
InvoiceLinesToDispatch=Lignes de factures à ventiler
|
||||||
InvoiceDispatched=Factures ventilées
|
InvoiceDispatched=Factures ventilées
|
||||||
|
AccountancyDashboard=Synthèse compta/tréso
|
||||||
@ -184,3 +184,4 @@ AlwaysUseNewPrice=Toujours utiliser le prix du jour
|
|||||||
AlwaysUseFixedPrice=Utiliser le prix fixé
|
AlwaysUseFixedPrice=Utiliser le prix fixé
|
||||||
PriceByQuantity=Prix par quantité
|
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