mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Unwind gateway fees prior to marking as paid
This commit is contained in:
parent
f5dd1ae613
commit
492dc1cd04
@ -47,6 +47,8 @@ class InvoiceService
|
|||||||
*/
|
*/
|
||||||
public function markPaid()
|
public function markPaid()
|
||||||
{
|
{
|
||||||
|
$this->removeUnpaidGatewayFees();
|
||||||
|
|
||||||
$this->invoice = (new MarkPaid($this->invoice))->run();
|
$this->invoice = (new MarkPaid($this->invoice))->run();
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user