@extends('layouts.app') @section('title', __('lang_v1.sell_return')) @section('content')

@lang('lang_v1.sell_return')

@if(count($business_locations) == 1) @php $default_location = current(array_keys($business_locations->toArray())) @endphp @else @php $default_location = null; @endphp @endif
{!! Form::text('search_invoice', null, ['class' => 'form-control', 'id' => 'search_invoice', 'placeholder' => 'Enter the invoice No', 'disabled' => false, 'autofocus' => true, ]); !!}
{!! Form::open(['url' => action('SellReturnController@returnStore'), 'method' => 'post', 'id' => 'sell_return_form' ]) !!} {!! Form::hidden('location_id', $default_location, ['id' => 'location_id']); !!}
{!! Form::label('invoice_no', __('Invoice No').':') !!} {!! Form::text('invoice_no', null, ['class' => 'form-control', 'id' => 'invoice_no']); !!}
{!! Form::label('return_type', __('Return Type').':*') !!} {!! Form::select('return_type', ['return' => 'Return', 'exchange' => 'Exchange', 'damage' => 'Damage', 'replacement' => 'Replacement'], null, ['class' => 'form-control', 'placeholder' => __('messages.please_select'), 'required', 'id' => 'select_return_type']); !!}

Return Reason

{!! Form::label('reason','Reason') !!} {!! Form::textarea('reason', null, ['class' => 'form-control', 'rows' => 3]); !!}
{!! Form::close() !!}
@endsection @section('javascript') @endsection