fix: inventory_update now records compensating transactions
When a user manually edits quantity (e.g. after restocking), the diff is recorded as 'in' or 'out' transaction with note '[Correzione manuale]'. This prevents the anomaly detector from flagging manual edits as phantom or missing consumption.
This commit is contained in:
+2
-2
@@ -11,7 +11,7 @@
|
||||
<title>EverShelf</title>
|
||||
<link rel="manifest" href="manifest.json">
|
||||
<link rel="icon" type="image/png" href="assets/img/logo/logo_icon.png">
|
||||
<link rel="stylesheet" href="assets/css/style.css?v=20260511f">
|
||||
<link rel="stylesheet" href="assets/css/style.css?v=20260511g">
|
||||
<!-- QuaggaJS for barcode scanning -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/@ericblade/quagga2@1.8.4/dist/quagga.min.js"></script>
|
||||
<!-- @xenova/transformers: ES-module bootstrap that exposes a lazy category-classifier as window._categoryPipelinePromise -->
|
||||
@@ -1469,6 +1469,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="assets/js/app.js?v=20260511f"></script>
|
||||
<script src="assets/js/app.js?v=20260511g"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user