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…
Reference in New Issue