diff --git a/VERSION.txt b/VERSION.txt index 9562ed5038cc..b26261575073 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -5.5.14 \ No newline at end of file +5.5.15 \ No newline at end of file diff --git a/app/Http/Requests/Payment/StorePaymentRequest.php b/app/Http/Requests/Payment/StorePaymentRequest.php index 94b873f46170..056e92515c26 100644 --- a/app/Http/Requests/Payment/StorePaymentRequest.php +++ b/app/Http/Requests/Payment/StorePaymentRequest.php @@ -103,7 +103,7 @@ class StorePaymentRequest extends Request 'invoices.*.invoice_id' => new ValidInvoicesRules($this->all()), 'credits.*.credit_id' => 'bail|required|exists:credits,id', 'credits.*.credit_id' => new ValidCreditsRules($this->all()), - 'credits.*.amount' => ['required', new CreditsSumRule($this->all())], + 'credits.*.amount' => ['bail','required', new CreditsSumRule($this->all())], 'invoices' => new ValidPayableInvoicesRule(), 'number' => ['nullable', 'bail', Rule::unique('payments')->where('company_id', auth()->user()->company()->id)], diff --git a/config/ninja.php b/config/ninja.php index 1f8ce1c6bd18..6bacd49a47f5 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -14,8 +14,8 @@ return [ 'require_https' => env('REQUIRE_HTTPS', true), 'app_url' => rtrim(env('APP_URL', ''), '/'), 'app_domain' => env('APP_DOMAIN', 'invoicing.co'), - 'app_version' => '5.5.14', - 'app_tag' => '5.5.14', + 'app_version' => '5.5.15', + 'app_tag' => '5.5.15', 'minimum_client_version' => '5.0.16', 'terms_version' => '1.0.1', 'api_secret' => env('API_SECRET', ''),