{{ toast.message }}

Super-Admin Portal

Authorized executives and platform operators only

{{ loginError }}

Platform Overview

Real-time health, subscription revenue, and multi-tenant performance

Tenants / Businesses

{{ stats.total_businesses || 0 }}

All verified stores

Active Staff Users

{{ stats.total_active_users || 0 }}

Owners, Managers, Cashiers

30-Day POS Sales

৳{{ (stats.monthly_revenue || 0).toLocaleString() }}

In-store merchant volume

Storefront Orders

{{ stats.total_orders || 0 }}

৳{{ (stats.order_gmv || 0).toLocaleString() }} GMV

Active Subscription Distribution

{{ plan.name }} {{ plan.count }} businesses
Quick Controls

Platform Actions

{{ stats.pending_payments || 0 }} manual subscription payment(s) are awaiting verification.

Tenant Businesses

Dual-product supervision: manage BusinessChokro POS and StoreChokro customer app per tenant

StoreChokro App Target Store Customer Mobile App

Customer App Displays: {{ activeStorefrontBiz.display_name || activeStorefrontBiz.business_name }} (ID: {{ activeStorefrontBiz.business_id }}) Auto-selecting first active tenant

Tenant / Business BusinessChokro (POS/ERP) StoreChokro (Customer App) Alerts Product Controls
{{ biz.business_name }}
ID: {{ biz.business_id }} · Created: {{ new Date(biz.created_at).toLocaleDateString() }}
{{ biz.is_active ? 'Active' : 'Suspended' }} {{ biz.plan_code || 'free' }}
{{ biz.user_count }} staff · {{ biz.product_count }} items
{{ biz.storefront_enabled ? 'App Live' : 'Disabled' }}
{{ biz.storefront_display_name || 'StoreChokro' }}
Active App Store
{{ biz.alert_message }} None
No businesses match your filter criteria.

Storefront Orders

Cross-tenant customer commerce orders, delivery statuses, and payment states

Order ID Business Customer & Phone Total & Items Status Payment Placed At Actions
#{{ ord.order_id }}
{{ ord.business_name }}
ID: {{ ord.business_id }}
{{ ord.customer_name }}
{{ ord.customer_phone || '—' }}
৳{{ Number(ord.total_amount).toLocaleString() }}
{{ ord.items_count || 1 }} line item(s)
{{ ord.status }} {{ ord.payment_method }} ({{ ord.payment_status }}) {{ new Date(ord.created_at).toLocaleString() }}
No customer orders recorded yet. As storefront shoppers place orders, they will appear here in real time.

Platform Users

Staff and merchant user accounts across all tenant businesses

User Details Tenant Business Role Status Joined Date Actions
{{ user.full_name }}
{{ user.email }}
{{ user.business_name }} {{ user.role }} {{ user.is_active ? 'Active' : 'Disabled' }} {{ new Date(user.created_at).toLocaleDateString() }}
No users found.

Subscription Transactions

Automated and manual gateway transactions requiring reconciliation

Transaction ID / Ref Business / Tenant Plan & Amount Gateway & Sender Status Date Action
{{ pay.transaction_id }}
Ref: {{ pay.transaction_reference }}
{{ pay.business_name }}
৳{{ pay.amount }}
{{ pay.plan_name }} Plan
{{ pay.gateway }}
{{ pay.sender_number }}
{{ pay.status }} {{ new Date(pay.created_at).toLocaleString() }}
Reconciled
No payment transactions found.

Subscription Plans & Limits

Control pricing, employee seat limits, and product inventory thresholds

{{ plan.name }}

{{ plan.is_active ? 'Active' : 'Archived' }}
৳{{ plan.price_monthly }} / month
Code {{ plan.plan_code }}
Max Users {{ plan.max_users }}
Max Products {{ plan.max_products }}

AskChokro AI Queries

Tenant natural-language analytics usage and Gemini AI query logs

Total Queries (30 Days)

{{ aiUsageStats.total_queries || 0 }}

Active AI Businesses

{{ aiUsageStats.active_businesses || 0 }}

Total Logs Indexed

{{ aiUsageTotal }}

Business User Query Text Logged At
{{ log.business_name }} {{ log.user_name || 'Staff' }} "{{ log.query_text }}" {{ new Date(log.created_at).toLocaleString() }}
No AskChokro AI query logs recorded yet.

System Telemetry & Health

Live server runtime, database latency, and platform uptime

Database Engine
PostgreSQL (Supabase)
Roundtrip Latency: {{ systemStatus.db_latency_ms }} ms
Runtime & OS
Node.js {{ systemStatus.node_version }}
Platform: {{ systemStatus.platform }}
Process Memory (Heap)
{{ systemStatus.memory?.heap_used_mb }} MB
RSS: {{ systemStatus.memory?.rss_mb }} MB · Heap Total: {{ systemStatus.memory?.heap_total_mb }} MB

Connected Microservices & Endpoints

Public Marketing: bc.imnurmohammad.me
Backend REST API: api.imnurmohammad.me
Super Admin Web: bc.imnurmohammad.me/boss/
Payment Gateway: PipraPay Live

API Keys & Integrations

Manage runtime credentials for Android SMS Gateway, Brevo, Google OAuth, Payment APIs, and AI models

Android SMS Gateway (SIM Carrier Delivery)

Active & Connected

Sends zero-cost transactional OTP SMS via your Android phone's local Bangladesh SIM

Default: Capcom Cloud server (https://api.sms-gate.app/3rdparty/v1/messages)
Found on SMS Gateway App home screen
Basic Auth password generated by Android app
Connected device ID (e.g. Sony Xperia / Xiaomi / Samsung)
Live SMS Gateway Test Sends test SMS via connected phone
{{ testSmsForm.status.message }}

Brevo Transactional Email & OTP

Delivers email OTP codes, digital receipts, and password resets

v3 REST API key from app.brevo.com
Must be verified in Brevo domains
Branded sender name in inboxes
Live Email Test Dispatches test OTP code to email
{{ testEmailForm.status.message }}

Google OAuth & One-Tap Sign-In

Used by Merchant & StoreChokro Customer Flutter apps to authenticate users with Google

Web Client ID from Google Cloud Console credentials
Optional client secret for server-side token exchange
Android App Fingerprints & Package IDs:
• Merchant App: com.bc.merchant_app
• Customer App: com.bc.customer_app

PipraPay Automated Payment Gateway

Automated bKash, Nagad, Rocket and card checkout processing

PipraPay Live Gateway Endpoints Configured Default Link
Gateway Checkout
POST {{ getKeyObj('PIPRAPAY_BASE_URL').key_value || 'https://pay.imnurmohammad.me/api' }}/checkout/redirect
Verify Payment
POST {{ getKeyObj('PIPRAPAY_BASE_URL').key_value || 'https://pay.imnurmohammad.me/api' }}/verify-payment
Refund Payment
POST {{ getKeyObj('PIPRAPAY_BASE_URL').key_value || 'https://pay.imnurmohammad.me/api' }}/refund-payment
Header Auth Key
MHS-PIPRAPAY-API-KEY

AskChokro AI Engine (LLM Gateway)

Powers business intelligence, catalog copywriter, inventory forecasting, and smart insights

Custom Integration Keys

Additional environment and third-party API credentials

No custom third-party keys added yet. Click "+ Add New Key" to create one.
{{ key.key_name }} {{ key.service_name }}
{{ key.description || 'Custom platform credential' }}