fix(webapp): confirmation dialog + undo button visibility

- Add _showDestructiveConfirm() helper: shows modal with 5-second
  auto-confirm countdown bar; user can confirm early or cancel
- throwAll(): now shows confirmation before discarding all stock
- submitUseAll(): same confirmation before marking all as used
- undoTransactionEntry(): replace native confirm() with modal
- Rename core logic to _doSubmitUseAll() / _doUndoTransaction()
- btn-log-undo: more visible (red tint + larger font) so user can
  easily undo accidental operations from the history log
- Bump app.js version to v=20260505a
This commit is contained in:
dadaloop82
2026-05-04 18:30:30 +00:00
parent e4869c4308
commit 2e46090adc
3 changed files with 130 additions and 29 deletions
+1 -1
View File
@@ -1318,6 +1318,6 @@
</div>
</div>
<script src="assets/js/app.js?v=20260504c"></script>
<script src="assets/js/app.js?v=20260505a"></script>
</body>
</html>