Hoan thien core finance v2
This commit is contained in:
@@ -127,6 +127,7 @@ class ImportContractsComplex extends Command
|
||||
);
|
||||
|
||||
// Liên kết khách hàng (Pivot)
|
||||
// syncWithoutDetaching đảm bảo nhiều KH cùng 1 HĐ không bị ghi đè lẫn nhau
|
||||
$contract->customers()->syncWithoutDetaching([
|
||||
$customer->id => [
|
||||
'role' => $row[7] ?? 'Chủ SH',
|
||||
|
||||
Reference in New Issue
Block a user