Minor fixes
This commit is contained in:
parent
3eb03e7ad4
commit
f2d3388cbd
1 changed files with 2 additions and 0 deletions
|
|
@ -473,8 +473,10 @@ class InvoiceService
|
|||
|
||||
if ($this->invoice->status_id == Invoice::STATUS_PAID && $this->invoice->client->getSetting('auto_archive_invoice')) {
|
||||
/* Throws: Payment amount xxx does not match invoice totals. */
|
||||
|
||||
$base_repository = new BaseRepository();
|
||||
$base_repository->archive($this->invoice);
|
||||
|
||||
}
|
||||
|
||||
return $this;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue