fix tests
This commit is contained in:
@@ -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']}");
|
||||
|
||||
Reference in New Issue
Block a user