Home Forums Support Cannot Input Payment

This topic contains 1 reply, has 2 voices, and was last updated by  Hillel Coren 3 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2057

    Anonymous

    I’m having an issue with my install where when I try entering a client payment – either the full balance or even a partial – I get the following error:

    The amount must be less than {$invoice->balance}

    That message appears under the amount field.

    Any assistance is appreciated.

    #2058

    Hillel Coren
    Keymaster

    This has been fixed in our latest release.

    https://www.invoiceninja.com/self-host/

    You can manually fix it by changing the single quotes to double quotes in the following line in app/Http/Requests/CreatePaymentRequest.php

    ‘amount’ => ‘required|less_than:{$invoice->balance}|positive’,

    To

    ‘amount’ => “required|less_than:{$invoice->balance}|positive”,

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Posted in: