Commit graph

52 commits

Author SHA1 Message Date
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
Lance Edgar 1fd78d0c2f Move customer lookup into a control 2023-09-25 21:31:11 -05:00
Lance Edgar 943f723ae6 Use Page.session and .client_storage instead of my first hack
no shortage of hacky yet though i'm sure
2023-09-24 20:57:45 -05:00
Lance Edgar 51c1094e1c Add basic Feedback button for POS screen
this will definitely need to change, but wanted it on screen at least
2023-09-24 19:29:57 -05:00
Lance Edgar 6448fc139c Centralize logic for default POS batch handler 2023-09-24 18:00:06 -05:00
Lance Edgar a0915f7d5c Add wuttapos serve command
b/c it apparently is just that easy..
2023-09-24 17:45:51 -05:00
Lance Edgar 27dca66a0f Cleanup the dev startup logic a bit 2023-09-24 17:45:33 -05:00
Lance Edgar 8f937d040a Add basic customer lookup 2023-09-23 21:28:24 -05:00
Lance Edgar 545f115dc8 Use actual POS batch under the hood 2023-09-23 12:00:34 -05:00
Lance Edgar c3c8ae7e94 Add initial buttons, items list for main POS screen
savepoint
2023-09-23 08:27:22 -05:00