@extends('layouts.auth_page') @section('content')
@include('admin.layouts.messages')

{{ __('Deposit') }}

{{--
Quick Deposit
--}}
@if (isset($data['FrontPaymentButtons']) && ($data['FrontPaymentButtons']->value1 != '' || $data['FrontPaymentButtons']->value2 != ''))
@if (isset($data['FrontPaymentButtons']->value1) && $data['FrontPaymentButtons']->value1 != '') @endif @if (isset($data['FrontPaymentButtons']->value2) && $data['FrontPaymentButtons']->value2 != '') @endif @if (isset($data['FrontPaymentButtons']->value3) && $data['FrontPaymentButtons']->value3 != '') @endif
@if (isset($data['FrontPaymentButtonsCrypt']->value1) && $data['FrontPaymentButtonsCrypt']->value1 != '') @endif @if (isset($data['FrontPaymentButtonsCrypt']->value2) && $data['FrontPaymentButtonsCrypt']->value2 != '') @endif @if (isset($data['FrontPaymentButtonsCrypt']->value3) && $data['FrontPaymentButtonsCrypt']->value3 != '') @endif
@endif @if (count($active_payment_gateways) > 0)
@if (count($active_payment_gateways) > 0) @foreach ($active_payment_gateways as $key => $payment_gateway) @endforeach @endif
{{__('amount')}} $
{{__('fees')}} $0.00
{{__('total')}} $
{{--
--}}
{{ csrf_field() }}
@endif
@if (count($manual_payment_gateways) > 0) @foreach ($manual_payment_gateways as $key => $payment_gateway) @endforeach @endif

{{__('wire_bank_transfer')}}

{{__('wire_bank_transfer_text')}}

USD
{{__('init_withdraw')}}

{{__('Withdraw to Crypto')}}

{{__('Enter amount in fiat and it\'ll be converted to crypto when sending')}}

USD
{{__('init_withdraw')}}
@if(isset($data['pending_transfers']) && !empty($data['pending_transfers']))

{{__('pending_deposits')}}

@foreach($data['pending_transfers'] as $key => $pending_transfers) @endforeach
{{__('time')}} {{__('id')}} {{__('Amount')}} {{__('currency')}} {{__('status')}}
{{$pending_transfers->created_at}} {{$pending_transfers->orderId}} {{$pending_transfers->amount}} {{$pending_transfers->currency}} {{$pending_transfers->status}}
@endif

{{ __('Deposits') }}

@if(!empty($data['deposits'])) @foreach($data['deposits'] as $deposits) @endforeach @endif
{{__('time')}} {{ __('Amount') }} {{__('currency')}} {{__('action')}}
{{$deposits->created_at}} {{$deposits->amount}} {{$deposits->currency}} {{$deposits->mode}}

{{__('withdraws')}}

@if(!empty($data['withdraws'])) @foreach($data['withdraws'] as $withdraws) @php if ($withdraws->status == 'Approved') { $withdraw_color = 'success'; } else if ($withdraws->status == 'Declined'){ $withdraw_color = 'danger'; } else { $withdraw_color = 'info'; } @endphp @endforeach @endif
{{__('time')}} {{__('Amount')}}($) {{__('status')}}
{{$withdraws->created_at}} {{$withdraws->amount}} {{$withdraws->status}} @if($withdraws->status=='Declined') @endif
{{__('buy')}} / {{__('sell')}}

{{__('buy')}} BTC {{__('available')}}: 20 BTC

{{__('price')}}
BTC
{{__('Amount')}}
BTC
{{__('total')}}
BTC

{{__('fee')}}: 100%x0.2 = 0.02

{{__('approx_pay')}}

0.09834 BTC

{{__('sell')}} BTC {{__('available')}}: 20 BTC

{{__('price')}}
BTC
{{__('Amount')}}
BTC
{{__('total')}}
BTC

Fee: 100%x0.2 = 0.02

{{__('approx_pay')}}

0.09834 BTC


{{ html()->modelForm($data, 'PATCH', route('updateProfile'))->class('')->open() }}
{{--
--}} @if (auth()->user()->isManager())
@if ($data['referalCode'] != '') {{ html()->text(__('ref_code')) ->class('form-control') ->placeholder(__('ref_code')) ->attribute('maxlength', 15) }} @else
@endif
@endif


{{__('notifications')}}



Change Password


Account Statements

Statement created at: {{date('Y-m-d H:i:s')}}

{{ html()->modelForm('', 'GET', '/' . Route::current()->uri.'#tradeStatementsTab')->class('form-inline')->open() }} {{-- @foreach (Request::query() as $key => $value) @if($value != '') {{ html()->hidden($key)->value($value) }} @endif @endforeach --}}
{{ html()->label('Date From')->class('control-label p-2')->for('date_from_filter') }}
{{ html()->text('date_from')->id('date_from_filter')->class('form-control')->placeholder('00-00-000')->attribute('autocomplete', 'off')->value(Request::query('date_from')) }}
{{ html()->label('Date To')->class('control-label p-2')->for('date_to_filter') }}
{{ html()->text('date_to')->id('date_to_filter')->class('form-control')->placeholder('00-00-000')->attribute('autocomplete', 'off')->value(Request::query('date_to')) }}
{{ html()->submit('Filter')->class('btn btn-primary ml-4') }}
{{ html()->closeModelForm() }}

@if ($trade_statement->count() > 0) {!! $trade_statement->withQueryString()->fragment('tradeStatementsTab')->links() !!} @if(count($trade_statement) > 0) @php $y = $trade_statement->currentPage() * $trade_statement->perPage() - ($trade_statement->perPage() - 1); $data_sot_Ymd = date('Y-m-d'); @endphp @foreach($trade_statement as $record) @php $y++; @endphp @endforeach @else @endif
Nr Ticket Open Time Type Units Instrument Open Rate Market Rate {{ __('Profit/Loss') }} Take/Profit Stop/Loss
{{$y}} {{$record->ticket}} {{$record->open_time}} {{$record->type}} {{$record->trade_amount}} {{$record->base_symbol}}/{{$record->quote_symbol}} {{$record->open_rate}} {{$record->close_rate}} {{$record->pro_loss}} {{$record->profit}} {{$record->loss}}
No results found
{!! $trade_statement->withQueryString()->fragment('tradeStatementsTab')->links() !!} @else

No records found!

@endif
@endsection