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

{{ $title }}

@if(!empty($user->fcm_token)) @endif
@include('flash::message')
@if($user->name) @endif @if($user->email) @endif
{{ $user->name }}
{{ $user->device_token }} @lang('labels.fcm_token')
{{ $user->email }}
{{trans('labels.transactions.updated_at')}}: {{ $transaction->updated_at }}
{{trans('labels.transactions.status')}}: {{ $transaction->status_for_view['label'] }}
@if($transaction->response) @endif
@lang('labels.transactions.created_at'): {{ $transaction->created_at }}
@lang('labels.transactions.number'): {{ $transaction->phone }}
@lang('labels.transactions.response'): {{ $transaction->response }}
@lang('labels.transactions.method'): {{ $transaction->method }}
@lang('labels.transactions.amount'): {{ $transaction->amount . ' ' . $transaction->currency }}
@lang('labels.transactions.amount_clean'): {{ $transaction->amount_clean . ' ' . $transaction->currency }}
{!! Form::open(array( 'class' => 'form-horizontal', 'role' => 'form') ) !!}
@if($transaction->locked) @else @endif

@if(!$transaction->locked && $transaction->manual)
{!! trans('messages.transaction_will_be_restored') !!}
@endif {!! Form::close() !!}
@lang('labels.name'): {{ $user->name }}
Email: {{ $user->email ?? '-' }}
@lang('labels.login'): {{ $user->login ?? '-' }}
@lang('labels.device_type'): {{ $user->device_type ?? '-' }}
@lang('labels.device_token'): {{ $user->device_token ?? '-' }}
@lang('labels.phone'): {{ $user->phone_number ?? '-' }}
@lang('labels.balance'): {{ $user->balance . ' ' . $currency }}
@lang('labels.referral_first_balance'): {{ $user->referral_balance . ' ' . $currency }}
@lang('labels.boosted_at'): {{ $user->boosted_at === '0000-00-00 00:00:00' ?: '-'}}
@lang('labels.boosted_at'): {{ $user->boosted_at === '0000-00-00 00:00:00' ?: '-'}}
@lang('labels.activated_referral_at'): {{ $user->activated_referral_at === '0000-00-00 00:00:00' ?: '-'}}
@lang('labels.referrer'): {{--{{ $user->getReferrerIdentifier() }}--}}
{!! Form::model($user, ['url' => route('users::update', $user), 'method' => 'PUT']) !!}
{!! Form::label('balance', trans('labels.balance'), ['class'=>'control-label'] ) !!}
{{ $currency }} {!! Form::input('balance', 'balance', null, ['class'=>'form-control'] ) !!}

{!! Form::close() !!}
@include('partials._sendPushNotificationModal', ['url' => route('users::show::send-push', ['id' => $user->id])]) @endsection @section('scripts') @endsection