@extends('superadmin.layouts.app') @section('title', 'Utenti') @section('content')

{{ $shop->name ? $shop->name : 'N/A' }}

Utenti cod. {{ $user->code }}

Vendita cod. {{ $shop->code ?? 'N/A' }}

@if ($shop->contact && $shop->contact->address)

{{ $shop->contact->city }} {{ $shop->contact->address }}, {{ $shop->contact->postal_code }}

@else

N/A

@endif
Saldo
{{ intval($user->eurobonus) }}

STATO

{{ $shop->active ? 'ATTIVO' : 'NON ATTIVO'}}

CAMBIA LO STATO IN:

@if($shop->active) NON ATTIVO @else Codice:
@endif
@csrf @method('PUT')

@if ($shop->orders->count())
Anno: {{ $year }}
@endif

Storico Ordini

@component('components.scroll-pagination', [ 'action' => action('Superadmin\UsersShopsController@show', [$user->id, $shop->id]), 'last_page' => $orders->lastPage() ])
Data N° ORDINE RIFERIMENTO CLIENTE TOTALE SPECIAL TOTALE EUROBONUS
@endcomponent
@endsection