added icon to button
This commit is contained in:
parent
4b54e980e2
commit
443447a068
2 changed files with 4 additions and 2 deletions
|
@ -184,7 +184,9 @@ class IconHelper
|
|||
return 'fa-regular fa-id-card';
|
||||
case 'department' :
|
||||
return 'fa-solid fa-building-user';
|
||||
|
||||
case 'note':
|
||||
case 'notes':
|
||||
return 'fas fa-sticky-note';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -256,7 +256,7 @@
|
|||
@can('update', \App\Models\Asset::class)
|
||||
<div class="col-md-12 hidden-print" style="padding-top: 5px;">
|
||||
<a href='{{ route('modal.show', 'add-note') }}?type=asset&id={{$asset->id}}' style="width: 100%" data-toggle="modal" data-target="#createModal" data-select='add-note_select_id' data-refresh="assetHistory" data-hasnopayload="true" class="btn btn-sm btn-primary btn-block btn-social hidden-print">
|
||||
<x-icon type="" />
|
||||
<x-icon type="note" />
|
||||
{{ trans('general.add_note') }}</a>
|
||||
</div>
|
||||
@endcan
|
||||
|
|
Loading…
Add table
Reference in a new issue