@if(count($pedidos) > 0)
@else
@foreach($pedidos as $p)
Visualizar
@endforeach