<a href="{{ route('core.gratuities.edit', $row->id) }}"
   class="btn btn-sm btn-primary">
    <i class="far fa-edit"></i>
</a>

<button type="button"
        class="btn btn-sm btn-danger btn-delete"
        data-id="{{ $row->id }}">
        <i class="fas fa-trash"></i>
</button>