grocy/public/viewjs
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 Grocycode, label printing (#1500) 2021-06-12 17:21:12 +02:00
about.js Make it possible to show the changelog directly via /about?tab=changelog 2019-03-09 16:25:23 +01:00
barcodescannertesting.js Fixed camera scanning targets (fixes #1210) 2020-12-22 19:06:41 +01:00
batteries.js Make it possible to hide chores/batteries (closes #1069) 2020-12-20 10:19:44 +01:00
batteriesjournal.js Improved initial DataTables sorting (fixes #1235) 2020-12-30 13:55:01 +01:00
batteriesoverview.js Improved initial DataTables sorting (fixes #1235) 2020-12-30 13:55:01 +01:00
batteriessettings.js Improved number input initial value decimal handling 2020-11-15 14:15:09 +01:00
batteryform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
batterytracking.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
calendar.js Merge used libraries for Barcode/QR-Code generation 2020-12-20 19:53:28 +01:00
choreform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
chores.js Make it possible to hide chores/batteries (closes #1069) 2020-12-20 10:19:44 +01:00
choresjournal.js Improved initial DataTables sorting (fixes #1235) 2020-12-30 13:55:01 +01:00
choresoverview.js Improved initial DataTables sorting (fixes #1235) 2020-12-30 13:55:01 +01:00
choressettings.js Improved number input initial value decimal handling 2020-11-15 14:15:09 +01:00
choretracking.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
consume.js Grocycode, label printing (#1500) 2021-06-12 17:21:12 +02:00
equipment.js Improved initial DataTables sorting (fixes #1235) 2020-12-30 13:55:01 +01:00
equipmentform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
inventory.js Use barcode amounts also for Consume/Transfer/Inventory (closes #1254) 2021-01-04 21:59:19 +01:00
locationcontentsheet.js Finished the implementation of "Location Content Sheet" (closes #341) 2019-08-11 09:24:47 +02:00
locationform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
locations.js Squashed commit 2020-12-07 19:48:33 +01:00
login.js Migrated (hopefully) all translations to PO/Gettext (references #161) 2019-05-01 20:19:18 +02:00
manageapikeys.js Merge used libraries for Barcode/QR-Code generation 2020-12-20 19:53:28 +01:00
mealplan.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
openapiui.js Applied VSCode JS formatting settings 2020-08-30 12:18:16 +02:00
productbarcodeform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
productform.js Grocycode, label printing (#1500) 2021-06-12 17:21:12 +02:00
productgroupform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
productgroups.js Squashed commit 2020-12-07 19:48:33 +01:00
products.js Make it possible to merge products (closes #243) 2020-12-20 20:58:22 +01:00
purchase.js Grocycode, label printing (#1500) 2021-06-12 17:21:12 +02:00
quantityunitconversionform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
quantityunitform.js Squashed commit 2020-12-07 19:48:33 +01:00
quantityunitpluraltesting.js Replaced jQuery UI by Animate.css (better, faster, lighter) 2020-01-28 19:27:18 +01:00
quantityunits.js Squashed commit 2020-12-07 19:48:33 +01:00
recipeform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
recipeposform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
recipes.js General UI review/test 2020-12-19 14:03:28 +01:00
recipessettings.js Improved number input initial value decimal handling 2020-11-15 14:15:09 +01:00
shoppinglist.js Add support for printing shoppinglist with thermal printer (#1273) 2021-06-18 20:45:42 +02:00
shoppinglistform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
shoppinglistitemform.js Default shopping list item amount to 1 2021-03-31 22:22:28 +02:00
shoppinglistsettings.js Improved number input initial value decimal handling 2020-11-15 14:15:09 +01:00
shoppinglocationform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
shoppinglocations.js Squashed commit 2020-12-07 19:48:33 +01:00
stockentries.js Grocycode, label printing (#1500) 2021-06-12 17:21:12 +02:00
stockentryform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
stockjournal.js General UI review/test 2020-12-19 14:03:28 +01:00
stockjournalsummary.js General UI review/test 2020-12-19 14:03:28 +01:00
stockoverview.js Grocycode, label printing (#1500) 2021-06-12 17:21:12 +02:00
stocksettings.js Use the products "Quick consume amount" optionally also on the consume page (closes #1148) 2020-12-04 18:16:58 +01:00
taskcategories.js Squashed commit 2020-12-07 19:48:33 +01:00
taskcategoryform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
taskform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
tasks.js Improved initial DataTables sorting (fixes #1235) 2020-12-30 13:55:01 +01:00
taskssettings.js Improved number input initial value decimal handling 2020-11-15 14:15:09 +01:00
transfer.js Fixed embedded /transfer from /stockentries (fixes #1303) 2021-02-21 19:36:37 +01:00
userentities.js Squashed commit 2020-12-07 19:48:33 +01:00
userentityform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
userfieldform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
userfields.js Squashed commit 2020-12-07 19:48:33 +01:00
userform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
userobjectform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
userobjects.js Squashed commit 2020-12-07 19:48:33 +01:00
userpermissions.js Use better confirm dialog 2020-12-22 10:05:06 +01:00
users.js Squashed commit 2020-12-07 19:48:33 +01:00
usersettings.js Improved number input initial value decimal handling 2020-11-15 14:15:09 +01:00