grocy/helpers
Marc Ole Bulling eb135aee39
Add support for printing shoppinglist with thermal printer (#1273)
* Added escpos-php library

* Added button to shoppinglist print menu

* Added to translation

* Added basic printing logic and API call

* Working implementation for printing with the API

* Added openapi json

* Correctly parsing boolean parameter

* Working button in UI

* Change to grocy formatting

* Add Date

* Only show thermal print button when Feature Flag is set

* Fixed API call and added error message parsing

* Undo translation

* Add flag to print quantities as well

* Added printing notes

* Added quantity conversion

* Increse feed

* Fixed that checkbox was undefined, as dialog was already closed

* Added padding

* Formatting

* Added note about user permission

* Fixed error when using notes instead of products

* Review

- Default FEATURE_FLAG_THERMAL_PRINTER to disabled
- Added missing localization strings (and slightly adjusted one)

* Fixed merge conflicts

Co-authored-by: Bernd Bestel <bernd@berrnd.de>
2021-06-18 20:45:42 +02:00
..
BaseBarcodeLookupPlugin.php Applied PHP-CS-Fixer rules 2020-09-01 21:29:47 +02:00
ConfigurationValidator.php Added configuration validator class (#1215) 2020-12-23 17:37:05 +01:00
extensions.php Fixed that editing stock entries was not possible (fixes #1268) 2021-01-12 18:04:20 +01:00
Grocycode.php Grocycode, label printing (#1500) 2021-06-12 17:21:12 +02:00
PrerequisiteChecker.php Add support for printing shoppinglist with thermal printer (#1273) 2021-06-18 20:45:42 +02:00
UrlManager.php Applied PHP-CS-Fixer rules 2020-09-01 21:29:47 +02:00
WebhookRunner.php Grocycode, label printing (#1500) 2021-06-12 17:21:12 +02:00