Enrique MuñozSoftware Engineer · AI Engineer
All projects

Life System

From order to ledger entry.

A production ERP for a uniform manufacturer: quoting, production, invoicing, accounting and payroll in a single system.

My role

Lead developer through Binary Systems: discovery with the client, data model, modules, integrations, testing and deployment.

Technologies

Laravel ·PHP ·MariaDB ·Trello API ·Dusk

Client

Uniform manufacturer · Nicaragua2023 — 2026

Private client code
Life System: production tracking-sheet list with customers, delivery dates and quoted amounts.
Screenshots of the real system with fictional demo data · Life 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.

How it works

  1. An approved quotation opens a tracking sheet.
  2. Purchasing and production log costs and progress by state.
  3. Trello mirrors each state; invalid moves are reverted.
  4. The invoice posts its journal entry and feeds the reports.
  5. 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.

Next projectTizo · Integraciones

Let’s build what comes next.