Kleine Labels für kleine koffer zb WAG Beat hinzugefügt

This commit is contained in:
2026-03-24 17:53:11 +01:00
parent e2fc2a786e
commit dbdf081738
2 changed files with 816 additions and 0 deletions

21
dist/labelprint.php vendored
View File

@@ -102,6 +102,11 @@ $productList = json_decode($Epi->requestEpiApi('/v1/product/all?ia=true&ir=true&
href='../sources/getProductLabel.php?id=" . urlencode($product->primary_key) . "'>
Export
</a>
<a class='btn btn-sm btn-outline-primary'
target='_blank'
href='../sources/getProductLabelSmall.php?id=" . urlencode($product->primary_key) . "'>
Export small
</a>
<input type='number'
id='nrInput_" . htmlspecialchars($product->primary_key) . "'
@@ -124,6 +129,22 @@ $productList = json_decode($Epi->requestEpiApi('/v1/product/all?ia=true&ir=true&
\">
Export mit ID
</a>
<a class='btn btn-sm btn-outline-secondary'
target='_blank'
id='exportWithIdBtn_" . htmlspecialchars($product->primary_key) . "'
href='#'
onclick=\"
var nr = document.getElementById('nrInput_" . htmlspecialchars($product->primary_key) . "').value;
if(nr) {
this.href = '../sources/getProductLabelSmall.php?id=" . urlencode($product->primary_key) . "&nr=' + encodeURIComponent(nr);
} else {
alert('Bitte eine Nummer zwischen 1 und 9999 eingeben.');
return false;
}
\">
Export mit ID small
</a>
</td>";
echo "</tr>";
}