Added ticketing feature
This commit is contained in:
@@ -256,6 +256,19 @@
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="{{ route('tickets.index') }}" class="waves-effect">
|
||||
<i class="mdi mdi-headset"></i>
|
||||
<span>تیکتهای پشتیبانی</span>
|
||||
@php
|
||||
$openTicketsCount = \App\Models\Ticket::whereIn('status', ['open', 'user_reply'])->count();
|
||||
@endphp
|
||||
@if($openTicketsCount > 0)
|
||||
<span class="badge badge-pill badge-danger float-right">{{ $openTicketsCount }}</span>
|
||||
@endif
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="javascript:%20void(0);" class="has-arrow waves-effect">
|
||||
<i class="mdi mdi-account-circle-outline"></i>
|
||||
|
||||
Reference in New Issue
Block a user