{{ $stat->user->username }} @if ($stat->type == 'in') {{ abs($stat->sum) }} @endif @if ($stat->type != 'in') {{ abs($stat->sum) }} @endif {{ date(config('app.date_time_format'), strtotime($stat->date_time)) }}