fix(copper): update conditional orders and accounting doc units to kilogram
This commit is contained in:
@@ -240,7 +240,7 @@ class AccountingProductDocMapper
|
||||
'group_type' => (string) ($data['product']['group_type'] ?? 'آبشده'),
|
||||
'metal_id' => (int) ($data['product']['metal_id'] ?? 1),
|
||||
'amount' => (float) ($data['product']['amount'] ?? 0),
|
||||
'unit' => (string) ($data['product']['unit'] ?? 'گرم'),
|
||||
'unit' => (string) ($data['product']['unit'] ?? 'کیلوگرم'),
|
||||
'trade_by_quantity' => (bool) ($data['product']['trade_by_quantity'] ?? false),
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user