add claim tab to all users

This commit is contained in:
2025-09-19 21:04:43 +07:00
parent db4c586535
commit 45f79e7027
7 changed files with 12686 additions and 104 deletions

View File

@@ -820,11 +820,9 @@ use Illuminate\Support\Facades\Auth;
<li class="nav-item">
<a class="nav-link @if(old('form') == 'wash') active @endif" href="#form-cuci">Form Cuci</a>
</li>
@if(Auth::user()->role_id == 3)
<li class="nav-item">
<a class="nav-link @if(old('form') == 'claim') active @endif" href="#form-claim">Klaim</a>
</li>
@endif
</ul>
<div class="tab-content mt-3">
@@ -1128,7 +1126,6 @@ use Illuminate\Support\Facades\Auth;
</div>
<!-- Form Klaim - Hanya untuk Mekanik -->
@if(Auth::user()->role_id == 3)
<div class="tab-pane @if(old('form') == 'claim') active @endif" id="form-claim" role="tabpanel">
<div class="mt-3">
<h6 class="mb-3">Daftar Pekerjaan yang Dapat Diklaim</h6>
@@ -1154,7 +1151,6 @@ use Illuminate\Support\Facades\Auth;
</div>
</div>
</div>
@endif
</div>
</div>
</div>

View File

@@ -112,7 +112,7 @@
<b class="font-weight-bold text-dark">x{{ $transaction->qty }}</b>
</div>
</div>
<div class="kt-portlet__foot text-right mt-4" style="background: none !important; padding-right: 0 !important; padding-left: 0 !important; padding-bottom: 0; margin-bottom: 0;">
{{-- <div class="kt-portlet__foot text-right mt-4" style="background: none !important; padding-right: 0 !important; padding-left: 0 !important; padding-bottom: 0; margin-bottom: 0;">
@if ($transaction->status == 1)
<span class="badge badge-success">Closed</span>
@else
@@ -128,7 +128,7 @@
@method('DELETE')
</form>
@endif
</div>
</div> --}}
</div>
</div>
</div>