Ensure invoice marked as paid
This commit is contained in:
parent
59f9f0702a
commit
e31e7f8502
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue