grocy/services
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
..
ApiKeyService.php Applied PHP-CS-Fixer rules 2020-09-01 21:29:47 +02:00
ApplicationService.php Added /system/time API call (#1223) 2020-12-28 19:39:24 +01:00
BaseService.php Add support for printing shoppinglist with thermal printer (#1273) 2021-06-18 20:45:42 +02:00
BatteriesService.php Applied PHP-CS-Fixer rules 2020-09-01 21:29:47 +02:00
CalendarService.php Make it possible to hide chores/batteries (closes #1069) 2020-12-20 10:19:44 +01:00
ChoresService.php Make the chore assignment type "Random" more random (closes #674) 2020-12-19 17:15:18 +01:00
DatabaseMigrationService.php Use transactions for database migrations 2020-11-17 20:22:38 +01:00
DatabaseService.php Added REGEXP operator for API query filter (closes #1174) 2020-12-12 10:44:27 +01:00
DemoDataGeneratorService.php Optimizes demo data 2020-12-22 10:12:37 +01:00
FilesService.php Use custom demo DB path suffix also for storage (references #395) 2020-11-19 12:24:26 +01:00
LocalizationService.php Applied PHP-CS-Fixer rules 2020-09-01 21:29:47 +02:00
PrintService.php Add support for printing shoppinglist with thermal printer (#1273) 2021-06-18 20:45:42 +02:00
RecipesService.php Also relate the shopping list amount to QU stock 2020-11-13 17:30:57 +01:00
SessionService.php More authentication refactoring to also provide "plugable" credentials handling (references #921, needed for #305) 2020-10-19 18:38:12 +02:00
StockService.php Add support for printing shoppinglist with thermal printer (#1273) 2021-06-18 20:45:42 +02:00
TasksService.php Applied PHP-CS-Fixer rules 2020-09-01 21:29:47 +02:00
UserfieldsService.php Added new Userfield type "Link (with title)" (closes #790) 2020-12-21 17:57:48 +01:00
UsersService.php Implemented user pictures (closes #1158) 2020-12-20 22:08:50 +01:00