Skip to content

Commit

Permalink
query fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KirinZero0 committed Feb 21, 2025
1 parent 13d0458 commit 4fc992c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function htmlResponse(StoredItemAudit $storedItemAudit, ActionRequest $re
$editDeltas = $pallet->getEditStoredItemDeltasQuery($pallet->id, $storedItemAudit->id)
->where('pallet_stored_items.pallet_id', $this->id)
->get()->map(fn ($item) => [
'stored_item_audit_id' => $this->stored_item_audit_id,
'stored_item_audit_id' => $storedItemAudit->id,
'pallet_id' => $item->pallet_id,
'stored_item_id' => $item->stored_item_id,
'reference' => $item->stored_item_reference,
Expand All @@ -108,7 +108,7 @@ public function htmlResponse(StoredItemAudit $storedItemAudit, ActionRequest $re
->where('stored_item_audit_deltas.pallet_id', $pallet->id)
->where('stored_item_audit_deltas.stored_item_audit_id', $storedItemAudit->id)
->get()->map(fn ($item) => [
'stored_item_audit_id' => $this->stored_item_audit_id,
'stored_item_audit_id' => $storedItemAudit->id,
'stored_item_id' => $item->stored_item_id,
'reference' => $item->stored_item_reference,
'quantity' => 0,
Expand Down

0 comments on commit 4fc992c

Please sign in to comment.