add user auth
This commit is contained in:
@@ -153,8 +153,11 @@
|
|||||||
route={{ Route::is('home') || Route::is('akaun.home') || Route::is('audit.index') ? 'ada' : 'tiada' }}
|
route={{ Route::is('home') || Route::is('akaun.home') || Route::is('audit.index') ? 'ada' : 'tiada' }}
|
||||||
akaun={{ Route::is('akaun.home') || Route::is('audit.index') ? 'yes' : 'no' }}>
|
akaun={{ Route::is('akaun.home') || Route::is('audit.index') ? 'yes' : 'no' }}>
|
||||||
</cawangan-component>
|
</cawangan-component>
|
||||||
|
<div class="mx-auto">
|
||||||
|
<a class="text-yellow-200 rounded bg-gray-400 px-6 py-3 font-bold mr-4 uppercase sm:invisible lg:visible xl:visible">
|
||||||
|
{{Auth::user()->role_asal}} : {{Auth::user()->name}}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
@endauth
|
@endauth
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user