Life System
From order to ledger entry.
A production ERP for a uniform manufacturer: quoting, production, invoicing, accounting and payroll in a single system.

The problem
Every sewing, embroidery or screen-printing order moved through quoting, material purchasing, production, delivery and invoicing in separate spreadsheets. Nobody saw in time which order was late, what it really cost or how it affected the books.
What I built
- Per-order tracking sheets with 10 process states, priorities, due-date alerts, actual costs, attachments, samples and an activity log.
- Full sales flow: customers, quotations with PDF/Excel export and invoicing with automatic journal entries and cascading cancellation.
- Accounting: chart of accounts, journal vouchers, general and subsidiary ledgers, monthly and annual closing, balance sheet and income statement.
- Payroll: employees, overtime, vacations, deductions, settlements and pay runs.
- Operations: purchase requests and orders, payment and production orders, and a problem-resolution matrix.
- Two-way Trello sync so the shop floor can move orders from a mobile Kanban board.
More screens



How it works
- An approved quotation opens a tracking sheet.
- Purchasing and production log costs and progress by state.
- Trello mirrors each state; invalid moves are reverted.
- The invoice posts its journal entry and feeds the reports.
- Closings lock periods and consolidate the financial statements.
Engineering decisions
The system is the source of truth
Trello is an operational view, not a database. Changes leave through an outbox queue, and incoming webhooks are verified with an HMAC signature and deduplicated by action id.
Business rules that defend themselves
If someone drags a card to a state whose requirements are not met—delivering without recorded costs, for example—the system rejects the transition, returns the card to its column and comments why.
Derived accounting, not duplicated
Invoices and cancellations post and reverse their entries from an accounting configuration instead of relying on someone to record them by hand.
Results and evidence
More than 600 commits since 2023. PHPUnit tests and Laravel Dusk browser suites covering costs, production orders, deferred invoicing, cascading cancellation and manual accounting. CI on GitHub Actions against MySQL 8, and deployments with a verified plan before touching production.
Scope and learnings
This is client code: I do not publish the repository or real data. The screenshots come from the real system running locally with fictional data. Another developer made occasional contributions.