Kleine Labels für kleine koffer zb WAG Beat hinzugefügt
This commit is contained in:
21
dist/labelprint.php
vendored
21
dist/labelprint.php
vendored
@@ -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>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user