Complete Feature Guide β Telegram Commands β’ Dashboards β’ Data Import
Bot: @bsc_cafe_manager_bot | Chat ID: 515510458
Log expense β AI automatically categorizes
POS sales, Paytm QR, expenses, purchases, bank match status
Show unmatched bank transactions count (Paytm/Zomato/Cash)
Run auto-match engine for all 6 match types
Guided manual purchase entry
Show unpaid vendor invoices
Check Petpooja reports status (daily/weekly/monthly)
Mark report as not available for period
Trigger after uploading Axis Bank XLSX file
Recipe cost breakdown + margin for one menu item
Menu items with gross margin < 50%
Active/draft/no-recipe counts + coverage %
Ingredients below reorder level or zero stock
Log physical closing stock count
Top 5 worst variance ingredients this month
Last 4 weeks weekly breakdown for one ingredient
Last 7 days Zomato for both brands: orders, revenue, cancel rate
Top 3 peak hours β Zomato + Dine-In with medals (π₯π₯π₯)
Top 10 VIP customers (all-time) with spend + last visit + segment
At-risk customers (30β60 days no visit) with phone + days
Lost customers (60+ days) with phone + total spend
Opening checklist (14 items, toggle + submit)
Closing checklist (14 items, warns if opening missing)
Log cleaning for a zone (fuzzy name match)
Today's cleaning status for all zones
Last 7 cleaning entries for a zone
Report maintenance issue with severity
Close issue + optional expense link
All open issues grouped by severity
All equipment β operational/needs_attention/under_repair count
Auto-create draft POs for all low-stock items
Create draft PO for specific vendor
Confirm PO + get WhatsApp-ready message
All open POs β draft/sent/confirmed
Mark PO as received + prompt bill upload
Ingredients with reorder levels β current stock vs threshold
Auto-detects: Petpooja reports / Axis Bank statement / Zomato Settlement
Auto-detects: Zomato Business Report
Auto-detects vendor bills: Vaani Ventures / HyperPure / Blinkit
Auto-detects: Vendor bill / Paytm receipt / Daily register book (NO caption needed)
Access at: http://localhost:8000/dashboard (or your production URL)
Report Tracker
Petpooja report status (daily/weekly/monthly) β pending/received/skipped
Profit & Loss
Revenue vs expenses, brand breakdown, margin %, revenue sources per channel
Bank Reconciliation
Auto-match: vendor payments, rent, Paytm QR, Zomato payouts, cash deposits
Recipe & Menu Costing
Recipe costs, ingredient unit costs, menu margin %, coverage %, no-recipe items
Stock Variance
Theoretical vs actual consumption β waste detection, 30-day trends per ingredient
Zomato Analytics
Peak hours, day-of-week, funnel (impressionsβclicksβorders), ads, cancellation trend
Customer Segments
VIP, regular, occasional, one-time β at-risk & lost customers, live search
Maintenance Tracker
Equipment status grid, open issues, repair cost chart, warranty expiry
Ordering & Restock
Low stock table, open POs, vendor spend chart, reorder status
Filament Admin Panel
CRUD for Staff, Checklists, Expenses, Recipes, Equipment, POs, etc.
Email: mwctechnologies2023@gmail.com
Upload XLSX file β Auto-detects report type from Row 2 (NOT filename)
Idempotency: Replace-by-date-range (delete + reinsert same period)
Upload "Smart Statement Report" XLSX β Auto-categorizes each transaction
Auto-category rules: POS Settlement, Vendor Payment, TDS, Rent, Bank Charges, Owner Withdrawal, etc.
Upload settlement report β Detects key sheets automatically
Both brands tracked: BSC Zomato (21896844) + Korean Kick Zomato (22485506)
Daily CSV report β zomato_daily_metrics
π PDF Bills
Vaani Ventures, HyperPure, Blinkit β parsed & saved to purchases
πΈ Photo Bills
Kunal (Syrups), DMart β Gemini OCR β analyzeVendorBill()
πΈ Upload photo β Auto-detects register vs Paytm receipt
No caption needed! Auto re-runs Paytm OCR if paytm_total detected
πΈ QR code machine thermal printout β paytm_edc_daily
Auto-matched against Petpooja UPI orders: Β±βΉ1 amount + Β±15 min time
/Users/vivek/Documents/Claude/Projects/BSC Cafe Automation Project/bsc
cd bsc && php artisan serve
Port: 8000 (or 8001/8002 if busy)
php artisan queue:work
Run in separate terminal
ngrok http 8000
For Telegram webhook
Local: bsc_local (XAMPP MariaDB)
User: bsc_user
phpMyAdmin: http://localhost/phpmyadmin
Dashboard: http://localhost:8000/dashboard
Admin: http://localhost:8000/admin
Filament Email: mwctechnologies2023@gmail.com
Developer reference β where things are built
app/Http/Controllers/Api/TelegramWebhookController.php
Telegram command routing & webhooks
routes/console.php
All scheduled tasks (04:00 IST β 23:30 IST)
routes/web.php
Dashboard & admin panel routes
app/Services/Importers/
app/Services/Parsers/
Vendor bill PDF/photo parsers (Vaani, HyperPure, Blinkit, etc.)
app/Services/Ocr/
app/Services/Recipes/
app/Services/Stock/
app/Services/Reconciliation/
resources/views/dashboard/
app/Filament/Resources/
app/Console/Commands/
All scheduled commands + manual commands (recipe import, bank recategorize, etc.)
π Telegram Bot
@bsc_cafe_manager_bot
Chat ID: 515510458
πͺ Two Brands, One Kitchen
BSC (Dine-in + Zomato) | Korean Kick (Zomato only)
πΎ Database
MySQL (XAMPP Local) | cPanel Prod
π€ OCR Engine
Gemini 2.5 Flash (Active)