{{ $pageTitle }}
{{ __('message.back') }}
01.jpg

{{ $data->display_name }}

@php $status = 'warning'; switch ($data->status) { case 'active': $status = 'success'; break; case 'inactive': $status = 'danger'; break; case 'banned': $status = 'dark'; break; } @endphp {{ $data->status }}

{{ $data->email }}

{{ $data->contact_number }}

@if( $data->gender == 'female' ) @elseif( $data->gender == 'other' ) @else @endif

{{ $data->gender }}

@php $rating = $data->rating ?? 0; @endphp @if( $rating > 0 )
@endif

{{ __('message.detail_form_title', [ 'form' => __('message.bank') ]) }}

{{ __('message.bank_name') }}

{{ optional($data->userBankAccount)->bank_name ?? '-' }}

{{ __('message.bank_code') }}

{{ optional($data->userBankAccount)->bank_code ?? '-' }}

{{ __('message.account_holder_name') }}

{{ optional($data->userBankAccount)->account_holder_name ?? '-' }}

{{ __('message.account_number') }}

{{ optional($data->userBankAccount)->account_number ?? '-' }}

{{ __('message.wallet_balance') }}

{{ getPriceFormat(optional($data->userWallet)->total_amount) ?? 0 }}
{{--

{{ __('message.total_withdraw') }}

{{ getPriceFormat(optional($data->userWallet)->total_withdraw) ?? 0 }}
--}}

{{ __('message.add_form_title', [ 'form' => __('message.wallet') ]) }}

{!! Form::open(['route' => ['savewallet.fund', $data->id], 'method' => 'post' ]) !!}
{{ Form::label('type', __('message.type').' *',[ 'class' => 'form-control-label' ], false) }} {{ Form::select('type', [ 'credit' => __('message.credit'), 'debit' => __('message.debit') ], old('type'), [ 'class' => 'form-control select2js', 'required']) }}
{{ Form::label('transaction_type', __('message.transaction_type').' *',[ 'class' => 'form-control-label' ], false) }} {{ Form::select('transaction_type',[], old('transaction_type'), [ 'class' => 'form-control select2js', 'required']) }}
{{ Form::label('amount', __('message.amount').' *', ['class' => 'form-control-label' ], false ) }} {{ Form::number('amount', old('amount'), [ 'class' => 'form-control', 'min' => 0, 'step' => 'any', 'required', 'placeholder' => __('message.amount') ]) }}
{{ Form::label('description', __('message.description'), ['class' => 'form-control-label']) }} {{ Form::textarea('description', null, [ 'class' => 'form-control textarea', 'rows' => 2, 'placeholder' => __('message.description') ]) }}

{{ Form::submit( __('message.save'), ['class'=>'btn btn-md btn-primary float-right' ]) }} {!! Form::close() !!}

{{ __('message.list_form_title', [ 'form' => __('message.riderequest') ]) }}

{{ $dataTable->table(['class' => 'table w-100'],false) }}
@section('bottom_script') {{ $dataTable->scripts() }} @endsection