fix(copper): update conditional orders and accounting doc units to kilogram

This commit is contained in:
2026-11-18 10:14:29 +03:30
parent 73a1124c88
commit 6159ddf490
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ class ConditionalOrderService
$payload['abshode_id'] = (int) $product->id;
$payload['amount'] = (float) ($order->amount ?? 0);
if ($payload['amount'] <= 0) {
$this->markFailed($order, $currentPrice, 'مقدار گرم نامعتبر است');
$this->markFailed($order, $currentPrice, 'مقدار کیلوگرم نامعتبر است');
return;
}