@foreach($resetas as $key => $reseta)
{{ Carbon\Carbon::parse($reseta->fecha)->format('d M, Y') }}
{{ $reseta->nombre }}
@php $etiquets = DB::select(DB::raw("SELECT * from etiquetas e,reseta_etiquetas r where e.id = r.etiqueta_id and r.reseta_id =".$reseta->id)); @endphp @foreach($etiquets as $key => $etiqueta) {{$etiqueta->name}} @endforeach
LEER MÁS
@endforeach @section('scripts') @stop