@extends('layouts.app')
@section('title', 'POS')
@section('content')
@if(!empty($pos_settings['allow_overselling']))
@endif
@if(session('business.enable_rp') == 1)
@endif
@component('components.widget', ['class' => 'box-success'])
@slot('header')
POS Terminal
@lang('sale.location'): {{$default_location->name}}
@endslot
{!! Form::open(['url' => action([\App\Http\Controllers\SellPosController::class, 'store']), 'method' => 'post', 'id' => 'add_pos_sell_form' ]) !!}
{!! Form::hidden('location_id', $default_location->id, ['id' => 'location_id', 'data-receipt_printer_type' => !empty($default_location->receipt_printer_type) ? $default_location->receipt_printer_type : 'browser', 'data-default_accounts' => $default_location->default_payment_accounts]); !!}
@if(!empty($pos_settings['enable_transaction_date']))
@endif
@if(config('constants.enable_sell_in_diff_currency') == true)
@endif
@if(!empty($price_groups) && count($price_groups) > 1)
@else
@php
reset($price_groups);
@endphp
{!! Form::hidden('price_group', key($price_groups), ['id' => 'price_group']) !!}
@endif
@if(!empty($default_price_group_id))
{!! Form::hidden('default_price_group', $default_price_group_id, ['id' => 'default_price_group']) !!}
@endif
@if(in_array('types_of_service', $enabled_modules) && !empty($types_of_service))
@endif
@if(in_array('subscription', $enabled_modules))
@show_tooltip(__('lang_v1.recurring_invoice_help'))
@endif
@if(!empty($commission_agent))
{!! Form::select('commission_agent',
$commission_agent, null, ['class' => 'form-control select2', 'placeholder' => __('lang_v1.commission_agent')]); !!}
@endif
@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
@lang('sale.product') @show_tooltip(__('lang_v1.tooltip_sell_product_column'))
|
@lang('sale.qty')
|
@if(!empty($pos_settings['inline_service_staff']))
@lang('restaurant.service_staff')
|
@endif
@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')
@include('contact.create', ['quick_add' => true])
@include('sale_pos.partials.configure_search_modal')
@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