We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37e4f88 commit 29525a0Copy full SHA for 29525a0
resources/views/partials/order/blank_data.blade.php
@@ -10,7 +10,7 @@
10
<p>No orders with status {{ $is_filtered }}</p>
11
@endif
12
13
- @if (auth()->user()->id == 2)
+ @if (auth()->user()->role_id == 2)
14
<a href="/product" class="link-info">
15
<i class="fas fa-arrow-left me-1"></i>
16
Buy some good product now
0 commit comments