Writeoff/Resources/views/approval/_action.blade.php

10 lines
356 B
PHP
Raw Normal View History

2023-12-19 11:00:24 +00:00
@php
$route = explode('.', Route::currentRouteName());
@endphp
<div class="d-flex flex-row flex-center">
<a href="{{ route($route[0].'.edit',[str_replace('-','_',$route[0]) => $model->id]) }}"
class="btn btn-icon btn-bg-light btn-active-light-primary btn-sm me-1">
{!! getIcon("eye", "fs-1 text-info","duotune") !!}
</a>
</div>