added sales dashboard
This commit is contained in:
@@ -75,6 +75,50 @@ $dashboardSections = [
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'id' => 'secVendite',
|
||||
'title' => 'Vendite',
|
||||
'subtitle' => 'Ordini clienti, fatturato, clienti e consegne (dati Mago)',
|
||||
'icon' => '💶',
|
||||
'open' => false,
|
||||
'buttons' => [
|
||||
[
|
||||
'label' => 'Sommario',
|
||||
'icon' => '🚦',
|
||||
'class' => 'btn-sales-summary',
|
||||
'url' => 'sales_summary.php',
|
||||
'permission' => 'sales.stats.view',
|
||||
],
|
||||
[
|
||||
'label' => 'Andamento ordini',
|
||||
'icon' => '🧾',
|
||||
'class' => 'btn-sales',
|
||||
'url' => 'sales_orders_stats.php',
|
||||
'permission' => 'sales.stats.view',
|
||||
],
|
||||
[
|
||||
'label' => 'Confronto anni',
|
||||
'icon' => '📊',
|
||||
'class' => 'btn-sales',
|
||||
'url' => 'sales_orders_years.php',
|
||||
'permission' => 'sales.stats.view',
|
||||
],
|
||||
[
|
||||
'label' => 'Scheda cliente',
|
||||
'icon' => '🪪',
|
||||
'class' => 'btn-sales',
|
||||
'url' => 'sales_customer.php',
|
||||
'permission' => 'sales.stats.view',
|
||||
],
|
||||
[
|
||||
'label' => 'Consegne',
|
||||
'icon' => '🚚',
|
||||
'class' => 'btn-sales-deliveries',
|
||||
'url' => 'sales_orders_deliveries.php',
|
||||
'permission' => 'sales.deliveries.view',
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'id' => 'secAnagrafiche',
|
||||
'title' => 'Anagrafiche',
|
||||
@@ -490,6 +534,19 @@ $dashboardSections = [
|
||||
background: linear-gradient(135deg, #e5e7eb, #f3f4f6);
|
||||
}
|
||||
|
||||
.btn-sales-summary {
|
||||
background: linear-gradient(135deg, #198754, #3bb77e);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.btn-sales {
|
||||
background: linear-gradient(135deg, #b9ebc7, #dcf7e4);
|
||||
}
|
||||
|
||||
.btn-sales-deliveries {
|
||||
background: linear-gradient(135deg, #fde68a, #fef3c7);
|
||||
}
|
||||
|
||||
/* Tablet/mobile */
|
||||
@media (max-width: 992px) {
|
||||
.dashboard-grid {
|
||||
|
||||
Reference in New Issue
Block a user