grocy/public
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
..
components_unmanaged Grocycode, label printing (#1500) 2021-06-12 17:21:12 +02:00
css More night mode improvements (#1336) 2021-06-12 20:39:08 +02:00
img Added all application icon variants (closes #159) 2019-03-02 08:56:53 +01:00
js More night mode improvements (#1336) 2021-06-12 20:39:08 +02:00
uisounds Implemented "Scan mode" 2020-01-26 15:35:01 +01:00
viewjs Add support for printing shoppinglist with thermal printer (#1273) 2021-06-18 20:45:42 +02:00
.htaccess Reorganize project part 3 2018-04-12 21:13:38 +02:00
index.php Applied PHP formatting rules 2020-08-31 20:40:31 +02:00
robots.txt Move public stuff into subdirectory 2018-04-11 20:47:03 +02:00