diff --git a/public/userarea/photos/matrici/allegati/matrice_1048_20260331_093745_62d38b1e.heic b/public/userarea/photos/matrici/allegati/matrice_1048_20260331_093745_62d38b1e.heic
new file mode 100644
index 0000000..01c10de
Binary files /dev/null and b/public/userarea/photos/matrici/allegati/matrice_1048_20260331_093745_62d38b1e.heic differ
diff --git a/public/userarea/photos/matrici/allegati/matrice_1048_20260331_093745_77dc1984.heic b/public/userarea/photos/matrici/allegati/matrice_1048_20260331_093745_77dc1984.heic
new file mode 100644
index 0000000..ee5594d
Binary files /dev/null and b/public/userarea/photos/matrici/allegati/matrice_1048_20260331_093745_77dc1984.heic differ
diff --git a/public/userarea/photos/matrici/allegati/matrice_72_20260331_092149_f8f9c3f1.jpg b/public/userarea/photos/matrici/allegati/matrice_72_20260331_092149_f8f9c3f1.jpg
new file mode 100644
index 0000000..1c036ec
Binary files /dev/null and b/public/userarea/photos/matrici/allegati/matrice_72_20260331_092149_f8f9c3f1.jpg differ
diff --git a/public/userarea/photos/matrici/allegati/matrice_72_20260331_092149_fae81802.jpg b/public/userarea/photos/matrici/allegati/matrice_72_20260331_092149_fae81802.jpg
new file mode 100644
index 0000000..dd1ec4d
Binary files /dev/null and b/public/userarea/photos/matrici/allegati/matrice_72_20260331_092149_fae81802.jpg differ
diff --git a/public/userarea/production_line_view2.php b/public/userarea/production_line_view2.php
index fc39c95..a20826d 100644
--- a/public/userarea/production_line_view2.php
+++ b/public/userarea/production_line_view2.php
@@ -676,7 +676,7 @@ if (!empty($_GET['ajax'])) {
color: #cbd5e1;
}
- .modal {
+ .custom-modal {
display: none;
/* di default invisibile */
position: fixed;
@@ -691,11 +691,11 @@ if (!empty($_GET['ajax'])) {
}
/* quando la modale è attiva, la centriamo */
- .modal.active {
+ .custom-modal.active {
display: flex !important;
}
- .modal-content {
+ .custom-modal .modal-content {
background: white;
padding: 2rem;
border-radius: 1.2rem;
@@ -795,7 +795,7 @@ if (!empty($_GET['ajax'])) {
/* Modale più grande e ottimizzata */
- .modal-content.final-wide {
+ .custom-modal .modal-content.final-wide {
width: 95%;
max-width: 780px;
}
@@ -936,6 +936,180 @@ if (!empty($_GET['ajax'])) {
.show-matrice-files i {
font-size: 1.5rem;
}
+
+ .modal-backdrop.show {
+ z-index: 1050 !important;
+ }
+
+ .modal.show {
+ z-index: 1055 !important;
+ }
+
+ .modal-worksheet-list {
+ max-width: 1320px;
+ width: 97vw;
+ }
+
+ .modal-worksheet-view {
+ max-width: 1500px;
+ width: 97vw;
+ }
+
+ .worksheet-badge-fl {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ min-width: 68px;
+ padding: 6px 12px;
+ border-radius: 999px;
+ background: #e8f7ee;
+ color: #198754;
+ font-weight: 800;
+ font-size: .85rem;
+ }
+
+ .worksheet-badge-rev {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ min-width: 54px;
+ padding: 6px 10px;
+ border-radius: 999px;
+ background: #e7f1ff;
+ color: #0d6efd;
+ font-weight: 700;
+ font-size: .84rem;
+ }
+
+ .worksheet-badge-status-active {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ min-width: 88px;
+ padding: 6px 10px;
+ border-radius: 999px;
+ background: #d1e7dd;
+ color: #0f5132;
+ font-weight: 700;
+ font-size: .84rem;
+ }
+
+ .worksheet-badge-status-inactive {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ min-width: 88px;
+ padding: 6px 10px;
+ border-radius: 999px;
+ background: #f8d7da;
+ color: #842029;
+ font-weight: 700;
+ font-size: .84rem;
+ }
+
+ .worksheet-list-table th {
+ background: #e7f1ff !important;
+ color: #0b3d91;
+ }
+
+ .worksheet-chip {
+ display: inline-flex;
+ align-items: center;
+ gap: 6px;
+ padding: 4px 10px;
+ border-radius: 999px;
+ background: #e7f1ff;
+ color: #0d6efd;
+ font-weight: 700;
+ font-size: .82rem;
+ }
+
+ .readonly-card {
+ border: 1px solid #e9ecef;
+ border-radius: 16px;
+ background: #fff;
+ overflow: hidden;
+ box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
+ height: 100%;
+ }
+
+ .readonly-card-header {
+ background: linear-gradient(135deg, #e7f1ff, #d6e9ff);
+ color: #0b3d91;
+ font-weight: 800;
+ padding: 12px 16px;
+ border-bottom: 1px solid #cfe2ff;
+ }
+
+ .readonly-card-body {
+ padding: 16px;
+ text-align: left;
+ }
+
+ .readonly-grid {
+ display: grid;
+ grid-template-columns: 220px 1fr;
+ gap: 8px 16px;
+ }
+
+ .readonly-label {
+ font-weight: 700;
+ color: #495057;
+ }
+
+ .readonly-value {
+ color: #1f2d3d;
+ word-break: break-word;
+ }
+
+ .worksheet-open-link {
+ background: #fff;
+ border: 1px solid #b6d4fe;
+ color: #0d6efd;
+ font-weight: 700;
+ border-radius: 10px;
+ padding: 9px 14px;
+ text-decoration: none;
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ }
+
+ .worksheet-open-link:hover {
+ color: #0a58ca;
+ background: #f4f9ff;
+ }
+
+ .worksheet-title-box {
+ background: linear-gradient(135deg, #0d6efd, #3b82f6);
+ color: #fff;
+ border-radius: 18px;
+ padding: 18px 20px;
+ box-shadow: 0 8px 24px rgba(13, 110, 253, 0.2);
+ }
+
+ .worksheet-title-box small {
+ color: rgba(255, 255, 255, .9);
+ }
+
+ .mix-readonly-table thead th {
+ background: #dbeafe !important;
+ color: #0b3d91;
+ }
+
+ .btn-view-worksheet {
+ background: linear-gradient(135deg, #0d6efd, #3b82f6);
+ color: #fff;
+ border: 0;
+ border-radius: 8px;
+ padding: 8px 14px;
+ font-weight: 700;
+ }
+
+ .btn-view-worksheet:hover {
+ color: #fff;
+ opacity: .95;
+ }
@@ -989,7 +1163,7 @@ if (!empty($_GET['ajax'])) {
-
+
Conferma azione
@@ -1034,7 +1208,7 @@ if (!empty($_GET['ajax'])) {
-
+
Dati Fine Produzione
Confronta i valori teorici e inserisci quelli reali:
@@ -1188,7 +1362,8 @@ if (!empty($_GET['ajax'])) {
$("#photoModal").removeClass("active");
});
-
+
+
-
+
@@ -2065,7 +2237,7 @@ if (!empty($_GET['ajax'])) {
-
+
Mescole utilizzate
@@ -2097,7 +2269,7 @@ if (!empty($_GET['ajax'])) {
-
+
@@ -2120,7 +2292,7 @@ if (!empty($_GET['ajax'])) {
-
+
Anteprima file
diff --git a/public/userarea/render_production_card.php b/public/userarea/render_production_card.php
index 0499e28..8e567bc 100644
--- a/public/userarea/render_production_card.php
+++ b/public/userarea/render_production_card.php
@@ -205,14 +205,27 @@ if ($matricePhoto) {
-
-
+
+
+
+
+
+
+
+
@@ -242,24 +255,50 @@ if ($matricePhoto) {
-
+