--- Searching for assignedCompanies --- Match found in: /home/estudios77/prueba.farithtobias.com/app/Http/Controllers/TicketController.php Line 56: : $user->assignedCompanies()->get(); Match found in: /home/estudios77/prueba.farithtobias.com/app/Http/Controllers/QuoteController.php Line 44: $companies = auth()->user()->assignedCompanies()->get(); Line 210: $companies = auth()->user()->assignedCompanies()->get(); Match found in: /home/estudios77/prueba.farithtobias.com/app/Http/Controllers/InvoiceController.php Line 95: : auth()->user()->assignedCompanies()->orderBy('name')->get(); Line 159: $companyIds = auth()->user()->assignedCompanies()->pluck('company_id'); Line 242: $companies = auth()->user()->assignedCompanies()->get(); Match found in: /home/estudios77/prueba.farithtobias.com/app/Models/User.php Line 102: public function assignedCompanies() Match found in: /home/estudios77/prueba.farithtobias.com/test_token_extract/estudios77-ti_manager-bae122c5b2e94d0e79b09ec3b3e967ef6df0e1b0/app/Http/Controllers/TicketController.php Line 56: : $user->assignedCompanies()->get(); Match found in: /home/estudios77/prueba.farithtobias.com/test_token_extract/estudios77-ti_manager-bae122c5b2e94d0e79b09ec3b3e967ef6df0e1b0/app/Http/Controllers/QuoteController.php Line 44: $companies = auth()->user()->assignedCompanies()->get(); Line 210: $companies = auth()->user()->assignedCompanies()->get(); Match found in: /home/estudios77/prueba.farithtobias.com/test_token_extract/estudios77-ti_manager-bae122c5b2e94d0e79b09ec3b3e967ef6df0e1b0/app/Http/Controllers/InvoiceController.php Line 87: : auth()->user()->assignedCompanies()->orderBy('name')->get(); Line 154: $companyIds = auth()->user()->assignedCompanies()->pluck('company_id'); Line 229: $companies = auth()->user()->assignedCompanies()->get(); Match found in: /home/estudios77/prueba.farithtobias.com/test_token_extract/estudios77-ti_manager-bae122c5b2e94d0e79b09ec3b3e967ef6df0e1b0/app/Models/User.php Line 102: public function assignedCompanies() Match found in: /home/estudios77/prueba.farithtobias.com/test_token_extract/estudios77-ti_manager-bae122c5b2e94d0e79b09ec3b3e967ef6df0e1b0/search-scopes.php Line 25: echo "--- Searching for assignedCompanies ---\n"; Line 26: search_in_dir(__DIR__, 'assignedCompanies'); Match found in: /home/estudios77/prueba.farithtobias.com/search-scopes.php Line 25: echo "--- Searching for assignedCompanies ---\n"; Line 26: search_in_dir(__DIR__, 'assignedCompanies'); --- Searching for assignedCompanyIds --- Match found in: /home/estudios77/prueba.farithtobias.com/resources/views/layouts/app.blade.php Line 220: $pendingQuotesCount = \App\Models\Quote::where('status', 'Enviada')->whereIn('company_id', Auth::user()->assignedCompanyIds())->count(); Match found in: /home/estudios77/prueba.farithtobias.com/app/Http/Controllers/WorkOrderController.php Line 18: $companyIds = auth()->user()->assignedCompanyIds(); Line 55: $companyIds = auth()->user()->assignedCompanyIds(); Line 85: $companyIds = auth()->user()->assignedCompanyIds(); Line 127: $companyIds = auth()->user()->assignedCompanyIds(); Line 189: $companyIds = auth()->user()->assignedCompanyIds(); Match found in: /home/estudios77/prueba.farithtobias.com/app/Http/Controllers/SearchController.php Line 28: $companyIds = $user->assignedCompanyIds(); Match found in: /home/estudios77/prueba.farithtobias.com/app/Http/Controllers/InventoryController.php Line 19: $companyIds = $user->assignedCompanyIds(); Line 85: $companyIds = $user->assignedCompanyIds(); Line 216: $companyIds = $user->assignedCompanyIds(); Match found in: /home/estudios77/prueba.farithtobias.com/app/Http/Controllers/TicketController.php Line 21: ->whereIn('company_id', $user->assignedCompanyIds()); Line 23: $query->whereIn('company_id', $user->assignedCompanyIds()); Match found in: /home/estudios77/prueba.farithtobias.com/app/Http/Controllers/QuoteController.php Line 24: $query->whereIn('company_id', auth()->user()->assignedCompanyIds()) Line 165: if (!in_array($quote->company_id, auth()->user()->assignedCompanyIds()) || $quote->status === 'Borrador') { Line 177: if (!in_array($quote->company_id, auth()->user()->assignedCompanyIds()) || $quote->status === 'Borrador') { Match found in: /home/estudios77/prueba.farithtobias.com/app/Http/Controllers/CompanyController.php Line 21: $companyIds = $user->assignedCompanyIds(); Match found in: /home/estudios77/prueba.farithtobias.com/app/Http/Controllers/AiSupportController.php Line 118: if (!empty($session->user->assignedCompanyIds())) { Line 119: $companyId = $session->user->assignedCompanyIds()[0]; Match found in: /home/estudios77/prueba.farithtobias.com/app/Http/Controllers/InvoiceController.php Line 12: $assignedCompanyIds = auth()->user()->assignedCompanyIds(); Line 18: $query->whereIn('company_id', $assignedCompanyIds); Line 314: if (auth()->user()->isClient() && !in_array($invoice->company_id, auth()->user()->assignedCompanyIds())) { Line 335: if (auth()->user()->isClient() && !in_array($invoice->company_id, auth()->user()->assignedCompanyIds())) { Line 346: if (auth()->user()->isClient() && !in_array($invoice->company_id, auth()->user()->assignedCompanyIds())) { Match found in: /home/estudios77/prueba.farithtobias.com/app/Http/Controllers/DashboardController.php Line 20: $companyIds = $user->assignedCompanyIds(); Match found in: /home/estudios77/prueba.farithtobias.com/app/Http/Controllers/ReportController.php Line 21: $companyIds = $user->assignedCompanyIds(); Line 200: $companyIds = $user->assignedCompanyIds(); Line 271: $query->whereIn('company_id', $user->assignedCompanyIds()); Match found in: /home/estudios77/prueba.farithtobias.com/app/Models/User.php Line 108: $ids = $this->assignedCompanyIds(); Line 115: public function assignedCompanyIds(): array Line 137: return in_array($companyId, $this->assignedCompanyIds()); Match found in: /home/estudios77/prueba.farithtobias.com/test_token_extract/estudios77-ti_manager-bae122c5b2e94d0e79b09ec3b3e967ef6df0e1b0/resources/views/layouts/app.blade.php Line 220: $pendingQuotesCount = \App\Models\Quote::where('status', 'Enviada')->whereIn('company_id', Auth::user()->assignedCompanyIds())->count(); Match found in: /home/estudios77/prueba.farithtobias.com/test_token_extract/estudios77-ti_manager-bae122c5b2e94d0e79b09ec3b3e967ef6df0e1b0/app/Http/Controllers/WorkOrderController.php Line 18: $companyIds = auth()->user()->assignedCompanyIds(); Line 55: $companyIds = auth()->user()->assignedCompanyIds(); Line 85: $companyIds = auth()->user()->assignedCompanyIds(); Line 126: $companyIds = auth()->user()->assignedCompanyIds(); Line 178: $companyIds = auth()->user()->assignedCompanyIds(); Match found in: /home/estudios77/prueba.farithtobias.com/test_token_extract/estudios77-ti_manager-bae122c5b2e94d0e79b09ec3b3e967ef6df0e1b0/app/Http/Controllers/SearchController.php Line 28: $companyIds = $user->assignedCompanyIds(); Match found in: /home/estudios77/prueba.farithtobias.com/test_token_extract/estudios77-ti_manager-bae122c5b2e94d0e79b09ec3b3e967ef6df0e1b0/app/Http/Controllers/InventoryController.php Line 19: $companyIds = $user->assignedCompanyIds(); Line 85: $companyIds = $user->assignedCompanyIds(); Line 216: $companyIds = $user->assignedCompanyIds(); Match found in: /home/estudios77/prueba.farithtobias.com/test_token_extract/estudios77-ti_manager-bae122c5b2e94d0e79b09ec3b3e967ef6df0e1b0/app/Http/Controllers/TicketController.php Line 21: ->whereIn('company_id', $user->assignedCompanyIds()); Line 23: $query->whereIn('company_id', $user->assignedCompanyIds()); Match found in: /home/estudios77/prueba.farithtobias.com/test_token_extract/estudios77-ti_manager-bae122c5b2e94d0e79b09ec3b3e967ef6df0e1b0/app/Http/Controllers/QuoteController.php Line 24: $query->whereIn('company_id', auth()->user()->assignedCompanyIds()) Line 165: if (!in_array($quote->company_id, auth()->user()->assignedCompanyIds()) || $quote->status === 'Borrador') { Line 177: if (!in_array($quote->company_id, auth()->user()->assignedCompanyIds()) || $quote->status === 'Borrador') { Match found in: /home/estudios77/prueba.farithtobias.com/test_token_extract/estudios77-ti_manager-bae122c5b2e94d0e79b09ec3b3e967ef6df0e1b0/app/Http/Controllers/CompanyController.php Line 21: $companyIds = $user->assignedCompanyIds(); Match found in: /home/estudios77/prueba.farithtobias.com/test_token_extract/estudios77-ti_manager-bae122c5b2e94d0e79b09ec3b3e967ef6df0e1b0/app/Http/Controllers/AiSupportController.php Line 118: if (!empty($session->user->assignedCompanyIds())) { Line 119: $companyId = $session->user->assignedCompanyIds()[0]; Match found in: /home/estudios77/prueba.farithtobias.com/test_token_extract/estudios77-ti_manager-bae122c5b2e94d0e79b09ec3b3e967ef6df0e1b0/app/Http/Controllers/InvoiceController.php Line 12: $assignedCompanyIds = auth()->user()->assignedCompanyIds(); Line 18: $query->whereIn('company_id', $assignedCompanyIds); Line 301: if (auth()->user()->isClient() && !in_array($invoice->company_id, auth()->user()->assignedCompanyIds())) { Line 314: if (auth()->user()->isClient() && !in_array($invoice->company_id, auth()->user()->assignedCompanyIds())) { Line 325: if (auth()->user()->isClient() && !in_array($invoice->company_id, auth()->user()->assignedCompanyIds())) { Match found in: /home/estudios77/prueba.farithtobias.com/test_token_extract/estudios77-ti_manager-bae122c5b2e94d0e79b09ec3b3e967ef6df0e1b0/app/Http/Controllers/DashboardController.php Line 20: $companyIds = $user->assignedCompanyIds(); Match found in: /home/estudios77/prueba.farithtobias.com/test_token_extract/estudios77-ti_manager-bae122c5b2e94d0e79b09ec3b3e967ef6df0e1b0/app/Http/Controllers/ReportController.php Line 21: $companyIds = $user->assignedCompanyIds(); Line 200: $companyIds = $user->assignedCompanyIds(); Line 271: $query->whereIn('company_id', $user->assignedCompanyIds()); Match found in: /home/estudios77/prueba.farithtobias.com/test_token_extract/estudios77-ti_manager-bae122c5b2e94d0e79b09ec3b3e967ef6df0e1b0/app/Models/User.php Line 108: $ids = $this->assignedCompanyIds(); Line 115: public function assignedCompanyIds(): array Line 137: return in_array($companyId, $this->assignedCompanyIds()); Match found in: /home/estudios77/prueba.farithtobias.com/test_token_extract/estudios77-ti_manager-bae122c5b2e94d0e79b09ec3b3e967ef6df0e1b0/search-scopes.php Line 28: echo "\n--- Searching for assignedCompanyIds ---\n"; Line 29: search_in_dir(__DIR__, 'assignedCompanyIds'); Match found in: /home/estudios77/prueba.farithtobias.com/test_token_extract/estudios77-ti_manager-bae122c5b2e94d0e79b09ec3b3e967ef6df0e1b0/test-dash-stats.php Line 23: $companyIds = $user->assignedCompanyIds(); Match found in: /home/estudios77/prueba.farithtobias.com/live_app_latest.blade.php Line 219: $pendingQuotesCount = \App\Models\Quote::where('status', 'Enviada')->whereIn('company_id', Auth::user()->assignedCompanyIds())->count(); Match found in: /home/estudios77/prueba.farithtobias.com/search-scopes.php Line 28: echo "\n--- Searching for assignedCompanyIds ---\n"; Line 29: search_in_dir(__DIR__, 'assignedCompanyIds'); Match found in: /home/estudios77/prueba.farithtobias.com/live_app2.blade.php Line 220: $pendingQuotesCount = \App\Models\Quote::where('status', 'Enviada')->whereIn('company_id', Auth::user()->assignedCompanyIds())->count(); Match found in: /home/estudios77/prueba.farithtobias.com/test-dash-stats.php Line 23: $companyIds = $user->assignedCompanyIds();