1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 13:42:49 +01:00

Fix for documents when approving a quote

This commit is contained in:
Hillel Coren 2016-09-28 10:44:07 +03:00
parent 86f6b6a584
commit 2bf3e524db

View File

@ -682,7 +682,7 @@ class InvoiceRepository extends BaseRepository
foreach ($invoice->documents as $document) {
$cloneDocument = $document->cloneDocument();
$invoice->documents()->save($cloneDocument);
$clone->documents()->save($cloneDocument);
}
foreach ($invoice->invitations as $invitation) {