@if (!empty($pos_settings['allow_overselling']))
@endif
@if (session('business.enable_rp') == 1)
@endif
@php
$is_discount_enabled = $pos_settings['disable_discount'] != 1 ? true : false;
$is_rp_enabled = session('business.enable_rp') == 1 ? true : false;
@endphp
{!! Form::open([
'url' => action([\App\Http\Controllers\SellPosController::class, 'store']),
'method' => 'post',
'id' => 'add_pos_sell_form',
]) !!}
@include('sale_pos.partials.new_pos_header')
{!! Form::hidden('location_id', $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' => $default_location->default_payment_accounts ?? '',
]) !!}
{!! Form::hidden('sub_type', isset($sub_type) ? $sub_type : null) !!}
@include('sale_pos.partials.pos_form')
@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
@include('sale_pos.partials.pos_form_totals')
@include('sale_pos.partials.pos_form_actions')
@if (empty($pos_settings['hide_product_suggestion']) && !isMobile())
@include('sale_pos.partials.pos_sidebar')
@endif
{!! Form::close() !!}