update toolbar

This commit is contained in:
Daeng Deni Mardaeni 2023-09-04 15:39:59 +07:00
parent d9107597c3
commit e3f6b2bd9c

View File

@ -23,7 +23,7 @@
</div>
<!--end::Actions-->
@endif
@elseif($route[0]!=='settings' && $route[0]!=='approval')
@elseif($route[0]!=='settings' && $route[0]!=='approval' && $route[0]!=='report')
@if(!Auth::user()->hasRole(['ad','dd']))
<!--begin::Actions-->
<div class="d-flex align-items-center gap-2 gap-lg-3">
@ -68,7 +68,6 @@
<!--end::Primary button-->
@endif
<!--begin::Primary button-->
<a href="{{ route($route[0].'.index') }}?id={{ $id }}" class="btn btn-sm fw-bold btn-primary text-capitalize">Add/Edit Odner</a>
<a href="{{ route('cardboard.index') }}" class="btn btn-sm fw-bold btn-warning text-capitalize">Back</a>
<!--end::Primary button-->
@else