Correzione link statistiche Anagrafiche

This commit is contained in:
Thomas Zilio 2019-05-03 15:49:46 -07:00
parent bbddd9dc0c
commit 04df84ecd1
1 changed files with 6 additions and 6 deletions

View File

@ -17,7 +17,7 @@ echo '
<span class="info-box-icon bg-'.(count($rsi) == 0 ? 'gray' : 'aqua').'"><i class="fa fa-question"></i></span> <span class="info-box-icon bg-'.(count($rsi) == 0 ? 'gray' : 'aqua').'"><i class="fa fa-question"></i></span>
<div class="info-box-content"> <div class="info-box-content">
<span class="info-box-text pull-left">'.tr('Preventivi').'</span> <span class="info-box-text pull-left">'.tr('Preventivi').'</span>
'.(count($rsi) > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Preventivi')['id'].'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').' '.(count($rsi) > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Preventivi')['id'].'&search_Cliente='.$rsi[0]['ragione_sociale'].'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').'
<br class="clearfix"> <br class="clearfix">
<span class="info-box-number"> <span class="info-box-number">
<big>'.count($rsi).'</big><br> <big>'.count($rsi).'</big><br>
@ -42,7 +42,7 @@ echo '
<span class="info-box-icon bg-'.(count($rsi) == 0 ? 'gray' : 'purple').'"><i class="fa fa-refresh"></i></span> <span class="info-box-icon bg-'.(count($rsi) == 0 ? 'gray' : 'purple').'"><i class="fa fa-refresh"></i></span>
<div class="info-box-content"> <div class="info-box-content">
<span class="info-box-text pull-left">'.tr('Contratti').'</span> <span class="info-box-text pull-left">'.tr('Contratti').'</span>
'.(count($rsi) > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Contratti')['id'].'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').' '.(count($rsi) > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Contratti')['id'].'&search_Cliente='.$rsi[0]['ragione_sociale'].'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').'
<br class="clearfix"> <br class="clearfix">
<span class="info-box-number"> <span class="info-box-number">
<big>'.count($rsi).'</big><br> <big>'.count($rsi).'</big><br>
@ -67,7 +67,7 @@ echo '
<span class="info-box-icon bg-'.(count($rsi) == 0 ? 'gray' : 'blue').'"><i class="fa fa-file-text"></i></span> <span class="info-box-icon bg-'.(count($rsi) == 0 ? 'gray' : 'blue').'"><i class="fa fa-file-text"></i></span>
<div class="info-box-content"> <div class="info-box-content">
<span class="info-box-text pull-left">'.tr('Ordini cliente').'</span> <span class="info-box-text pull-left">'.tr('Ordini cliente').'</span>
'.(count($rsi) > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Ordini cliente')['id'].'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').' '.(count($rsi) > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Ordini cliente')['id'].'&search_Ragione-sociale='.$rsi[0]['ragione_sociale'].'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').'
<br class="clearfix"> <br class="clearfix">
<span class="info-box-number"> <span class="info-box-number">
<big>'.count($rsi).'</big><br> <big>'.count($rsi).'</big><br>
@ -100,7 +100,7 @@ echo '
<span class="info-box-icon bg-'.(count($rsi) == 0 ? 'gray' : 'red').'"><i class="fa fa-cog"></i></span> <span class="info-box-icon bg-'.(count($rsi) == 0 ? 'gray' : 'red').'"><i class="fa fa-cog"></i></span>
<div class="info-box-content"> <div class="info-box-content">
<span class="info-box-text pull-left">'.tr('Attività').'</span> <span class="info-box-text pull-left">'.tr('Attività').'</span>
'.(count($rsi) > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Interventi')['id'].'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').' '.(count($rsi) > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Interventi')['id'].'&search_Ragione-sociale='.$rsi[0]['ragione_sociale'].'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').'
<br class="clearfix"> <br class="clearfix">
<span class="info-box-number"> <span class="info-box-number">
<big>'.count($rsi).'</big><br> <big>'.count($rsi).'</big><br>
@ -125,7 +125,7 @@ echo '
<span class="info-box-icon bg-'.(count($rsi) == 0 ? 'gray' : 'maroon').'"><i class="fa fa-truck"></i></span> <span class="info-box-icon bg-'.(count($rsi) == 0 ? 'gray' : 'maroon').'"><i class="fa fa-truck"></i></span>
<div class="info-box-content"> <div class="info-box-content">
<span class="info-box-text pull-left">'.tr('Ddt in uscita').'</span> <span class="info-box-text pull-left">'.tr('Ddt in uscita').'</span>
'.(count($rsi) > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Ddt di vendita')['id'].'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').' '.(count($rsi) > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Ddt di vendita')['id'].'&search_Ragione-sociale='.$rsi[0]['ragione_sociale'].'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').'
<br class="clearfix"> <br class="clearfix">
<span class="info-box-number"> <span class="info-box-number">
<big>'.count($rsi).'</big><br> <big>'.count($rsi).'</big><br>
@ -150,7 +150,7 @@ echo '
<span class="info-box-icon bg-'.(count($rsi) == 0 ? 'gray' : 'green').'"><i class="fa fa-money"></i></span> <span class="info-box-icon bg-'.(count($rsi) == 0 ? 'gray' : 'green').'"><i class="fa fa-money"></i></span>
<div class="info-box-content"> <div class="info-box-content">
<span class="info-box-text pull-left">'.tr('Fatture').'</span> <span class="info-box-text pull-left">'.tr('Fatture').'</span>
'.(count($rsi) > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Fatture di vendita')['id'].'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').' '.(count($rsi) > 0 ? '<span class="info-box-text pull-right"><a href="'.$rootdir.'/controller.php?id_module='.Modules::get('Fatture di vendita')['id'].'&search_Ragione-sociale='.$rsi[0]['ragione_sociale'].'">'.tr('Visualizza').' <i class="fa fa-chevron-circle-right"></i></a></span>' : '').'
<br class="clearfix"> <br class="clearfix">
<span class="info-box-number"> <span class="info-box-number">
<big>'.count($rsi).'</big><br> <big>'.count($rsi).'</big><br>