fix tests

This commit is contained in:
root
2026-06-11 11:46:12 -04:00
parent c91fa2ce4d
commit 5ead80fdc7
1489 changed files with 11349 additions and 10305 deletions
+2 -1
View File
@@ -39,6 +39,7 @@ class InventoryReconcile extends Command
if (empty($result['discrepancies'])) {
$this->info('✅ All item quantities match movement ledger.');
return Command::SUCCESS;
}
@@ -62,7 +63,7 @@ class InventoryReconcile extends Command
qtyChange: -$d['variance'],
type: 'adjust',
reason: 'Auto-reconciliation: stored qty differed from movement sum',
note: 'Reconciled from ' . $d['stored_quantity'] . ' to ' . $d['movement_sum'],
note: 'Reconciled from '.$d['stored_quantity'].' to '.$d['movement_sum'],
performedBy: null
);
$this->line(" Fixed item #{$d['id']} ({$d['name']}): variance was {$d['variance']}");