20260316h: Recipe ingredient USE popup with qty/location controls
- Clicking 'Usa' on a recipe ingredient now opens a modal popup instead of directly consuming. Shows location selector, quantity controls (+/- buttons), conf/sub-unit mode, and 'Usa TUTTO' option. - Quantity is pre-filled with the recipe's suggested amount - Auto-selects location with opened package - After use, shows move-after-use modal (stays on recipe page, not dashboard) - Separate recipe-context move functions (showRecipeMoveModal, confirmRecipeMove) - Modal overlay z-index 250 to appear above recipe dialog
This commit is contained in:
+2
-2
@@ -9,7 +9,7 @@
|
||||
<title>Dispensa Manager</title>
|
||||
<link rel="manifest" href="manifest.json">
|
||||
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🏠</text></svg>">
|
||||
<link rel="stylesheet" href="assets/css/style.css?v=20260316c">
|
||||
<link rel="stylesheet" href="assets/css/style.css?v=20260316h">
|
||||
<!-- QuaggaJS for barcode scanning -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/@ericblade/quagga2@1.8.4/dist/quagga.min.js"></script>
|
||||
</head>
|
||||
@@ -911,6 +911,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="assets/js/app.js?v=20260316g"></script>
|
||||
<script src="assets/js/app.js?v=20260316h"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user