Resets localMod on tab focus, forcing a fresh fetch from Firebase. Turning OFF saves ~45 MB/month bandwidth. Synced via Firebase — change from any device.
Sync students with Reference Register. Use the same URL & Sync Code as Reference Register → Settings → Student DB.
Students sync every 30s. Changes push instantly. Force Fetch ignores today's cache.
Include country code, no + or spaces. Leave empty to disable admin alerts.
📲 Send Options
⏱ Admin Message Delay
Delay (seconds)sec
Parent WA fires instantly. Admin WA opens after this delay via a tap button.
Meta WhatsApp Cloud API
From Meta Developer Console → WhatsApp → API Setup
Use a Permanent Token for production
Leave empty to send plain text (only works within 24hr window)
Language Code
Template Name (Gate Out) (optional)
ON
Sent to parent when student exits gate. Parameters: {{1}} name | {{2}} class | {{3}} gate out time | {{4}} date
Language Code (Gate Out)
Template Parameters:
{{1}} name | {{2}} class | {{3}} picked by {{4}} relation | {{5}} date & time | {{6}} reason
Admin WhatsApp Number (optional — also send alert here)
Send admin alert via Meta API too
Students are flagged as frequent when they are picked up X or more times out of the last Y active school days (days that had any gate passes).
Min Pickups (X)
Out of N Active Days (Y)
Students picked up 4+ times in the last 6 active school days will appear in Quick Pass.
👨👩👧👦 Suggest sibling pass
After issuing a pass, suggest cutting a pass for siblings too (matched by same parent phone number and father's name)
📸 Picker photo requirement
Choose when a picker photo must be captured/uploaded before a gate pass can be issued
Auto-prints slip on every pass issue. Batch-print from Records tab.
Page Size
Orientation
Slip Position on Page
Where on the paper the slip prints (useful for pre-cut paper or label sheets)
Enable auto-print on gate pass issue
Uncheck to stop slip from printing automatically
Skip Preview Window
Directly opens browser print dialog (faster)
✅ Print picker photo on slip
If a photo was captured, it will be included on the printed slip
✍️ Principal Signature
Upload once — appears automatically on every printed slip.
📁 Click to upload signature
Height (mm)
Max Width (mm)
on slip
⬛ Black & White print
Removes all colours and backgrounds — saves ink, works on any printer
🔥 Force Push to Firebase
Clears Firebase completely and pushes your current local data. Use when another device deleted records but they still show here.
🧹 Reset Passes on All Devices
Clears only the local pass cache on every connected device (this one included) and makes each one re-fetch fresh from Firebase. Settings/config on each device are untouched, and Firebase's own data is untouched too.
📦 JSON Backup
⬆️ Restore from JSON
📋 CSV Student Upload → Column Mapping → Auto Sync
Upload CSV/Excel, column mapping popup will appear, then pushes to Firebase.
📂 Upload Students CSV
From
To
Select dates to preview…
✈️ Every gate pass is logged to your school's private Telegram channel — with photo if taken, text-only if not. When a pass is deleted, the message is deleted too.
Bot Token
Get from @BotFather — see setup guide below
Chat IDs (add upto 10 — all receive every message simultaneously)
Channel / group / personal chat ID — use @userinfobot to find yours
Enable Telegram school log
Approve / Deny buttons
Adds ✅ Approve and ❌ Deny buttons to each Telegram message. If approved, signature prints on the slip; if denied, blank signature line.
🌐 Sync to all devices
On/Off will apply on every device connected to same Firebase. Uncheck = only this device.
📋 Bot Setup — Step by Step
Step 1 — Create a bot
1. Open @BotFather on Telegram
2. Send /newbot
3. Give it a name — e.g. Lotus Gate Pass
4. Give it a username — e.g. LotusGatePassBot (must end in "bot")
5. BotFather will send you a Token — paste it in the field above
Step 2 — Create a private channel
1. Create a new private Channel on Telegram
2. Add your bot as an Administrator with Post Messages permission
3. Send any message in the channel, then open this URL: https://api.telegram.org/botYOUR_TOKEN/getUpdates
4. Copy the "id" value from the chat object (starts with -100...)
💠 Use your school's Office 365 account. One-time setup by IT admin: enable Tenant ID and ROPC — then email + password login works directly.
Microsoft Email (Office 365)
Password
Tenant ID
Get this from Azure Portal — see steps below
Upload Folder Path (optional)
Empty = saves to a "GatePasses" folder in root
Enable OneDrive photo upload (Office 365)
📋 IT Admin Setup — Step by Step
Step 1 — Find your Tenant ID
1. Open portal.azure.com with any school Office 365 account
2. Click your name in the top-right corner
3. Click Switch directory
4. Your Tenant ID (Directory ID) will be shown — copy it
Step 2 — Enable ROPC (done by IT Admin)
1. portal.azure.com pe jao → Azure Active Directory
2. App Registrations → All Applications
3. Search for: Microsoft Office (App ID: d3590ed6...)
4. Go to Authentication tab
5. Set "Allow public client flows" → Yes
6. Save ✅
Step 3 — Disable MFA (for this account only)
1. Azure AD → Users → select the account that will be used for upload
2. Multi-Factor Authentication → set to Disabled
3. Or ask IT admin to create a dedicated service account with MFA disabled
⚠️ Use a dedicated account — do not use your main admin account. Create a separate account specifically for gate pass uploads.
Month
Scope
Export all settings — Firebase URLs, Telegram tokens & chat IDs, Print config, Signature, WhatsApp templates — as one JSON. Import on any device to restore instantly.
⬆️ Import Settings
⚠️ Only this device's local data will be cleared — Firebase data stays safe. Page will reload.
App-wise Clear
Full Reset
⚡ Quick Pass 0
Frequent pick-ups (4+ of last 6 active days)
Loading…
👨👩👧👦
Sibling detected — same number
These students share the same parent phone number and father's name — cut their pass too?
📱
Send WhatsApp
—
Opening WhatsApp…
⏱ Opening in 3s…
⚡
—
—
—
Picked Up By *
Relation
Reason (optional)
📒Reference Register
0 Total00
FY
⏱️ Live Tracker
Pending requests with elapsed time
✅
All clear — no pending requests.
📦 Ready to Deliver
Documents ready for collection
🎉
No documents ready to deliver yet.
📊 Breakdown
📅 Date
⚡ Status
👤 Issue To
📄 Document Type required
Select document type…▼
📱 WhatsApp
📎 Attach File
📂Drop file or click to browse
💬 Remarks
🔒
Settings Protected
Enter password to access settings.
tap 5×
🏷️ General▼
App Name
"Issue To" label
"Doc Type" label
🔢 Reference Number Format▼
Prefix
Separator
Status that triggers Ref No generation
Status that prompts for file upload (e.g. Issued/Delivered)
If a file isn't attached yet and you set the status to this value, a popup will ask you to attach the document first.
Preview: LIS/2025-26/0001
🔢 Override Next Number
Use this to skip numbers or reset the sequence for a financial year. The next ref number generated will be this value.
Financial Year
Next Number
🔄 Status Types▼
First status = default for new requests. The Prepared status generates Ref No.
📄 Document Type Presets▼
These chips appear in the Add Entry form — click to select a document type. Add or remove as needed.
🔐 Entry Permissions▼
Set Allowed, Password, or Blocked for Edit, Delete, and Status Change — per status.
Override Password (shared for edit, delete & status change)
🗂️ Dashboard Status Mapping▼
Tracker list shows Card 2 status. Ready to Deliver shows Card 3. Delivered pill shows Card 4.
Enable Firebase Storage upload
Make files publicly accessible
📋 Wix Page Code (Firebase)
Storage → Rules: set allow read: if true;. Then paste this code in your Wix page.
💡 Use a Microsoft personal or school account. Files are automatically renamed to the Reference Number before upload.
Microsoft Email
Password
Upload Folder Path (optional)
Path relative to OneDrive root. Leave empty for root folder.
Enable OneDrive auto-upload
⚠️ Note: OneDrive ROPC auth may be blocked on some organisational accounts. Personal Microsoft accounts (outlook.com, hotmail.com) work best. School/Office 365 accounts require IT admin approval.
🌐 Student name, Reference Number and PDF file are pushed to your "Transfer Certificates" collection.
⚠️ Required: Wix's API blocks direct calls from a browser (CORS). A small free Cloudflare Worker is needed as a relay. Deploy wix-proxy.js (provided separately) to Cloudflare Workers, then paste its URL below.
Wix Proxy Worker URL
The Cloudflare Worker URL you get after deploying wix-proxy.js. Leave empty to attempt a direct call (will fail with CORS error in most browsers).
Wix Site ID
Wix Dashboard → Settings → General Info → copy the Site ID
Wix Account ID (only if file upload fails with the Site ID alone)
Wix Dashboard → Settings (account level) → some API keys are account-scoped and the Media Manager upload step needs this in addition to the Site ID.
Wix API Key
Wix Dashboard → Settings → API Keys → New Key → give CMS permission
Collection ID (exact name)
Exact name of your collection as shown in Wix
🔑 Wix Field IDs — how to find them
1. Wix Dashboard → CMS → open "Transfer Certificates" collection
2. Click the Settings (⚙️) icon at the top
3. In the Fields tab, each field shows its Field Key in grey
4. Note the Field Key for the name column, the reference number column, and the file/PDF column
Name Field Key
Field Key of the student name column
Reference Number Field Key
Field Key of the reference number column (Text type — not Number, since ref numbers contain "/")
File Field Key
Field Key of the PDF file column
Enable — push to Wix CMS when status is set to Prepared
Require a file when marking Issued/Delivered
OFF (default): a popup offers to attach a file before issuing, but a "Skip" button lets you continue without one. ON: the popup still appears, but the Skip button is hidden — a file must be attached before the status can be set to Issued/Delivered.
Also delete from Wix CMS when an entry is deleted from the Register
Document Types to Sync
Only the document types selected (✓) below will be pushed to Wix CMS. Others will be saved locally as usual but skipped from Wix sync.
💡 How it works: When you attach a file to an entry and set the status to Prepared, the PDF is automatically uploaded to Wix Media and saved in the "Transfer Certificates" collection with the student name and file link — but only if that entry's document type is checked above.
✈️ A notification is sent to your Telegram channel whenever a Reference Register entry is added, updated, or deleted.
Bot Token
Can be same as Gate Pass bot or a separate one
Chat ID
Your private channel or group Chat ID
Notify when a new entry is added
Notify when an entry is deleted
Enable Telegram notifications (Reference Register)
When Firebase is connected, prepared TCs are auto-published to /public_board in your Firebase DB. Paste your Firebase URL below in the Wix widget to display them on your school website.
🔒 Settings Password▼
Leave blank to disable password protection.
New Password
Confirm
📅 Financial Year Management▼
FY can only be deleted when it has no entries. A PDF export will be generated automatically before deletion.
Add New FY (start year)
💾 Backup & Force Sync▼
🔥 Force Push to Firebase
Clears Firebase completely and pushes current local data. Use when another device deleted entries but they still show here.