{!! Form::open(['url' => action([\Modules\AssetExchange\Http\Controllers\DealController::class, 'store']), 'method' => 'post']) !!}
{!! Form::label('listing_id', __('assetexchange::lang.listings') . ':') !!}
{!! Form::select('listing_id', $listings, $listing?->id, ['class' => 'form-control select2', 'required', 'style' => 'width:100%']) !!}
{!! Form::label('deal_type', __('assetexchange::lang.deal_type') . ':') !!}
{!! Form::select('deal_type', $deal_types, 'company_purchase', ['class' => 'form-control select2', 'style' => 'width:100%']) !!}
{!! Form::label('buyer_contact_id', __('assetexchange::lang.buyer') . ':') !!}
{!! Form::select('buyer_contact_id', $contacts, null, ['class' => 'form-control select2', 'placeholder' => __('assetexchange::lang.select'), 'style' => 'width:100%']) !!}
{!! Form::label('agreed_price', __('assetexchange::lang.agreed_price') . ':') !!}
{!! Form::text('agreed_price', $listing?->asking_price, ['class' => 'form-control input_number']) !!}
{!! Form::label('commission_percent', __('assetexchange::lang.commission_percent') . ':') !!}
{!! Form::text('commission_percent', null, ['class' => 'form-control input_number']) !!}
{!! Form::label('notes', __('assetexchange::lang.notes') . ':') !!}
{!! Form::textarea('notes', null, ['class' => 'form-control', 'rows' => 3]) !!}
{!! Form::close() !!}