@extends('layouts.app') @section('title', 'POS') @section('content')
@component('components.widget', ['class' => 'box-success']) @slot('header')

POS Terminal

@if(is_null($default_location))
{!! Form::select('select_location_id', $business_locations, null, ['class' => 'form-control input-sm mousetrap', 'placeholder' => __('lang_v1.select_location'), 'id' => 'select_location_id', 'required', 'autofocus'], $bl_attributes); !!} @show_tooltip(__('tooltip.sale_location'))
@endif @endslot {!! Form::open(['url' => action('SellPosController@store'), 'method' => 'post', 'id' => 'add_pos_sell_form' ]) !!} {!! Form::hidden('location_id', $default_location, ['id' => 'location_id', 'data-receipt_printer_type' => isset($bl_attributes[$default_location]['data-receipt_printer_type']) ? $bl_attributes[$default_location]['data-receipt_printer_type'] : 'browser']); !!}
@if(config('constants.enable_sell_in_diff_currency') == true)
{!! Form::text('exchange_rate', config('constants.currency_exchange_rate'), ['class' => 'form-control input-sm input_number', 'placeholder' => __('lang_v1.currency_exchange_rate'), 'id' => 'exchange_rate']); !!}
@endif @if(!empty($price_groups)) @if(count($price_groups) > 1)
@php reset($price_groups); @endphp {!! Form::hidden('hidden_price_group', key($price_groups), ['id' => 'hidden_price_group']) !!} {!! Form::select('price_group', $price_groups, null, ['class' => 'form-control select2', 'id' => 'price_group', 'style' => 'width: 100%;']); !!} @show_tooltip(__('lang_v1.price_group_help_text'))
@else @php reset($price_groups); @endphp {!! Form::hidden('price_group', key($price_groups), ['id' => 'price_group']) !!} @endif @endif @if(in_array('subscription', $enabled_modules))
@show_tooltip(__('lang_v1.recurring_invoice_help'))
@endif
{!! Form::select('contact_id', [], null, ['class' => 'form-control mousetrap', 'id' => 'customer_id', 'placeholder' => 'Enter Customer name / phone', 'required', 'style' => 'width: 100%;']); !!}
@if(!empty($commission_agent))
{!! Form::select('commission_agent', $commission_agent, null, ['class' => 'form-control select2', 'placeholder' => __('lang_v1.commission_agent')]); !!}
@endif
{!! Form::text('search_product', null, ['class' => 'form-control mousetrap', 'id' => 'search_product', 'placeholder' => __('lang_v1.search_product_placeholder'), 'disabled' => is_null($default_location)? true : false, 'autofocus' => is_null($default_location)? false : true, ]); !!}
@if(in_array('tables' ,$enabled_modules) || in_array('service_staff' ,$enabled_modules))
@endif
@php $hide_tax = ''; if( session()->get('business.enable_inline_tax') == 0){ $hide_tax = 'hide'; } @endphp @if(!empty($pos_settings['inline_service_staff'])) @endif
@lang('sale.product') @show_tooltip(__('lang_v1.tooltip_sell_product_column')) @lang('sale.qty') @lang('restaurant.service_staff') @lang('sale.price_inc_tax') @lang('sale.subtotal')
@include('sale_pos.partials.pos_details') @include('sale_pos.partials.payment_modal') @if(empty($pos_settings['disable_suspend'])) @include('sale_pos.partials.suspend_note_modal') @endif @if(empty($pos_settings['disable_recurring_invoice'])) @include('sale_pos.partials.recurring_invoice_modal') @endif
{!! Form::close() !!} @endcomponent
@include('sale_pos.partials.right_div')
@stop @section('javascript') @include('sale_pos.partials.keyboard_shortcuts') @if(in_array('tables' ,$enabled_modules) || in_array('modifiers' ,$enabled_modules) || in_array('service_staff' ,$enabled_modules)) @endif @endsection