mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Merge branch 'v5-develop' of https://github.com/turbo124/invoiceninja into v5-develop
This commit is contained in:
commit
df4050f0df
@ -29,7 +29,9 @@ class SubscriptionController extends Controller
|
|||||||
->where('client_id', auth('contact')->user()->client->id)
|
->where('client_id', auth('contact')->user()->client->id)
|
||||||
->where('company_id', auth('contact')->user()->client->company_id)
|
->where('company_id', auth('contact')->user()->client->company_id)
|
||||||
->where('status_id', RecurringInvoice::STATUS_ACTIVE)
|
->where('status_id', RecurringInvoice::STATUS_ACTIVE)
|
||||||
|
->where('is_deleted', 0)
|
||||||
->whereNotNull('subscription_id')
|
->whereNotNull('subscription_id')
|
||||||
|
->withTrashed()
|
||||||
->count();
|
->count();
|
||||||
|
|
||||||
if($count == 0)
|
if($count == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user