@@ -225,31 +233,52 @@
diff --git a/public/userarea/production_dashboard.php b/public/userarea/production_dashboard.php
index 231917e0..456abb00 100644
--- a/public/userarea/production_dashboard.php
+++ b/public/userarea/production_dashboard.php
@@ -78,7 +78,7 @@ $dashboardSections = [
[
'id' => 'secVendite',
'title' => 'Business Overview',
- 'subtitle' => 'Ordini clienti, fatturato, clienti e consegne (dati Mago)',
+ 'subtitle' => 'Ordini, fatturato, clienti, prezzi e margini delle matrici, preventivi e consegne (dati Mago)',
'icon' => '💶',
'open' => false,
'buttons' => [
@@ -110,6 +110,20 @@ $dashboardSections = [
'url' => 'sales_customer.php',
'permission' => 'sales.stats.view',
],
+ [
+ 'label' => 'Matrici e prezzi',
+ 'icon' => '💎',
+ 'class' => 'btn-sales-matrici',
+ 'url' => 'sales_matrici.php',
+ 'permission' => 'sales.matrici.view',
+ ],
+ [
+ 'label' => 'Preventivo',
+ 'icon' => '🧮',
+ 'class' => 'btn-sales-quote',
+ 'url' => 'sales_preventivo.php',
+ 'permission' => 'sales.quote.view',
+ ],
[
'label' => 'Consegne',
'icon' => '🚚',
@@ -547,6 +561,16 @@ $dashboardSections = [
background: linear-gradient(135deg, #fde68a, #fef3c7);
}
+ .btn-sales-matrici {
+ background: linear-gradient(135deg, #ddd6fe, #ede9fe);
+ color: #4c1d95;
+ }
+
+ .btn-sales-quote {
+ background: linear-gradient(135deg, #99f6e4, #ccfbf1);
+ color: #134e4a;
+ }
+
/* Tablet/mobile */
@media (max-width: 992px) {
.dashboard-grid {