Sakthi Copier CRM
Quotations, stock and supplier accounts for a copier dealer.
The module list below is drawn from the project changelog. Deployment status and the client-facing feature set still need confirmation, so neither is claimed here.
Overview
Sakthi Copier CRM handles the commercial side of a copier and stationery dealership: quotes that turn into sales, stock that has to match the shelf, supplier balances that have to match the invoices, and warranty rentals that have to be tracked years later.
Business context
A dealership quotes constantly. Each quotation carries machine specifications, an image, freight, packing, GST and terms. Once a quote is accepted it becomes an invoice, which consumes serialised stock, creates a customer balance and, for products that pay it, a commission.
The inventory side has one failure mode that matters: quantity changing through more than one code path. It is how stock figures quietly stop matching the shelf.
Solution overview
A PHP and MySQL application organised around documents — quotation, sales invoice, stock-in, adjustment, supplier payment — where every quantity change goes through a single stock-movement function and every supplier balance through a single ledger rule.
Core modules & workflows
Sales & quotations
- Quotation builder with specification and image snapshots
- Printable quotation format with terms, GST and totals in words
- Sales invoices with serial allocation and commission
- Sales invoice register with filters and CSV export
Inventory
- Stock in from a supplier invoice, including freight and GST
- Product master with reorder levels, barcode and default supplier
- Stock adjustments with a reason, through one movement function
- Serial entry and serial lookup
Suppliers
- Supplier ledger with opening balance
- Supplier payments
- Supplier balance and supplier-product reports
Service & warranty
- Warranty and rental records
- Attendance tracking for staff
Technology stack
PHP and MySQL with server-rendered views. Print templates share the same data path as the screens, so a quotation looks the same on paper as on screen.
Engineering decisions
One door for stock
Every quantity change — stock in, adjustment, invoice, invoice deletion — goes through a single movement function. Invoice deletion returns stock, releases serials and removes the customer ledger line in one place.
Supplier money has one rule
Balance equals opening plus credits minus debits, with opening rows excluded from movement totals. Implemented once and used by every screen that shows a payable.
Remove the duplicate paths
Purchase-order receiving and manual stock editing were retired where they could double-count a quantity. Fewer doors into the same table is a feature.
Snapshot the quotation
Product name, specification and image are copied into the quotation line, so editing a product later does not rewrite a quote the customer already received.
My contribution
Schema, inventory and quotation workflows, print templates and the supplier ledger.
Status & limitations
- Deployment status and the client-facing module list need confirmation before publication.
- No automated test suite. Checks are script-driven — layout and schema checks — rather than unit tests.