Commit graph

61 commits

Author SHA1 Message Date
Lance Edgar f18e0d3c3c Set full screen differently, so it always works 2023-11-30 14:43:57 -06:00
Lance Edgar c8788e282e Update subcommand entry point group names, per wuttjamaican 2023-11-30 14:42:25 -06:00
Lance Edgar f9e0e4c02a Add button stub for item refund
not yet implemented though
2023-10-20 14:44:34 -05:00
Lance Edgar 95bf8ecfca More tweaks for training mode
make sure the TRAINING MODE sign in header stays put, instead of
"wandering" as the timestamp is updated

also make sure suspend/resume honors current training mode flag
2023-10-20 14:44:28 -05:00
Lance Edgar 0e5ad257c8 Add basic support for training mode
make it obvious when in effect, mark batches accordingly etc.
2023-10-19 20:53:07 -05:00
Lance Edgar 22894b6c7a Add first attempt at food stamp support
definitely does not work right yet, will have to circle back
2023-10-19 19:13:48 -05:00
Lance Edgar 4a9c93c96b Require decimal point when user enters currency amount
e.g. '10.' or '.10' is ok, but '10' is not allowed due to ambiguity
2023-10-19 15:59:40 -05:00
Lance Edgar 7edceac934 Add basic support for "sale" price 2023-10-18 21:31:08 -05:00
Lance Edgar d933a6acbc Move the '@' button next to main input
not really needed on the 10-key, so replace that with minus sign

this also adds feature to select a line item, then click ITEM to
re-ring the same item (and honor set quantity)
2023-10-12 17:24:21 -05:00
Lance Edgar 7b73438cf9 Require permission to adjust price
also prevent adjustment for void lines etc.
2023-10-12 16:32:42 -05:00
Lance Edgar aab3d9498d Fix snackbar size after sending feedback 2023-10-12 12:03:20 -05:00
Lance Edgar fc2fda7c3a Require permission to remove or replace customer in txn 2023-10-12 11:58:21 -05:00
Lance Edgar e7ecd88e64 Add support for suspend/resume txn 2023-10-11 23:14:43 -05:00
Lance Edgar 52c35ed85c Move "test error" button to about dialog; require perm to use 2023-10-11 19:56:35 -05:00
Lance Edgar 8b526af843 Do not color voided line items in red
strikethrough seems to me enough to distinguish, and probably should
save red for "on sale" items?
2023-10-11 18:50:01 -05:00
Lance Edgar 2c9f3cd41a Add initial support for Open Ring 2023-10-11 18:40:11 -05:00
Lance Edgar fb4206e5a9 Display tax info per line, and totals 2023-10-07 16:32:26 -05:00
Lance Edgar d15f521679 Add stub logic to kick drawer for "no sale" and based on txn tenders 2023-10-06 20:34:41 -05:00
Lance Edgar 61a06ec5de Add basic mechanism for manager override, use for void txn 2023-10-06 09:18:07 -05:00
Lance Edgar 21f848cc82 Move login form to separate control
so we can hopefully use that for "manager override" ..?  we'll see
2023-10-05 22:22:13 -05:00
Lance Edgar 9340e0d1bc Add button for "Adjust Price"
so far no constraints: any user, any item, any price
2023-10-05 20:04:29 -05:00
Lance Edgar 4ed006a93f Add scroll bar, up/down keys for item, customer lookup dialogs 2023-10-05 17:25:07 -05:00
Lance Edgar e59c398b45 Add support for 10-key menu on login screen
if so configured, show that instead of full keyboard
2023-10-05 16:27:32 -05:00
Lance Edgar 734600817f Split the tenkey menu into separate control
hoping to re-use on the login screen, but also makes it easier to
override if needed
2023-10-05 15:12:06 -05:00
Lance Edgar 8f647a85b9 Fix redirect bug, add note about serving under non-root path 2023-10-04 21:03:57 -05:00
Lance Edgar d32ca9fc6a Add config, runtime support for for serve.path 2023-10-04 19:53:13 -05:00
Lance Edgar 069289775e Let config suppress username field for login screen 2023-10-01 19:51:42 -05:00
Lance Edgar 9268d939eb Show tender line items on screen; add "change back" alert 2023-10-01 17:39:02 -05:00
Lance Edgar 7a8dce69b3 Add support for "void line"
also abstract the rendering of a line item to separate class, so can
override later etc.
2023-09-30 21:08:29 -05:00
Lance Edgar d969d5c994 Force user to click Dismiss for uncaught error alert 2023-09-29 13:06:26 -05:00
Lance Edgar e1dcd7d4ed Add support for custom header logo image within assets dir
should avoid external URL for header logo where possible
2023-09-29 13:02:30 -05:00
Lance Edgar cd392fa432 Show alert on-screen when uncaught exception happens 2023-09-29 12:32:06 -05:00
Lance Edgar fc58594699 Add hooks to send email when uncaught exception occurs 2023-09-29 11:46:34 -05:00
Lance Edgar d83204495b Show logo image on login, POS views 2023-09-29 10:01:02 -05:00
Lance Edgar d8ff7dd944 Add testing watermark asset 2023-09-28 12:59:08 -05:00
Lance Edgar 44b3b437e3 Cleanup tender logic a bit; require amount 2023-09-27 20:35:28 -05:00
Lance Edgar 114c6e4dd6 Improve tender support; assign user for each batch row added 2023-09-27 17:16:02 -05:00
Lance Edgar 4058f2df67 Record bad scans in transaction; tweak snackbar etc. 2023-09-26 17:48:53 -05:00
Lance Edgar 39abb0d648 Show terminal ID in page header 2023-09-26 14:56:36 -05:00
Lance Edgar 55203afc4d Add initial support for item lookup dialog 2023-09-26 13:55:42 -05:00
Lance Edgar ced1d37edd Show keyboard on login page
also do *not* show feedback button on login page
2023-09-26 13:55:42 -05:00
Lance Edgar 0676a9ef4c Add the "About" dialog and move feedback button there 2023-09-26 13:55:39 -05:00
Lance Edgar bdae602289 Fix main routing between /login and /pos
should only show one or the other depending on user login status
2023-09-26 10:44:53 -05:00
Lance Edgar d52f0b3207 Fix shift/caps behavior for keyboard 2023-09-26 10:16:17 -05:00
Lance Edgar 32fc71691e Add behavior for "long backspace" press in keyboard
what this actually does must be specified by parent i guess, so far
that is in 2 places.  if many more would be nice to standardize that a
bit more somehow
2023-09-26 10:05:04 -05:00
Lance Edgar 78e6704639 Add on-screen keyboard for feedback dialog 2023-09-25 23:12:19 -05:00
Lance Edgar 0767b81d0b Prevent sending empty feedback
technically can still send just a bunch of spaces, but whatever
2023-09-25 22:43:01 -05:00
Lance Edgar a7ab1b5882 Do not void txn if there is none 2023-09-25 22:38:36 -05:00
Lance Edgar 207de81e51 Add way to remove customer from txn 2023-09-25 22:18:36 -05:00
Lance Edgar 6caee556df Cleanup some logic for tracking current txn/cust 2023-09-25 21:57:43 -05:00