feat(shayegan): per-product item code and auto customer Account/Put

This commit is contained in:
2026-10-28 16:51:47 +03:30
parent 25ee47b473
commit 9528056036
10 changed files with 344 additions and 13 deletions
@@ -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' => [