@if($feature === 'bir')
Philippines BIR Mode
Optional compliance support for BIR-labeled invoices, protected sequential invoice numbers,
X/Z readings, and eSales journal exports. Enabling this does not itself constitute BIR
accreditation or registration.
{!! Form::hidden('enable_bir_compliance', 0) !!}
{!! Form::checkbox(
'enable_bir_compliance',
1,
!empty($business->enable_bir_compliance),
['class' => 'input-icheck', 'id' => 'enable_bir_compliance']
) !!}
Enable BIR Mode
{!! Form::hidden('bir_vat_registered', 0) !!}
{!! Form::checkbox(
'bir_vat_registered',
1,
!isset($business->bir_vat_registered) || !empty($business->bir_vat_registered),
['class' => 'input-icheck']
) !!}
VAT-registered business
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 machine identity is incomplete.
@if(!empty($business->enable_bir_compliance))
Open BIR reports
@endif
@elseif($feature === 'integrated-payments')
@php
$integratedPaymentSettings = is_array($business->integrated_payment_settings)
? $business->integrated_payment_settings
: [];
@endphp
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.
{!! Form::hidden('enable_integrated_payments', 0) !!}
{!! Form::checkbox(
'enable_integrated_payments',
1,
!empty($business->enable_integrated_payments),
['class' => 'input-icheck', 'id' => 'enable_integrated_payments']
) !!}
Enable Integrated Payments
{!! 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::hidden('integrated_payment_settings[enable_paymongo_checkout]', 0) !!}
{!! Form::checkbox(
'integrated_payment_settings[enable_paymongo_checkout]',
1,
!empty($integratedPaymentSettings['enable_paymongo_checkout']),
['class' => 'input-icheck']
) !!}
Enable Visa / Mastercard via 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_...',
]) !!}
Xendit Hosted Card Checkout
Xendit Payment Sessions restricted to cards. Completed sessions are rechecked against
Xendit's payment API.
{!! Form::hidden('integrated_payment_settings[enable_xendit_checkout]', 0) !!}
{!! Form::checkbox(
'integrated_payment_settings[enable_xendit_checkout]',
1,
!empty($integratedPaymentSettings['enable_xendit_checkout']),
['class' => 'input-icheck']
) !!}
Enable Visa / Mastercard via Xendit
{!! 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_...',
]) !!}
Maya Hosted Checkout
{!! Form::hidden('integrated_payment_settings[enable_maya_checkout]', 0) !!}
{!! Form::checkbox(
'integrated_payment_settings[enable_maya_checkout]',
1,
!empty($integratedPaymentSettings['enable_maya_checkout']),
['class' => 'input-icheck']
) !!}
Enable Maya Checkout
{!! Form::hidden('integrated_payment_settings[enable_gcash_qrph]', 0) !!}
{!! Form::checkbox(
'integrated_payment_settings[enable_gcash_qrph]',
1,
!empty($integratedPaymentSettings['enable_gcash_qrph']),
['class' => 'input-icheck']
) !!}
Show GCash / QRPh through Maya Checkout
{!! Form::hidden('integrated_payment_settings[enable_card_checkout]', 0) !!}
{!! Form::checkbox(
'integrated_payment_settings[enable_card_checkout]',
1,
!empty($integratedPaymentSettings['enable_card_checkout']),
['class' => 'input-icheck']
) !!}
Enable Visa / Mastercard via Maya Secure Checkout
Card details and 3-D Secure authentication stay on Maya's hosted page.
{!! Form::hidden('integrated_payment_settings[enforce_maya_webhook_ip]', 0) !!}
{!! Form::checkbox(
'integrated_payment_settings[enforce_maya_webhook_ip]',
1,
!array_key_exists('enforce_maya_webhook_ip', $integratedPaymentSettings)
|| !empty($integratedPaymentSettings['enforce_maya_webhook_ip']),
['class' => 'input-icheck']
) !!}
Restrict Maya webhooks to official IPs
{!! 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::hidden('integrated_payment_settings[enable_card_terminal]', 0) !!}
{!! Form::checkbox(
'integrated_payment_settings[enable_card_terminal]',
1,
!empty($integratedPaymentSettings['enable_card_terminal']),
['class' => 'input-icheck', 'id' => 'enable_card_terminal']
) !!}
Enable card-terminal bridge
{!! 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',
]) !!}
Payment methods appear only after the feature, provider, and credentials are configured.
Online confirmations require publicly reachable HTTPS webhooks and activated provider channels.
A physical terminal also requires the provider's approved ECR kit and a compatible local bridge.
@elseif($feature === 'offline-sales')
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.
{!! Form::hidden('enable_offline_sales', 0) !!}
{!! Form::checkbox(
'enable_offline_sales',
1,
!empty($business->enable_offline_sales),
['class' => 'input-icheck', 'id' => 'enable_offline_sales']
) !!}
Enable offline sales and automatic synchronization
Offline checkout is limited to new walk-in cash sales. BIR mode, integrated payments,
serial/IMEI and lot-tracked items, credit sales, rewards, exchanges, service/kitchen orders,
and attachments still require a live connection.
@elseif($feature === 'stored-value')
Gift Cards, Store Credit, and Digital Vouchers
{!! Form::hidden('enable_stored_value', 0) !!}
{!! Form::checkbox(
'enable_stored_value',
1,
!empty($business->enable_stored_value),
['class' => 'input-icheck']
) !!}
Enable secure stored-value accounts and POS redemption
Includes code issuance, customer-linked store credit, branch restrictions, expiry, balance
ledger, adjustments, split tender, and atomic redemption.
@elseif($feature === 'promotions')
Advanced Promotions and Coupon Rules
{!! Form::hidden('enable_advanced_promotions', 0) !!}
{!! Form::checkbox(
'enable_advanced_promotions',
1,
!empty($business->enable_advanced_promotions),
['class' => 'input-icheck']
) !!}
Enable automatic promotions and coupon rules
Supports percentage, fixed-cart, and buy-X-get-Y rules with product scopes, branches,
customer groups, schedules, priority, stacking, and usage limits.
@elseif($feature === 'central-pricing')
Centralized Multi-Branch Pricing
{!! Form::hidden('enable_centralized_pricing', 0) !!}
{!! Form::checkbox(
'enable_centralized_pricing',
1,
!empty($business->enable_centralized_pricing),
['class' => 'input-icheck']
) !!}
Enable centrally published branch price books
Includes draft and published price books, selected branches, effective dates, priority,
versioning, publication history, and server-enforced POS prices.
@elseif($feature === 'manager-approvals')
@php
$managerApprovalSettings = is_array($business->manager_approval_settings)
? $business->manager_approval_settings
: [];
@endphp
Manager Approvals
{!! Form::hidden('enable_manager_pin_approvals', 0) !!}
{!! Form::checkbox(
'enable_manager_pin_approvals',
1,
!empty($business->enable_manager_pin_approvals),
['class' => 'input-icheck']
) !!}
Enable centralized manager approvals
Sensitive POS sales are sent to the cross-branch Manager Approval Center and continue
automatically after an authorized manager approves them.
@elseif($feature === 'operational-alerts')
@php
$operationalAlertSettings = is_array($business->operational_alert_settings)
? $business->operational_alert_settings
: [];
@endphp
Operational Alert Center
{!! Form::hidden('enable_operational_alerts', 0) !!}
{!! Form::checkbox(
'enable_operational_alerts',
1,
!empty($business->enable_operational_alerts),
['class' => 'input-icheck']
) !!}
Enable the operational alert dashboard
Consolidates low/out-of-stock items, payment mismatches, failed offline synchronization,
expiring stored value, and manager-approved sensitive transactions.
@elseif($feature === 'inventory-aging')
Inventory Aging and Dead-Stock Reporting
{!! Form::hidden('enable_inventory_aging', 0) !!}
{!! Form::checkbox(
'enable_inventory_aging',
1,
!empty($business->enable_inventory_aging),
['class' => 'input-icheck']
) !!}
Enable inventory aging and dead-stock reporting
Measures days since each stocked variation last sold at each branch, identifies never-sold
inventory, calculates tied-up cost, and supports CSV export.
@endif