@if ($stock instanceof \Illuminate\Contracts\Pagination\Paginator)
{{ $stock->appends(request()->query())->links() }}
@endif