Fix: SQL Query für Location Filter und JS Scope Probleme behoben
All checks were successful
Docker Build & Push / build-and-push (push) Successful in 38s

This commit is contained in:
Gemini CLI
2026-05-16 16:05:27 +00:00
parent 064fda1e0d
commit cc5c16c66d

View File

@@ -234,7 +234,7 @@ foreach ($all_locations as $location) {
<a href="storage_locations.php?action=generate_all_barcodes&parent_id=<?php echo $loc1['id']; ?>" class="btn btn-sm btn-outline-warning" title="Fehlende QR-Codes für alle Unterebenen erstellen"><i class="fas fa-qrcode"></i><i class="fas fa-plus fa-xs"></i></a>
<?php endif; ?>
<?php if ($has_children_tokens): ?>
<button type="button" class="btn btn-sm btn-outline-info" onclick="showAllBarcodes('<?php echo htmlspecialchars(json_encode($children_data), ENT_QUOTES, 'UTF-8'); ?>', '<?php echo htmlspecialchars(addslashes($loc1['name'])); ?>')" title="Alle generierten QR-Codes der Unterebenen drucken"><i class="fas fa-print"></i></button>
<button type="button" class="btn btn-sm btn-outline-info" onclick="window.showAllBarcodes('<?php echo htmlspecialchars(json_encode($children_data), ENT_QUOTES, 'UTF-8'); ?>', '<?php echo htmlspecialchars(addslashes($loc1['name'])); ?>')" title="Alle generierten QR-Codes der Unterebenen drucken"><i class="fas fa-print"></i></button>
<?php endif; ?>
<?php if(empty($loc1['public_token'])): ?>
<a href="storage_locations.php?action=generate_barcode&id=<?php echo $loc1['id']; ?>" class="btn btn-sm btn-outline-secondary" title="QR-Code erstellen"><i class="fas fa-qrcode"></i></a>
@@ -397,4 +397,14 @@ function printDiv(divId) {
</div>
</div>
<?php require_once 'footer.php'; ?>
<img id="barcodeImage" src="" alt="QR Code" class="img-fluid border p-2 bg-white mb-3" style="max-width: 250px;">
<div class="mt-2">
<a id="barcodeLink" href="" target="_blank" class="btn btn-outline-primary btn-sm"><i class="fas fa-external-link-alt me-2"></i>Link manuell testen</a>
</div>
</div>
</div>
</div>
</div>
<?php require_once 'footer.php'; ?>