1. Go to console.firebase.google.com
2. Click Add project โ name it "king-lot-cha"
3. Go to Project Settings โ Your apps โ Web app
4. Copy the config values below and paste them here
Owner Account
Step 2 of 4 โ Your account (full access)
This is your login. You can enter, edit, and view all data.
Wife / Co-owner Account
Step 3 of 4 โ Her account (view access)
She can view everything in real-time. She cannot edit shifts or entries โ read-only.
๐ Setup Complete!
Your system is connected and ready
โ
What happens next:
โข Your data syncs live between your phone and your wife's phone
โข You enter shifts โ she sees them instantly
โข Works from any device, any browser worldwide
Deploy to Cloudflare Pages:
1. Go to pages.cloudflare.com
2. Click Create a project โ Upload assets
3. Upload this HTML file
4. Get your free URL: king-lot-cha.pages.dev
5. Share that URL with your wife via Telegram ๐ฑ
King Lot Cha
Operations Hub โ Secure Login
Forgot password?
โโ LIVE
King Lot Cha
Operations Hub
โShift 1
๐Analytics
๐ฝ๏ธMenu & Inventory
โ๏ธSettings
๐ฑCopy Summary (Telegram)
๐ฐMonthly Payroll Report
Good morning! ๐
Overview for today.
Today's Revenue
โ
Both shifts
Cash Collected
โ
Bank + hand
Shifts Done
0 / 2
Shift 1 & 2
Avg per Customer
โ
Avg transaction
Staff Bonus
โ
Incentives today
Compensation
โ
Due today
Shift Overview
โ๏ธ Shift 1 โ Viza
06:00 โ 13:00
Pending
Not entered yetโ
๐ Shift 2 โ Nary
13:00 โ 19:30
Pending
Not entered yetโ
๐ฏ Staff Incentive Progress
Shift Handover Note
๐ Shift 1 โ Shift 2
No handover notes yet.
๐ฒ How to Share With Your Wife
1. Open this file in any browser
2. Copy the URL from the address bar
3. Send the link via Telegram or Messenger
4. She opens it, logs in with her name & PIN
5. She can view all data โ real-time, any device ๐ฑ ๐ก To make it fully online: save to Google Drive โ Share โ Anyone with link
Shift Entry
Enter sales, cash & stock from Loyverse.
Select Shift
โ๏ธ
Shift 1
06:00โ13:00
Viza
โ
๐
Shift 2
13:00โ19:30
Nary
๐ท๏ธ Promotions Applied (optional)
POS Sales โ from Loyverse
๐ก Enter exactly the quantities shown in Loyverse for this shift.
Item
Price (แ)
Qty Sold
Revenue (แ)
Cash Reconciliation
Ingredient Stock Count
๐ Opening stock auto-filled from Shift 1 closing. Tap any field to adjust.
Ingredient
Unit
Opening โS1
+ Added
Damaged
Closing
Used (auto)
Live POS Total
0 แ
Items Count
0
Expected Cash
0 แ
Reconciliation Results
โ
โ๏ธ
Run reconciliation from the Entry tab first.
Expected
POS Totalโ
โ Bonusโ
โ Discountโ
Expected Cashโ
Actual
Bank Transferโ
Cash In Handโ
Total Actualโ
Differenceโ
Alerts
Stock Reconciliation
Ingredient
SOP Expected
Actual Used
Difference
Cost/Unit
Est. Loss (แ)
Status
Compensation
โ No compensation required
๐ฏ Incentive Results
Rule
Target
Reward (แ)
Sold
Earned (แ)
Status
๐ท๏ธ Promotions This Shift
Daily Reports
All saved shifts by date.
Analytics
Total Revenue
โ
Avg Daily
โ
Shifts
โ
Avg Customers/Shift
โ
Total Bonuses
โ
Issue Events
โ
Daily Revenue โ Shift 1 vs Shift 2
Top Selling Items
Revenue Split by Shift
Cash Accuracy (Last 10 Shifts)
Staff Performance
V
Viza
Shift 1 ยท 06:00โ13:00
N
Nary
Shift 2 ยท 13:00โ19:30
Compensation Log
Date
Shift
Staff
Issue
Amount (แ)
Status
๐ก Based on your last 7 days of usage. Recommended order = (7-day avg usage ร 7 days ร 1.2) โ current stock. Update current stock in the latest shift's closing count.
๐ฆ
Save at least a few shifts to see the forecast.
๐ก Manually enter how many plates/drinks you sold each hour. This helps optimise prep and staffing. Data is saved per shift.
Enter Hourly Sales (Current Entry)
Heatmap Visualisation
๐ท๏ธ
No promotions recorded yet. Add promotions in Entry.
๐ฝ๏ธ Menu & Inventory
Manage items, ingredients, and SOP recipes.
๐ก Changes take effect immediately in Entry. Auto-saved to Firebase.
Sort:
Khmer Name
English Name
Category
Price (แ)
Type
Actions
๐ก A Bundle is a combo of multiple items sold together at one price. When a bundle is sold, each component item counts toward staff bonus targets automatically.
๐ฆ
No bundles yet. Create your first combo!
๐ก Set Min Stock threshold to trigger low-stock alerts on Today dashboard after each shift close.
Ingredient
Unit
Cost/Unit (แ)
Min Stock ๐
Actions
๐ก Set ingredient quantities per plate for reconciliation accuracy.
Settings
Staff, tolerances, targets, and incentives.
Staff Names
โ๏ธ Shift 1
โน๏ธ Changing the name here only affects future shifts. Old records keep their original staff name โ your history is always preserved.
๐ Shift 2
โน๏ธ Historical shift records store the name at time of entry. Renaming staff here will not alter any past data.
Thresholds & Targets
Allow 5% over SOP
๐ฏ Staff Incentive Rules
๐ก Staff earns the reward if they hit the target qty within one shift. Category names must match exactly.
๐ Security & Access Pins
๐ก Set separate PINs for Owner and your wife. Share the link online and each person logs in with their own PIN. Owner sees everything; Wife view shows all data read-only.
๐ Owner PIN
๐ Wife / Co-owner PIN
๐ช Store Management
๐ก Add multiple stores here to track each location separately. Switch stores from the top bar. Each store has its own shifts, reports, and analytics.
Add Menu Item
Add Ingredient
0 = no alert
Report
๐ฑ Copy for Telegram / Messenger
โ
๐ฐ Monthly Payroll Report
Add Ingredient
0 = no alert
Report
๐ฑ Copy for Telegram / Messenger
โ
๐ฐ Monthly Payroll Report
Create Bundle
A bundle appears in Entry as a single item. When sold, each component counts toward individual staff bonuses.
Components โ Select items included in this bundle: