mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 01:44:30 -04:00
Ensure invoice marked as paid
This commit is contained in:
parent
59f9f0702a
commit
e31e7f8502
@ -42,7 +42,7 @@ class ApplyPaymentAmount extends AbstractService
|
||||
public function run()
|
||||
{
|
||||
if ($this->invoice->status_id == Invoice::STATUS_DRAFT) {
|
||||
$this->invoice->service()->markSent();
|
||||
$this->invoice->service()->markSent()->save();
|
||||
}
|
||||
|
||||
/*Don't double pay*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user