Explore/ismail (#5)
Build Docker Image / build-frontend (push) Successful in 42s

Co-authored-by: ISMAIL MASSERAN <topaz@ISMAILs-Macbook.local>
Co-authored-by: ISMAIL MASSERAN <topaz@Mac.dlinkrouter.local>
Reviewed-on: #5
This commit was merged in pull request #5.
This commit is contained in:
2026-08-27 10:40:03 +08:00
parent 1f8642e230
commit 46b41331d2
120 changed files with 3111 additions and 198 deletions
+4 -2
View File
@@ -59,7 +59,7 @@
@if(Auth::user()->roles == 'ppc' || Auth::user()->roles == 'pc')
<script>
window.api = "{{ config('api.url') }}";
window.api = "{{ api_url_for_browser() }}";
window.kodcaw = "{{ Auth::user()->cawangan }}";
window.apikey = "{{ env('PUSHER_APP_KEY') }}";
</script>
@@ -199,7 +199,7 @@
<!-- Right Side Of Navbar -->
<ul class="navbar-nav ml-auto">
@include('layouts.partials.impersonation_nav')
@php $auth_user = Auth::user(); @endphp
@if ($auth_user['roles'] == 'ppc' || $auth_user['roles'] == 'pc')
@@ -381,6 +381,7 @@
<a class="dropdown-item" href="{{ route('profile') }}">
{{ __('Profile') }}
</a>
@if(!(Auth::check() && method_exists(Auth::user(), 'isImpersonated') && Auth::user()->isImpersonated()))
<a class="dropdown-item" href="{{ route('logout') }}"
onclick="event.preventDefault();
document.getElementById('logout-form').submit();">
@@ -390,6 +391,7 @@
<form id="logout-form" action="{{ route('logout') }}" method="POST" class="d-none">
@csrf
</form>
@endif
</div>
</li>