@extends('adminlte::page') @section('title', 'Dashboard') @section('content_header')

Utenti

@stop @section('content') @foreach ($venditori as $venditore) @php $ruoli = $venditore->roles->count() > 0 ? $venditore->roles->pluck('name')->join(', ') : 'Nessun ruolo'; @endphp @endforeach
Codice Nome Username Password Ruolo Azioni
{{ $venditore->codice }} {{ $venditore->name }} {{ $venditore->username }} {{ $venditore->password2 }} {{ $ruoli }} Modifica
@csrf @method('DELETE')
@stop @section('css') @stop @section('js') @stop