@if(isset($tipe))
	@if($tipe == 'compress')
		@if(!empty($permission_check->perm_edit))
			<a href="#" class="list-icons-item text-primary-600" data-id="{{ $id }}" data-url="{{$url}}/{{$id}}" onclick="edit(this); return false"><i class="icon-pencil7"></i></a>
		@endif

		<a href="#"  data-url="{{ url($url.'/'.$id) }}"  data-id="{{ $id }}" class="list-icons-item text-danger-600" onclick="deletreg(this); return false" ><i class="icon-trash"></i></a>
	@endif
@else
	@if(!isset($modal))
		@if(!empty($permission_check->perm_edit))
			<a href="{{ url($url.'/'.$id.'/edit') }}" data-toggle="tooltip"   data-original-title="Edit" class="edit btn btn-primary btn-sm editProduct" title="Editar" ><i class="icon-compose"></i></a>
		@endif
	@else
		@if(!empty($permission_check->perm_edit))
			<a href="#" data-toggle="tooltip"  data-id="{{ $id }}" data-url="{{$url}}/{{$id}}" data-original-title="Edit" class="edit btn btn-primary btn-sm editProduct" onclick="edit(this); return false" ><i class="icon-compose"></i></a>
		@endif
	@endif
		<a href="#" data-toggle="tooltip"  data-url="{{ url($url.'/'.$id) }}"  data-id="{{ $id }}"  data-original-title="Delete"  title="Eliminar" class="btn btn-danger btn-sm deleteProduct" onclick="deletreg(this); return false"><i class="icon-trash"></i></a>
@endif

