@extends('crm::layouts.app') @php $title = __('crm::lang.add_order_request'); @endphp @section('title', $title) @section('content')

{{$title}}

@if(count($business_locations) > 0)
{!! Form::select('select_location_id', $business_locations, $default_location->id ?? null, ['class' => 'form-control input-sm', 'id' => 'select_location_id', 'required', 'autofocus'], $bl_attributes); !!} @show_tooltip(__('tooltip.sale_location'))
@endif @php $custom_labels = json_decode(session('business.custom_labels'), true); $common_settings = session()->get('business.common_settings'); @endphp {!! Form::open(['url' => action([\Modules\Crm\Http\Controllers\OrderRequestController::class, 'store']), 'method' => 'post', 'id' => 'add_sell_form', 'files' => true ]) !!}
{!! Form::hidden('location_id', !empty($default_location) ? $default_location->id : null , ['id' => 'location_id', 'data-receipt_printer_type' => !empty($default_location->receipt_printer_type) ? $default_location->receipt_printer_type : 'browser', 'data-default_payment_accounts' => !empty($default_location) ? $default_location->default_payment_accounts : '']); !!} @component('components.widget', ['class' => 'box-solid'])
{!! Form::text('or_search_product', null, ['class' => 'form-control mousetrap', 'id' => 'or_search_product', 'placeholder' => __('lang_v1.search_product_placeholder'), 'disabled' => is_null($default_location)? true : false, 'autofocus' => is_null($default_location)? false : true, ]); !!}
@lang('sale.product') @lang('sale.qty') @lang('sale.price_inc_tax') @lang('sale.subtotal')
@lang('sale.item'): 0      @lang('sale.total'): 0
@endcomponent @component('components.widget', ['class' => 'box-solid'])
{!! Form::label('sell_note',__('purchase.additional_notes')) !!} {!! Form::textarea('sale_note', null, ['class' => 'form-control', 'rows' => 3]); !!}
{!! Form::label('shipping_address', __('lang_v1.shipping_address')) !!} {!! Form::textarea('shipping_address',null, ['class' => 'form-control','placeholder' => __('lang_v1.shipping_address') ,'rows' => '3', 'cols'=>'30']); !!}
@if(!empty($pos_settings['amount_rounding_method']) && $pos_settings['amount_rounding_method'] > 0)
(@lang('lang_v1.round_off'): 0)

@endif
@lang('sale.total_payable'): 0
@endcomponent
{!! Form::close() !!}
@include('sale_pos.partials.configure_search_modal') @stop @section('javascript') @endsection