<a href="{{ route('payroll.deductions.edit', $r) }}"
   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="{{ $r->id }}">
        <i class="fas fa-trash"></i>
</button>
