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
@@ -144,7 +144,7 @@ class ConditionalOrderController extends Controller
$number = isset($data['number']) ? (float) $data['number'] : null;
if (! $partial && ($amount === null || $amount <= 0) && ($number === null || $number <= 0)) {
throw new UnprocessableEntityHttpException('مقدار گرم یا تعداد را وارد کنید.');
throw new UnprocessableEntityHttpException('مقدار کیلوگرم یا تعداد را وارد کنید.');
}
if (! empty($data['expires_at'])) {