add detail view for form other

This commit is contained in:
Jagad R R
2025-01-06 16:05:47 +07:00
parent 6f2946cd62
commit 8c62fb6a19
3 changed files with 97 additions and 0 deletions
@@ -191,6 +191,12 @@
</td>
@endif
<td>
@if (auth()->user()->can('forms.other.view'))
<a href="{{ route('forms.other.view', $item->id) }}" class="btn btn-primary btn-sm">
<i class="fas fa-eye text-white"></i>
</a>
@endif
@if (auth()->user()->can('forms.other.edit'))
<a href="{{ route('forms.other.edit', $item->id) }}" class="btn btn-warning btn-sm">
<i class="fas fa-edit text-white"></i>