mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Set DB in subscription service
This commit is contained in:
parent
d09025367f
commit
46c0ba1c7d
@ -717,6 +717,7 @@ class SubscriptionService
|
||||
*/
|
||||
public function convertInvoiceToRecurring($client_id) :RecurringInvoice
|
||||
{
|
||||
MultiDB::setDb($this->subscription->company->db);
|
||||
|
||||
$client = Client::withTrashed()->find($client_id);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user