@extends("layouts.admin.app") @section("page-title") {{__("users-points")}} @endSection @section("page-nav-title")

{{__("users-points")}}

{{__("all-users-points")}}

@endsection @section('content')
@if (isset($request)) @endif @foreach ($points as $point) @if ($point->in_out == -1) @elseif($point->in_out == 1) @endif @if (isset($request)) @endif @endforeach @if (isset($request)) @endif
# {{ __('Type Transaction') }} {{ __('Movement') }} {{ __('Value') }}{{ __('Balanced') }}{{ __('User') }} {{ __('Created at') }}
{{ ++$serial}} {{ $point->type }} {{ __('discount') }} {{ __('addition') }} {{ number_format($point->value, 2) . ' IQD' }}{{ number_format($point->balance, 2) . ' IQD' }}{{ $point->user->first_name ." " . $point->user->last_name}} {{ date('d/m/Y h:i A', strtotime($point->created_at)) }}
{{ __('Total') }} {{ number_format($balanced, 2) . ' RS' }}
@endsection @section('scripts') @endsection