Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
power
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
254
Issues
254
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Pardeep Sahu
power
Commits
154cced3
Commit
154cced3
authored
3 years ago
by
Pardeep Sahu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
8d0a8ac4
Pipeline
#2361
passed with stage
in 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/Http/Controllers/AdminController.php
app/Http/Controllers/AdminController.php
+2
-2
No files found.
app/Http/Controllers/AdminController.php
View file @
154cced3
...
...
@@ -7680,8 +7680,8 @@ class AdminController extends Controller
$firmsList = DB::table('firms')->get();
$brandList = DB::table('product_brands')->where('status', 1)->get();
$dealers = User::where('role', 2)
->where('status', 1)
->where('id', 238);
->where('status', 1)
;
//
->where('id', 238);
if (!empty(request()->firm)) {
$dealers = $dealers->where('firm_id', request()->firm);
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment