{!! Form::label('theme_color', __('lang_v1.theme_color')); !!} {!! Form::select('theme_color', $theme_colors, $business->theme_color, ['class' => 'form-control select2', 'placeholder' => __('messages.please_select'), 'style' => 'width: 100%;']); !!}
@php $page_entries = [25 => 25, 50 => 50, 100 => 100, 200 => 200, 500 => 500, 1000 => 1000, -1 => __('lang_v1.all')]; @endphp {!! Form::label('default_datatable_page_entries', __('lang_v1.default_datatable_page_entries')); !!} {!! Form::select('common_settings[default_datatable_page_entries]', $page_entries, !empty($common_settings['default_datatable_page_entries']) ? $common_settings['default_datatable_page_entries'] : 25 , ['class' => 'form-control select2', 'style' => 'width: 100%;', 'id' => 'default_datatable_page_entries']); !!}
@php $default_filter_ranges = [ 'today' => __('lang_v1.today'), 'yesterday' => __('lang_v1.yesterday'), 'last_7_days' => __('lang_v1.last_7_days'), 'last_30_days' => __('lang_v1.last_30_days'), 'this_month' => __('lang_v1.this_month'), 'this_year' => __('lang_v1.this_year'), 'current_financial_year' => __('lang_v1.this_financial_year'), 'last_financial_year' => __('lang_v1.last_financial_year'), ]; @endphp {!! Form::label('default_filter_date_range', 'Default filter date range'); !!} {!! Form::select( 'common_settings[default_filter_date_range]', $default_filter_ranges, $common_settings['default_filter_date_range'] ?? 'today', ['class' => 'form-control select2', 'style' => 'width: 100%;', 'id' => 'default_filter_date_range'] ) !!}

Used as the starting date filter for list and report pages.

@show_tooltip(__('lang_v1.exclude_rma_locations_from_stock_forms_help'))
@push('new-feature-settings')

Philippines BIR Mode

Optional compliance support for BIR-labeled invoices, protected sequential invoice numbers, X/Z readings, and eSales journal exports. Leave this off to keep the POS working exactly as normal. Enabling this does not itself constitute BIR accreditation or registration.

When enabled, set each branch's PTU, MIN, and POS serial number in Business Locations. Final sales are blocked only for a BIR-enabled branch whose required machine identity is incomplete.

Integrated Payments

Optional automatic confirmation and reconciliation for Maya Checkout, GCash through QRPh, Visa/Mastercard through Maya, PayMongo, or Xendit, and supported card-terminal bridges. Leave this off to retain the existing manual payment workflow.

@php $integratedPaymentSettings = is_array($business->integrated_payment_settings) ? $business->integrated_payment_settings : []; @endphp
{!! Form::label('integrated_payment_mode', 'Provider environment:') !!} {!! Form::select( 'integrated_payment_settings[mode]', ['sandbox' => 'Sandbox / Testing', 'production' => 'Production / Live'], $integratedPaymentSettings['mode'] ?? 'sandbox', ['class' => 'form-control', 'id' => 'integrated_payment_mode'] ) !!}
PayMongo Hosted Card Checkout

Card-only PayMongo checkout with HMAC-signed payment confirmation. Customers enter card details on PayMongo.

{!! Form::label('paymongo_secret_key', 'PayMongo secret API key:') !!} {!! Form::password('integrated_payment_settings[paymongo_secret_key]', [ 'class' => 'form-control', 'id' => 'paymongo_secret_key', 'placeholder' => !empty($integratedPaymentSettings['paymongo_secret_key']) ? 'Saved — leave blank to keep' : 'sk_test_... or sk_live_...' ]) !!}
{!! Form::label('paymongo_webhook_secret', 'PayMongo webhook secret:') !!} {!! Form::password('integrated_payment_settings[paymongo_webhook_secret]', [ 'class' => 'form-control', 'id' => 'paymongo_webhook_secret', 'placeholder' => !empty($integratedPaymentSettings['paymongo_webhook_secret']) ? 'Saved — leave blank to keep' : 'whsk_...' ]) !!}

Webhook: {{ url('/webhook/paymongo-payments') }}

