add zro payment

This commit is contained in:
Cihan Şentürk 2022-12-20 16:15:35 +03:00 committed by GitHub
parent 92d1ccf288
commit 151a7c1976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ class Validation extends Provider
Validator::extend('amount', function ($attribute, $value, $parameters, $validator) use (&$amount) {
$status = false;
if ($value > 0 || in_array($value, $parameters)) {
if ($value >= 0 || in_array($value, $parameters)) {
$status = true;
}