mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fix bug with recurring invoice factory not setting a client
This commit is contained in:
parent
69de2fc740
commit
71c3865bb5
@ -47,7 +47,8 @@ class RecurringInvoiceToInvoiceFactory
|
|||||||
$invoice->user_id = $recurring_invoice->user_id;
|
$invoice->user_id = $recurring_invoice->user_id;
|
||||||
$invoice->company_id = $recurring_invoice->company_id;
|
$invoice->company_id = $recurring_invoice->company_id;
|
||||||
$invoice->recurring_id = $recurring_invoice->id;
|
$invoice->recurring_id = $recurring_invoice->id;
|
||||||
|
$invoice->client_id = $client->id;
|
||||||
|
|
||||||
return $invoice;
|
return $invoice;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user