NEW #21397 : small fix
This commit is contained in:
parent
bc66c37a08
commit
ba77a7bcfa
@ -281,13 +281,18 @@ print '<br>';
|
|||||||
//print img_picto('','puce').' '.$langs->trans("PrintsheetForOneBarCode").'<br>';
|
//print img_picto('','puce').' '.$langs->trans("PrintsheetForOneBarCode").'<br>';
|
||||||
//print '<br>';
|
//print '<br>';
|
||||||
|
|
||||||
print '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
|
|
||||||
print '<input type="hidden" name="mode" value="label">';
|
|
||||||
print '<input type="hidden" name="action" value="initbarcodeproducts">';
|
|
||||||
print '<input type="hidden" name="token" value="'.newToken().'">';
|
|
||||||
|
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Example 1 : Adding jquery code
|
||||||
|
print '<script type="text/javascript">
|
||||||
|
function confirm_erase() {
|
||||||
|
return confirm("'.dol_escape_js($langs->trans("ConfirmEraseAllCurrentBarCode")).'");
|
||||||
|
}
|
||||||
|
</script>';
|
||||||
|
|
||||||
|
|
||||||
// For thirdparty
|
// For thirdparty
|
||||||
if (isModEnabled('societe')) {
|
if (isModEnabled('societe')) {
|
||||||
print '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
|
print '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
|
||||||
@ -352,13 +357,6 @@ if ($conf->product->enabled || $conf->product->service) {
|
|||||||
print '<input type="hidden" name="action" value="initbarcodeproducts">';
|
print '<input type="hidden" name="action" value="initbarcodeproducts">';
|
||||||
print '<input type="hidden" name="token" value="'.newToken().'">';
|
print '<input type="hidden" name="token" value="'.newToken().'">';
|
||||||
|
|
||||||
// Example 1 : Adding jquery code
|
|
||||||
print '<script type="text/javascript">
|
|
||||||
function confirm_erase() {
|
|
||||||
return confirm("'.dol_escape_js($langs->trans("ConfirmEraseAllCurrentBarCode")).'");
|
|
||||||
}
|
|
||||||
</script>';
|
|
||||||
|
|
||||||
$nbproductno = $nbproducttotal = 0;
|
$nbproductno = $nbproducttotal = 0;
|
||||||
|
|
||||||
print load_fiche_titre($langs->trans("BarcodeInitForProductsOrServices"), '', 'product');
|
print load_fiche_titre($langs->trans("BarcodeInitForProductsOrServices"), '', 'product');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user