mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 12:00:57 -04:00
Merge pull request #234 from lbr88/enhancement/negativepayments
Negative Payments
This commit is contained in:
commit
ea8f875cae
@ -68,7 +68,7 @@ class PaymentRepository
|
|||||||
$rules = array(
|
$rules = array(
|
||||||
'client' => 'required',
|
'client' => 'required',
|
||||||
'invoice' => 'required',
|
'invoice' => 'required',
|
||||||
'amount' => 'required|positive',
|
'amount' => 'required',
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($input['payment_type_id'] == PAYMENT_TYPE_CREDIT) {
|
if ($input['payment_type_id'] == PAYMENT_TYPE_CREDIT) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user