@extends('layouts.master') @section('page.name', __('Create Sell Offer')) @section('page.body')

{{__('Create Sell Offer')}}

{{__('Sell your coins for profit...')}}

{{__('Want to get coin?')}} {{__('Create Buy Offer')}}
{!! Form::open(['url' => route('market.create-offer.store', ['type' => 'sell']), 'class' => 'form form-horizontal']) !!}

{{__('Select Wallet')}}

{!! Form::label('coin', __('Select Wallet')) !!} {!! Form::select('coin', get_coins(), 'btc', ['is' => 'select2', 'html-class' => 'form-control', 'required', 'v-model' => 'coin']) !!}
{{__('INFORMATION')}}

{{__('You are able to set several ways to receive payment, if you are unable to find a preferred payment method, please contact our support center and we will gladly review your request.')}}

{{__('Payment Method')}}

{!! Form::label('payment_method', __('Payment Method')) !!} {!! Form::select('payment_method', $payment_methods, null, ['is' => 'select2', 'html-class' => 'form-control', 'required', 'v-model' => 'payment_method']) !!}
{!! Form::label('currency', __('I Trade In')) !!} {!! Form::select('currency', get_iso_currencies(), Auth::user()->currency, ['is' => 'select2', 'html-class' => 'form-control', 'required', 'v-model' => 'currency']) !!}

{{__('Your offer will buy/sell bitcoin for the selected currency. For example, if you select US Dollars then your offer is visible for everyone willing to buy bitcoin with US Dollar currency.')}}

{{__('Profit Margin')}}

{!! Form::label('profit_margin', __('I want to earn'), ['class' => 'col-md-3']) !!}
{!! Form::number('profit_margin', null, ['class' => 'form-control', 'required', 'v-model.number' => 'profit_margin']) !!}
{{__('STATISTICS')}}

{{__('Current market price is')}} @{{ formatAmount(coinPrice) }}.
{{__('I am selling for')}} @{{ formatAmount(totalPrice) }} {{__('per')}} @{{ coins[coin] }}.

{{__('I will get')}} @{{ totalPercent }}% {{__('of')}} @{{ payment_method }}.
{{__('I will')}} {{__('earn')}} {{__('lose')}} @{{ formatAmount(netAmount)}} {{__('for every')}} @{{ coins[coin] }} {{__('sale')}}.

{{__('Amount Range')}}

{!! Form::label('min_amount', __('Minimum Amount:')) !!}
{!! Form::number('min_amount', null, ['class' => 'form-control', 'required', 'v-model.number' => 'min_amount', 'min' => 0]) !!}
{!! Form::label('max_amount', __('Maximum Amount:')) !!}
{!! Form::number('max_amount', null, ['class' => 'form-control', 'required', 'v-model.number' => 'max_amount', 'min' => 0]) !!}

{{__('How much time person interested in your offer has time to actually pay. Trade will auto-cancel if buyer has not clicked "marked as paid" before payment window expires.')}}

{!! Form::label('deadline', __('Auto cancel after:'), ['class' => 'col-md-3']) !!}
{!! Form::number('deadline', null, ['class' => 'form-control', 'required', 'min' => 0]) !!}
{{__('minutes')}}

{{__('Tags & Labels')}}

{!! Form::label('tags', __('Select Tags:')) !!} {!! Form::select('tags[]', get_tags(), null, ['is' => 'select2', 'html-class' => 'form-control', 'multiple', 'novalidate', ':max' => 3]) !!}

{{__('Add quick tags that best describe your offer terms.')}} {{__('Maximum 3 tags.')}}

{!! Form::label('label', __('Offer Label:')) !!} {!! Form::text('label', null, ['class' => 'form-control', 'required', 'maxlength' => 25, 'placeholder' => __('e.g INSTANT RELEASE')]) !!}

{{__('Any marketing text that will appear after your payment method. Maximum 25 characters and only letters and numbers.')}}

{{__('Terms & Instruction')}}

{!! Form::label('terms', __('Offer Terms:')) !!} {!! Form::textarea('terms', null, ['class' => 'form-control', 'rows' => 4]) !!}
{!! Form::label('trade_instruction', __('Trade Instructions:')) !!} {!! Form::textarea('trade_instruction', null, ['class' => 'form-control', 'rows' => 4]) !!}

{{__('Shown once the trade has started. Trade instructions must be short, clear and bulleted if possible')}}

{{__('Requirements')}}

{!! Form::checkbox('phone_verification', 1) !!} {!! Form::label('phone_verification', __('Verified Phone')) !!}
{!! Form::checkbox('email_verification', 1) !!} {!! Form::label('email_verification', __('Verified Email')) !!}

{{__('Visibility')}}

{!! Form::checkbox('trusted_offer', 1) !!} {!! Form::label('trusted_offer', __('Show to only trusted contacts')) !!}
{!! Form::close() !!}
@endsection @push('data') @endpush