Set DB in subscription service
This commit is contained in:
parent
d09025367f
commit
46c0ba1c7d
1 changed files with 2 additions and 1 deletions
|
|
@ -717,7 +717,8 @@ class SubscriptionService
|
|||
*/
|
||||
public function convertInvoiceToRecurring($client_id) :RecurringInvoice
|
||||
{
|
||||
|
||||
MultiDB::setDb($this->subscription->company->db);
|
||||
|
||||
$client = Client::withTrashed()->find($client_id);
|
||||
|
||||
$subscription_repo = new SubscriptionRepository();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue