mirror of
https://github.com/grocy/grocy.git
synced 2026-04-05 12:26:15 +02:00
If a product allows label printing per unit, the current code prevents you from setting "stock entry label" to "label per unit" on the purchase page because the option is disabled. Only a single label can be printed. Even if you set the product default to "label per unit" and don't change it on the purchase page, the selection is ignored because the option is disabled, so `jsonForm.print_stock_label` is undefined. In this case, no labels are printed at all because the value is undefined. This change enables/disables the option in the correct cases. |
||
|---|---|---|
| .. | ||
| css | ||
| img | ||
| js | ||
| uisounds | ||
| viewjs | ||
| .htaccess | ||
| index.php | ||
| robots.txt | ||