This commit adds a full unauthenticated PWA for in-store retail order taking: - Dedicated `/new-order` route with complete order form, customer/company picker - Public `/api/counter/*` endpoints for search, order creation, and photo uploads - Photo capture and gallery selection with 10-photo per order limit - Offline caching via dedicated service worker and app manifest - Shortcut redirect at `/counter` for quick installation - Comprehensive setup and usage documentation in `docs/counter-pwa.md` - Minor cleanup to root layout metadata and service worker registration - Small layout fix for collection pool row text truncation Orders submitted via the PWA appear immediately in the main CRM's New tab, and the app is designed for trusted office kiosk phones without requiring user login.
33 lines
No EOL
785 B
JSON
33 lines
No EOL
785 B
JSON
{
|
|
"name": "WFDASH Counter",
|
|
"short_name": "Counter",
|
|
"description": "Quick over-the-counter order form for WFDASH",
|
|
"start_url": "/new-order",
|
|
"scope": "/",
|
|
"display": "standalone",
|
|
"background_color": "#FDF6F5",
|
|
"theme_color": "#E85D4C",
|
|
"orientation": "portrait",
|
|
"icons": [
|
|
{
|
|
"src": "/android-chrome-192x192.png",
|
|
"sizes": "192x192",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "/android-chrome-512x512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "/wfdash-logo-mark.png",
|
|
"sizes": "any",
|
|
"type": "image/png",
|
|
"purpose": "any maskable"
|
|
}
|
|
],
|
|
"categories": ["business", "productivity"],
|
|
"prefer_related_applications": false
|
|
} |