diff --git a/public/userarea/manager_produzione.php b/public/userarea/manager_produzione.php
index 5891ae1..4dfb8f7 100644
--- a/public/userarea/manager_produzione.php
+++ b/public/userarea/manager_produzione.php
@@ -12,6 +12,7 @@ $sql = "
SELECT
p.*,
m.nome AS matrice,
+ m.photo AS matrice_photo,
l.name AS linea,
c.nome AS cliente,
s.nome AS status_nome,
@@ -222,7 +223,20 @@ $rows_special = array_filter($rows, function ($r) {
data-seconds="= $sec ?>"
style="--rowcolor: = htmlspecialchars($r['line_color']) ?>;">
= htmlspecialchars($r['conferma_ordine'] ?? '') ?> |
- = htmlspecialchars($r['matrice']) ?> |
+
+ = htmlspecialchars($r['matrice']) ?>
+
+
+
+
+
+ |
+
"
style="background-color: = htmlspecialchars($r['line_color']) ?>;">
= htmlspecialchars($r['conferma_ordine'] ?? '') ?> |
- = htmlspecialchars($r['matrice']) ?> |
+
+ = htmlspecialchars($r['matrice']) ?>
+
+
+
+
+
+ |
+
= htmlspecialchars($r['conferma_ordine']) ?>
- = htmlspecialchars($r['matrice']) ?> |
+
+ = htmlspecialchars($r['matrice']) ?>
+
+
+
+
+
+ |
+
= htmlspecialchars($r['mescola']) ?> |
= htmlspecialchars($r['linea']) ?> |
= htmlspecialchars($r['cliente']) ?> |
@@ -513,7 +527,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && !empty($_POST['action'])) {
|
- Priority |
+ P. |
Conf. Ord. |
Matrice |
Mescola |
@@ -1100,18 +1114,19 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && !empty($_POST['action'])) {
$("#imagePreviewModal").css("display", "flex");
});
- // Chiudi con X
- $("#previewCloseX").on("click", function() {
+ // Chiudi con X (delegato)
+ $(document).on("click", "#previewCloseX", function() {
$("#imagePreviewModal").hide();
});
- // Chiudi cliccando fuori
- $("#imagePreviewModal").on("click", function(e) {
+ // Chiudi cliccando fuori (delegato)
+ $(document).on("click", "#imagePreviewModal", function(e) {
if (e.target.id === "imagePreviewModal") {
$("#imagePreviewModal").hide();
}
});
+
$(document).on("click", ".view-mescole-btn", function() {
let names = $(this).data("names");
diff --git a/public/userarea/row_production.php b/public/userarea/row_production.php
index 5bc8b0c..d85f874 100644
--- a/public/userarea/row_production.php
+++ b/public/userarea/row_production.php
@@ -23,13 +23,32 @@
- = $r['matrice'] ?>
-
+
+
+
+
+ = htmlspecialchars($r['matrice']) ?>
+
+
+
+
+
+
+  ?>)
+
+
+
|
+
|