mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-17 18:59:21 +01:00
Fix URL per anagrafiche
This commit is contained in:
parent
88ca847d8c
commit
c700191a53
@ -90,7 +90,7 @@ echo '
|
||||
<span class="info-box-icon bg-'.($preventivi->count() == 0 ? 'gray' : 'aqua').'"><i class="fa fa-question"></i></span>
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-text pull-left">'.tr('Preventivi').'</span>
|
||||
'.($preventivi->count() > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Preventivi')['id'].'&search_Cliente='.$anagrafica['ragione_sociale'].'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').'
|
||||
'.($preventivi->count() > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Preventivi')['id'].'&search_Cliente='.rawurlencode($anagrafica['ragione_sociale']).'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').'
|
||||
<br class="clearfix">
|
||||
<span class="info-box-number">
|
||||
<big>'.$preventivi->count().'</big><br>
|
||||
@ -105,7 +105,7 @@ echo '
|
||||
<span class="info-box-icon bg-'.($contratti->count() == 0 ? 'gray' : 'purple').'"><i class="fa fa-refresh"></i></span>
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-text pull-left">'.tr('Contratti').'</span>
|
||||
'.($contratti->count() > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Contratti')['id'].'&search_Cliente='.$anagrafica['ragione_sociale'].'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').'
|
||||
'.($contratti->count() > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Contratti')['id'].'&search_Cliente='.rawurlencode($anagrafica['ragione_sociale']).'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').'
|
||||
<br class="clearfix">
|
||||
<span class="info-box-number">
|
||||
<big>'.$contratti->count().'</big><br>
|
||||
@ -120,7 +120,7 @@ echo '
|
||||
<span class="info-box-icon bg-'.($ordini_cliente->count() == 0 ? 'gray' : 'blue').'"><i class="fa fa-file-text"></i></span>
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-text pull-left">'.tr('Ordini cliente').'</span>
|
||||
'.($ordini_cliente->count() > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Ordini cliente')['id'].'&search_Ragione-sociale='.$anagrafica['ragione_sociale'].'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').'
|
||||
'.($ordini_cliente->count() > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Ordini cliente')['id'].'&search_Ragione-sociale='.rawurlencode($anagrafica['ragione_sociale']).'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').'
|
||||
<br class="clearfix">
|
||||
<span class="info-box-number">
|
||||
<big>'.$ordini_cliente->count().'</big><br>
|
||||
@ -137,7 +137,7 @@ echo '
|
||||
<span class="info-box-icon bg-'.($interventi->count() == 0 ? 'gray' : 'red').'"><i class="fa fa-cog"></i></span>
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-text pull-left">'.tr('Attività').'</span>
|
||||
'.($interventi->count() > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Interventi')['id'].'&search_Ragione-sociale='.$anagrafica['ragione_sociale'].'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').'
|
||||
'.($interventi->count() > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Interventi')['id'].'&search_Ragione-sociale='.rawurlencode($anagrafica['ragione_sociale']).'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').'
|
||||
<br class="clearfix">
|
||||
<span class="info-box-number">
|
||||
<big>'.$interventi->count().'</big><br>
|
||||
@ -152,7 +152,7 @@ echo '
|
||||
<span class="info-box-icon bg-'.($ddt_uscita->count() == 0 ? 'gray' : 'maroon').'"><i class="fa fa-truck"></i></span>
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-text pull-left">'.tr('Ddt in uscita').'</span>
|
||||
'.($ddt_uscita->count() > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Ddt di vendita')['id'].'&search_Ragione-sociale='.$anagrafica['ragione_sociale'].'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').'
|
||||
'.($ddt_uscita->count() > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Ddt di vendita')['id'].'&search_Ragione-sociale='.rawurlencode($anagrafica['ragione_sociale']).'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').'
|
||||
<br class="clearfix">
|
||||
<span class="info-box-number">
|
||||
<big>'.$ddt_uscita->count().'</big><br>
|
||||
@ -167,7 +167,7 @@ echo '
|
||||
<span class="info-box-icon bg-'.($fatture_vendita->count() == 0 ? 'gray' : 'green').'"><i class="fa fa-money"></i></span>
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-text pull-left">'.tr('Fatture').'</span>
|
||||
'.($fatture_vendita->count() > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Fatture di vendita')['id'].'&search_Ragione-sociale='.$anagrafica['ragione_sociale'].'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').'
|
||||
'.($fatture_vendita->count() > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Fatture di vendita')['id'].'&search_Ragione-sociale='.rawurlencode($anagrafica['ragione_sociale']).'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').'
|
||||
<br class="clearfix">
|
||||
<span class="info-box-number">
|
||||
<big>'.$fatture_vendita->count().'</big><br>
|
||||
|
Loading…
Reference in New Issue
Block a user