fixed drag

This commit is contained in:
2025-11-22 20:00:40 +01:00
parent 8edccbdfef
commit 779821a08b
2 changed files with 134 additions and 43 deletions
@@ -425,6 +425,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && !empty($_POST['action'])) {
<table id="tabProgrammati" class="table table-hover align-middle" style="width:100%">
<thead>
<tr>
<th style="width:30px;"></th>
<th>Priority</th>
<th>Matrice</th>
<th>Mescola</th>
@@ -437,7 +438,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && !empty($_POST['action'])) {
<th>kg p</th>
<th>Ore</th>
<th>Note</th>
<th>Prod.</th>
<th>Status</th>
<th style="width: 80px;">Azioni</th>
</tr>
@@ -448,7 +448,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && !empty($_POST['action'])) {
<?php if ($r['id_status'] != 6) continue; ?>
<tr data-id="<?= $r['id'] ?>" data-status="6" data-priority="<?= $r['priority'] ?? '' ?>"
style="background-color: <?= $r['line_color'] ?> !important;">
<?php include 'row_production.php'; ?>
<?php $is_da_programmare = true;
include 'row_production.php'; ?>
</tr>
<?php endforeach; ?>
</tbody>
@@ -465,7 +466,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && !empty($_POST['action'])) {
<table id="tabDaProgrammare" class="table table-hover align-middle" style="width:100%">
<thead>
<tr>
<th>Data</th>
<th style="width:30px;"></th>
<th></th>
<th>Matrice</th>
<th>Mescola</th>
<th>Linea</th>
@@ -477,7 +479,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && !empty($_POST['action'])) {
<th>kg p</th>
<th>Ore</th>
<th>Note</th>
<th>Prod.</th>
<th>Status</th>
<th style="width: 80px;">Azioni</th>
</tr>
@@ -488,7 +489,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && !empty($_POST['action'])) {
<?php if ($r['id_status'] != 1) continue; ?>
<tr data-id="<?= $r['id'] ?>" data-status="1"
style="background-color: <?= $r['line_color'] ?> !important;">
<?php include 'row_production.php'; ?>
<?php $is_da_programmare = true;
include 'row_production.php'; ?>
</tr>
<?php endforeach; ?>
</tbody>
@@ -968,7 +970,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && !empty($_POST['action'])) {
});
</script>
<!-- MODALE PREVIEW FOTO -->
<div id="imagePreviewModal" class="modal"