Back to Mission Archive
MISSION_ARCHIVE/golden-hotels-portal
LiveB2B Travel ERP & FinTech

Golden Hotels Booking Agent Portal

Enterprise B2B hotel reservation management, dynamic multi-room pricing matrix, and dual-ledger accounting.

Client / PartnerGolden Hotels Partner Network
Operational RegionMakkah & Madinah, Saudi Arabia
Timeline / Year2026
Engineering ScopeFull-Stack Architecture & Systems Engineering
Primary TechNext.js 16 + Supabase RLS
Golden Hotels Booking Agent Portal Preview
STACK_TAGS:#Next.js 16#TypeScript#Supabase RLS#TanStack Query#PWA Sync#React-to-Print
Executive Briefing

The Operational Challenge & Engineering Solution

The Engineering Problem

Operational Friction & Bottlenecks

Booking agents handling group reservations across high-occupancy Saudi hotels struggle with multi-room pricing variations, custom meal programs, variable night and person multipliers, and manual calculation errors. Reconciling client collections against corporate allotment supplier payables creates significant cash flow discrepancies without dual-ledger synchronization.

ICT Architectural Solution

Modern Full-Stack Execution

ICT engineered a high-resilience Next.js App Router solution backed by Supabase PostgreSQL and Row-Level Security. The platform incorporates automated multi-room pricing formulas, dual ledgers for client receivables and corporate vendor payables, offline reservation caching with automatic sync, and printable PDF tax invoices, money receipts, and statement of accounts (SOA).

Measurable Outcomes

Impact & Operational KPIs

100%

Pricing Calculation Accuracy

Zero margin calculation discrepancies across multi-room reservations

100%

Offline Data Retention

Zero-loss reservation queueing and background auto-sync via PWA

1-Click

Document Generation

Pixel-perfect printable tax invoices, money vouchers, and SOA reports

3-Tier RBAC

Security & Compliance

Granular permissions with immutable Asia/Riyadh audit logging

System Modules

Key Features & Engineering Capabilities

// FEATURE_01

Dynamic Multi-Room Booking Engine

Automated rate mathematics supporting custom buy/sell rates, meal packages (RO, BB, HB, FB, Total Packs), variable night multipliers, and person multipliers.

  • Automatic gross total, net profit, VAT, and dues calculation
  • Instant validation of check-in/out schedules and night counts
  • Support for custom room classifications and view designations
// FEATURE_02

Dual-Ledger Accounting System

Parallel ledgers isolating Client Accounts Receivable (SOA) from Corporate Supplier Accounts Payable to eliminate cash flow leaks.

  • Client Ledger with drill-down transaction histories and printable SOA
  • Company Ledger reconciling hotel allotment supplier payables
  • Automatic status calculation (unpaid, partial, paid) on disbursements
// FEATURE_03

Offline Queue & Auto-Sync Engine

Progressive Web App (PWA) architecture utilizing local browser storage to queue pending reservations when internet connectivity drops.

  • Automatic network state detection via useNetworkSync
  • Background replay to Supabase once connectivity is restored
  • Zero interruption for agents operating on-site at hotels
// FEATURE_04

Branded Enterprise Document Generation

Browser-native print orchestration for official A4 tax invoices, money receipt vouchers, and multi-row landscape system reports.

Architecture & Engineering

System Architecture & Technology Stack

Architectural Blueprint

Modular Monolith + Supabase RLS + Offline PWA Sync

Next.js App Router fronted by serverless route handlers, secured via Supabase RLS policies, and fortified with client-side offline storage queues for continuous operational availability.

Frontend & UI
Next.js 16 (App Router)React 19TypeScript 5Tailwind CSS v4Framer MotionLucide React
Backend & Data
Supabase PostgreSQLRow-Level Security (RLS)Next.js Route HandlersTanStack React Query v5
Architecture & Utilities
PWA Service WorkerLocal Storage Sync QueueReact-to-PrintRechartscanvas-confetti
System Deliverables

Delivered Modules

  • PWA Web Application
  • Dual-Ledger Accounting Engine
  • Automated PDF Invoice & Voucher Generator
  • Supabase PostgreSQL RLS Schema
  • Offline Sync Module
Production Audited

Engineered for high availability, type safety, and real-time operational reliability.

Mission NavigationExplore All Engineering Works
Initiate New Project

Ready to Architect High-Performance Software?

Whether you need enterprise B2B portals, scalable cloud microservices, or headless digital showcases, Infinite Code Tech delivers engineering excellence.

48h response time•Global delivery•Senior-only team