Rameez Scripts Logo

Rameez Scripts

Browse All Files VIP Plans WhatsApp

How to Build a POS System for Small Business – Claude Code + VS Code + Google Sheets - F4

F4 Google Apps Script Dashboard Google Apps Script Premium Plan Weekly Plan VIP Premium Plan
❤️
Google AI Pro — Premium Access Made Affordable | Enjoy 18 Months of Full Access for Just $20
Private & Secure Subscription Direct Email Activation Seamless Experience Step into the future of AI — instantly.

Watch Video Tutorial

Prompt

Build a complete Wood Trading POS system as a 2-file Google Apps Script SPA (Code.gs + index.html).

DOMAIN: A wood trading business that buys wood from suppliers (each shipment = a "Car"),
stocks wood pieces (each with serial, width, length, calculated CFT), and sells via POS.

ROLES: admin, manager, cashier, warehouse_staff — each sees a different dashboard and menu.

SHEETS (one each, all created by setupDemoData):
- Users (id, name, email, phone, password, role, avatar_drive_id, is_active, created_at, updated_at, otp, otp_expires)
- Categories, Sub_Categories (Cars), Suppliers, Customers
- Wood_Stocks (serial, sub_cat, purchase_id, w/l/cft, buy_rate, sell_rate, qty, status, image_drive_id)
- Purchases, Sales, Sale_Items, Payments (unified — supplier_payment / customer_payment)
- Expenses, Import_Logs, Settings (KV), Activity_Logs

FEATURES:
1. Login with email/pwd. Forgot Password sends 6-digit OTP via MailApp,
   stores in Users sheet with 10-min expiry. Reset flow: email → OTP+new pwd.
2. Dashboard: hero with greeting + 3 inline stats, smart auto-alerts,
   6 quick-action cards, KPI grid with today-vs-yesterday trend pills,
   Daily Sales line chart (gradient), Stock Status vertical bar chart,
   Top Customers bar, Expense breakdown donut, unified activity timeline.
3. POS: searchable wood cards with images, qty-picker modal, cart with
   inline qty+rate edit, customer card (gradient when selected), quick-pay
   buttons (Full / Half / None), method tiles with icons, thermal + A4 print.
4. Wood Inventory: DataTable with image thumbnails, image upload to Drive,
   bulk CSV import, sub-category drilldown, stock aging report.
5. Reports: Profit/Loss, Sales Summary, Stock Aging, Customer Analysis,
   Car/Shipment P&L — all with Chart.js + DataTables export.
6. SWR caching: localStorage-backed, instant repaint, silent revalidation.
7. Role-aware menus, server-side role checks on every function.
8. Custom Swal-replacement modals (no external popup CDN).
9. Branded A4 invoice using business_name/address/phone from Settings sheet.

DESIGN: Navy Blue theme. SearchableDropdown for every select.
Loading popup pattern. DataTables 10/page with CSV/PDF/Print buttons.
Mobile bottom nav. Sidebar collapsible, persisted to localStorage.

OUTPUT: Code.gs + index.html only. Use LockService on all writes.
Add the Rameez Scripts header comment block to both files.
Run setupDemoData() to seed April 2026 demo data including all April dates.

Watch This Video to Unlock Free Source Code

Watch 25% of the video to unlock your free download

What you'll unlock:

Code.gs + HTML source files
Google Sheet with full project
Apps Script Setup Guide included

0%

This File is 100% Free

Watch this video to unlock your free source code download

How to Download — Watch the Video

Step What You Do Why This Step is Needed
Watch Video Watch 25% of the tutorial video above The video explains how to set up and use this file correctly so you dont face any issues
Download Get your Google Sheet copy with source code The file is completly yours — use it, modify it, no restrictions at all

No sign-in required. Just watch the tutorial video to understand how the file works, and the download button will unlock automaticaly.

Frequently Asked Questions

TRUSTED BY 5,000+ CLIENTS WORLDWIDE

Need This Customized For Your Business?

We don't just deliver and disappear — every project comes with 6 months of free support. Bug fixes, small tweaks, and guidance included. Choose us without any worry.

5,000+
Happy Clients
24-72h
Fast Delivery
6 Months
Free Support
100%
Money Back
30 min
Avg. Reply

What We Customize

Features & Functions
Add new features, modify existing scripts, custom formulas & automations
API & Integrations
Connect with WhatsApp, Telegram, Payment Gateways, CRM & more
Design & UI Changes
Custom branding, layout redesign, dark mode, mobile optimization
Full Custom Projects
Dashboards, billing systems, inventory, CRM — built from scratch
Get Free Quote on WhatsApp

20-30% advance to start • Clear pricing before we start • 6 months free support after delivery

Our Most Recent Upload!

Best For Schools