{{ $stat->user->username }} @if ($stat->type == 'add') {{ abs($stat->sum) }} @endif @if ($stat->type != 'add') {{ abs($stat->sum) }} @endif {{ $stat->shop->name }} {{ date(config('app.date_time_format'), strtotime($stat->date_time)) }} @if(isset($show_shop) && $show_shop) @if($stat->shop) {{ $stat->shop->name }} @endif @endif