@php
$piatto = $riga_ordine->piatto;
@endphp
<div id="accordionPopoutIcon" class="accordion mt-3 accordion-popout">
      <div class="accordion-item card">
        <h2 class="accordion-header text-body d-flex justify-content-between" id="accordionPopoutIconOne">
          <button type="button" class="accordion-button collapsed" data-bs-toggle="collapse" data-bs-target="#accordionPopoutIcon-{{$piatto->id}}" aria-controls="accordionPopoutIcon-{{$piatto->id}}">

            <div class="row col-12 justify-content-between  col-sm-12 col-md-12 col-lg-12 col-xl-12">
            <div class="col-5 col-md-5 col-lg-5 col-sm-5">
                    <i class="bx bx-dish me-2"></i>
                    {{$riga_ordine->piatto->nome}}
                </div>
                <div class="col-2 col-md-2 col-lg-2 col-sm-2">
                    {{$riga_ordine->quantita}} pz.
                </div>
                <div class="col-3 col-md-3 col-lg-3 col-sm-3">
                    € {{ number_format($riga_ordine->prezzo, 2, ',', '.') }}
                </div>
            </div>
            <div class="row col-12 justify-content-between  col-sm-12 col-md-12 col-lg-12 col-xl-12">
            @if($riga_ordine->note)
            <i class="bx bx-chat me-2" aria-label="Nota"></i>
            @endif
            </div>
          </button>
        </h2>

        <div id="accordionPopoutIcon-{{$piatto->id}}" class="accordion-collapse collapse" data-bs-parent="#accordionPopoutIcon">
          <div class="accordion-body">
            {{$riga_ordine->note}}
          </div>
        </div>
      </div>

    </div>