Xendit Hosted Card Checkout

Xendit Payment Sessions restricted to cards. Completed sessions are rechecked against Xendit's payment API.

{!! Form::label('xendit_secret_key', 'Xendit secret API key:') !!} {!! Form::password('integrated_payment_settings[xendit_secret_key]', [ 'class' => 'form-control', 'id' => 'xendit_secret_key', 'placeholder' => !empty($integratedPaymentSettings['xendit_secret_key']) ? 'Saved — leave blank to keep' : 'xnd_development_... or xnd_production_...' ]) !!}
{!! Form::label('xendit_callback_token', 'Xendit callback verification token:') !!} {!! Form::password('integrated_payment_settings[xendit_callback_token]', [ 'class' => 'form-control', 'id' => 'xendit_callback_token', 'placeholder' => !empty($integratedPaymentSettings['xendit_callback_token']) ? 'Saved — leave blank to keep' : 'Token from Xendit webhook settings' ]) !!}

Webhook: {{ url('/webhook/xendit-payments') }}

Maya Hosted Checkout

Card details and 3-D Secure authentication stay on Maya's hosted page.

{!! Form::label('maya_public_key', 'Maya public API key:') !!} {!! Form::password('integrated_payment_settings[maya_public_key]', [ 'class' => 'form-control', 'id' => 'maya_public_key', 'placeholder' => !empty($integratedPaymentSettings['maya_public_key']) ? 'Saved — leave blank to keep' : 'pk-...' ]) !!}
{!! Form::label('maya_secret_key', 'Maya secret API key:') !!} {!! Form::password('integrated_payment_settings[maya_secret_key]', [ 'class' => 'form-control', 'id' => 'maya_secret_key', 'placeholder' => !empty($integratedPaymentSettings['maya_secret_key']) ? 'Saved — leave blank to keep' : 'sk-...' ]) !!}
Physical Card Terminal (optional)
{!! Form::label('terminal_bridge_url', 'Terminal bridge URL:') !!} {!! Form::url( 'integrated_payment_settings[terminal_bridge_url]', $integratedPaymentSettings['terminal_bridge_url'] ?? 'http://127.0.0.1:8765', ['class' => 'form-control', 'id' => 'terminal_bridge_url'] ) !!}
{!! Form::label('terminal_bridge_token', 'Terminal bridge token:') !!} {!! Form::password('integrated_payment_settings[terminal_bridge_token]', [ 'class' => 'form-control', 'id' => 'terminal_bridge_token', 'placeholder' => !empty($integratedPaymentSettings['terminal_bridge_token']) ? 'Saved — leave blank to keep' : 'Local bridge access token' ]) !!}
Integrated payment methods appear only after the feature, provider, and credentials are configured. Online payment confirmations require publicly reachable HTTPS webhook addresses and activated payment channels on the selected provider account. PayMongo signatures and Xendit callback tokens are always verified before processing. Maya card callbacks remain restricted to Maya's official environment IPs. A physical terminal also requires the provider's approved ECR kit and a local bridge compatible with this POS.

Offline Sales and Automatic Sync

Lets an already-open POS terminal safely queue eligible cash sales when the server connection is lost, then automatically submit them when the connection returns.

Offline checkout is limited to new walk-in cash sales on this terminal. BIR mode, integrated payments, serial/IMEI and lot-tracked items, credit sales, rewards, exchanges, service/kitchen orders, and file attachments still require a live connection. Stock and all normal sale rules are checked again during sync.
@endpush

Employee Login Time Window

Admin users can always login. When enabled, regular employee users can only login inside this time range.

{!! Form::label('login_allowed_from', 'Login allowed from:') !!} {!! Form::time( 'common_settings[login_allowed_from]', $common_settings['login_allowed_from'] ?? '07:00', ['class' => 'form-control', 'id' => 'login_allowed_from'] ) !!}
{!! Form::label('login_allowed_to', 'Login allowed until:') !!} {!! Form::time( 'common_settings[login_allowed_to]', $common_settings['login_allowed_to'] ?? '20:00', ['class' => 'form-control', 'id' => 'login_allowed_to'] ) !!}
@include('business.partials.settings_default_columns')