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:
parent
86f6b6a584
commit
2bf3e524db
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user