[FIX] 修正盤調單明細插入時的欄位名稱錯誤並更新簡報/圖片處理套件
This commit is contained in:
@@ -49,7 +49,7 @@ class AdjustService
|
||||
if (abs($item->diff_qty) < 0.0001) continue;
|
||||
|
||||
$itemsToInsert[] = [
|
||||
'inventory_adjust_doc_id' => $adjDoc->id,
|
||||
'adjust_doc_id' => $adjDoc->id,
|
||||
'product_id' => $item->product_id,
|
||||
'batch_number' => $item->batch_number,
|
||||
'qty_before' => $item->system_qty,
|
||||
@@ -108,7 +108,7 @@ class AdjustService
|
||||
$qtyBefore = $inventory ? $inventory->quantity : 0;
|
||||
|
||||
$itemsToInsert[] = [
|
||||
'inventory_adjust_doc_id' => $doc->id,
|
||||
'adjust_doc_id' => $doc->id,
|
||||
'product_id' => $data['product_id'],
|
||||
'batch_number' => $data['batch_number'] ?? null,
|
||||
'qty_before' => $qtyBefore,
|
||||
|
||||
Reference in New Issue
Block a user