{{--
--}}
{!! Form::label('item_addition_method', __('lang_v1.sales_item_addition_method') . ':') !!}
{!! Form::select('item_addition_method', [ 0 => __('lang_v1.add_item_in_new_row'), 1 => __('lang_v1.increase_item_qty')], $business->item_addition_method, ['class' => 'form-control select2', 'style' => 'width: 100%;']); !!}
@php
$enabled_modules = (array) (!empty(session('business.enabled_modules'))
? session('business.enabled_modules')
: []);
$ship_statuses = [
'ordered' => __('lang_v1.ordered'),
'packed' => __('lang_v1.packed'),
'shipped' => __('lang_v1.shipped'),
'delivered' => __('lang_v1.delivered'),
'cancelled' => __('restaurant.cancelled'),
'no_changes' => __('lang_v1.no_changes'),
];
@endphp
@if( in_array('drivers',$enabled_modules))
@endif
{!! Form::label('amount_rounding_method', __('lang_v1.amount_rounding_method') . ':') !!} @show_tooltip(__('lang_v1.amount_rounding_method_help'))
{!! Form::select('pos_settings[amount_rounding_method]',
[
'1' => __('lang_v1.round_to_nearest_whole_number'),
'0.05' => __('lang_v1.round_to_nearest_decimal', ['multiple' => 0.05]),
'0.1' => __('lang_v1.round_to_nearest_decimal', ['multiple' => 0.1]),
'0.5' => __('lang_v1.round_to_nearest_decimal', ['multiple' => 0.5])
],
!empty($pos_settings['amount_rounding_method']) ? $pos_settings['amount_rounding_method'] : null, ['class' => 'form-control select2', 'style' => 'width: 100%;', 'placeholder' => __('lang_v1.none')]); !!}
@if(session('business.enable_second_currency'))
@endif
{!! Form::label('second_currency', __('lang_v1.second_currency')) !!}
{!! Form::select('second_currency_id', $currencies, $business->second_currency_id, ['class' => 'form-control select2']) !!}
{!! Form::label('second_currency_price', __('lang_v1.currency_price')) !!}
{!! Form::text('currency_price',$business->currency_price, ['class' => 'form-control']) !!}
@lang('lang_v1.payment_link') @show_tooltip(__('lang_v1.payment_link_help_text')):
Razorpay: (For INR India)
{!! Form::label('razor_pay_key_id', 'Key ID:') !!}
{!! Form::text('pos_settings[razor_pay_key_id]', $pos_settings['razor_pay_key_id'] ?? '', ['class' => 'form-control', 'id' => 'razor_pay_key_id']); !!}
{!! Form::label('razor_pay_key_secret', 'Key Secret:') !!}
{!! Form::text('pos_settings[razor_pay_key_secret]', $pos_settings['razor_pay_key_secret'] ?? '', ['class' => 'form-control', 'id' => 'razor_pay_key_secret']); !!}
Stripe:
{!! Form::label('stripe_public_key', __('lang_v1.stripe_public_key') . ':') !!}
{!! Form::text('pos_settings[stripe_public_key]', $pos_settings['stripe_public_key'] ?? '', ['class' => 'form-control', 'id' => 'stripe_public_key']); !!}
{!! Form::label('stripe_secret_key', __('lang_v1.stripe_secret_key') . ':') !!}
{!! Form::text('pos_settings[stripe_secret_key]', $pos_settings['stripe_secret_key'] ?? '', ['class' => 'form-control', 'id' => 'stripe_secret_key']); !!}
qi payment:
{!! Form::label('qi_terminal', __('terminal id') . ':') !!}
{!! Form::text('pos_settings[qi_terminal]', $pos_settings['qi_terminal'] ?? '', ['class' => 'form-control', 'id' => 'qi_terminal']); !!}
{!! Form::label('qi_terminal_url', __('URL') . ':') !!}
{!! Form::text('pos_settings[qi_terminal_url]', $pos_settings['qi_terminal_url'] ?? '', ['class' => 'form-control', 'id' => 'qi_terminal_url']); !!}
{!! Form::label('qi_password', __('lang_v1.password') . ':') !!}
{!! Form::text('pos_settings[qi_password]', '', ['class' => 'form-control', 'id' => 'qi_password']); !!}
{!! Form::label('qi_username', __('lang_v1.username') . ':') !!}
{!! Form::text('pos_settings[qi_username]', $pos_settings['qi_username'] ?? '', ['class' => 'form-control', 'id' => 'qi_username']); !!}