fix(copper): update conditional orders and accounting doc units to kilogram
This commit is contained in:
@@ -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'])) {
|
||||
|
||||
Reference in New Issue
Block a user