mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 16:24:39 -04:00
Minor fixes
This commit is contained in:
parent
6dc5e9927a
commit
35cf47b4c1
@ -285,7 +285,7 @@ class RefundPayment
|
||||
->save();
|
||||
|
||||
$invoice->ledger()
|
||||
->updateInvoiceBalance($refunded_invoice['amount'], "Refund of payment # {$this->payment->number}")
|
||||
->updateInvoiceBalance(abs($refunded_invoice['amount']), "Refund of payment # {$this->payment->number}")
|
||||
->save();
|
||||
|
||||
if ($invoice->amount == $invoice->balance) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user