where('customer_id', $customerId)->exists() || DB::table('billing_invoice_jobs')->where('customer_id', $customerId)->exists(); } }