File "copytrade.blade.php"
Full Path: /home/fundopuh/trader.fxex.org/resources/views/admin/subscription/subscriber/copytrade.blade.php
File size: 1.99 KB
MIME-type: text/plain
Charset: utf-8
<!--Delete master account Modal -->
<div class="modal fade" id="copytrade{{ $item['id'] }}" tabindex="-1" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Start Copy Trade</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form action="{{ route('cptrade') }}" method="POST">
@csrf
<input type="hidden" name="subscriberid" value="{{ $item['id'] }}">
<input type="hidden" name="login" value="{{ $item['login'] }}">
@if ($item['provider'])
<input type="hidden" name="fixed_provider" value="Yes">
<input type="hidden" name="master" value="{{ $item['provider'] }}">
<h5> Provider is: {{ $item['provider'] }}</h5>
@else
<label for="">Select Master account to copy from.</label>
<select name="master" class="form-control mt-2 mb-4" required>
@foreach ($masters as $item)
<option value="{{ $item['id'] }}">
{{ $item['account_name'] }}/{{ $item['login'] }}
</option>
@endforeach
</select>
@endif
<button class="btn btn-sm btn-primary m-1">
Start Copy Trade
</button>
</form>
</div>
</div>
</div>
</div>