feat(shayegan): per-product item code and auto customer Account/Put
This commit is contained in:
@@ -421,6 +421,9 @@ class CartController extends Controller
|
||||
'amount' => $product->amount,
|
||||
'unit' => $product->unit,
|
||||
'trade_by_quantity' => $product->trade_by_quantity,
|
||||
'shayegan_item_number' => Product::hasShayeganItemColumn()
|
||||
? ($product->shayegan_item_number ?? null)
|
||||
: null,
|
||||
],
|
||||
'line' => $lineIndex + 1,
|
||||
'order' => [
|
||||
|
||||
Reference in New Issue
Block a user