Sultan Kautsar

An Order Tracker That Replaced a Stationery Brand's Paper Planner

Tetesanwarna, the stationery brand whose catalog I built, kept its orders in a paper planner. I turned that planner into a small web app the owner and their partner use on their phones. It tracks every order through production, shows who still owes money, and makes invoices to share as a PDF. I built it in one day, and it runs on Cloudflare Workers, D1, and Access.

Order tracking appStationery and gifts

5 min read

The Client

The same brand as the catalog case study: a stationery business in Magelang, run by the owner and a partner, that makes calendars, stickers, journals, and other printed goods. Orders come in through WhatsApp, Instagram, Shopee, TikTok, and in person.

The Problem

Every order went into a paper planner, one page per month, in four columns: the customer, the order, the current process step, and whether it was paid (L for paid in full, BL for not yet).

  • The planner showed the latest step for each order but not when it moved or what happened before.
  • A down payment (DP) had no column of its own, so the amount still owed had to be worked out by hand.
  • Due dates, couriers, and tracking numbers were written in the margins, if at all.
  • Invoices were written separately for each customer.
  • Only the person holding the planner could check or update an order.

What I Did

I copied the planner’s structure into a mobile web app, then added what paper could not do: a history of each order, payment math, and a printable invoice. The interface is in Indonesian, the language the owners work in.

  1. Baru New order, logged with its customer and items
  2. Desain and Approval Design drafted, then approved by the customer
  3. Cetak, Finishing, and Packing Printed, finished, and packed
  4. Dikirim Shipped, with the courier and tracking number
  5. Selesai Done and closed
The production stages, in the owners' own words. A canceled order moves to Batal. Each stage color comes from the brand's logo.

The planner’s layout, kept
Orders are grouped by month, with search and filters for stage and payment status, and each row reads like a line in the planner: customer, items, stage, and payment status. Order codes follow the month, as in TW-2611-004. Customer numbers continue from where the paper book stopped, so old and new records share one sequence.

Stages with a history
Moving an order to a new stage takes a date and an optional note. The latest stage shows on the order, and every change is kept in a separate history with its date and the person who made it. The dashboard lists orders past their deadline, orders due in the next three days, and the ones changed most recently.

Payments that add up
Amounts are stored as whole rupiah. An order’s paid amount is the sum of its payments, and the status follows from it: BL with nothing paid, DP with part paid, and L once the total is covered. These rules live in one small module with unit tests, shared by the app and the API.

Invoices from the phone
Each order can produce three A4 documents in the brand’s style: a receipt, a down payment bill, and a final bill, with a seal and a stamp showing the payment status. The transfer reference is the order code plus DP or LUNAS, short enough to type in a banking app. Long orders split across pages only between rows, with the header repeated on each page; that split is a tested function too. Sharing renders a PDF in the browser and opens the phone’s share sheet, so the owner can send it straight to WhatsApp. A PDF made on an iPhone matches one made on a desktop.

An app on the home screen
The app installs to the home screen with its own icon and opens without the browser bar. Shop contact details, payment instructions, product types, couriers, and sales channels are edited in the settings screen, with no code change.

Sign-in for two people
Cloudflare Access sits in front of the app, and the owner and their partner sign in with a one-time code sent to their email. The Worker also checks the Access token on every API request and refuses anything without a valid one, so the data stays closed even if Access is set up wrong. The default workers.dev address is switched off, so the app has no way in that skips the login.

Deploys on every push
GitHub Actions runs the tests and the build on each push. On the main branch it then applies any database migrations and deploys the Worker.

The Stack

Layer Tool Role
Interface React, React Router, TanStack Query, Tailwind CSS v4 Phone-first screens, installable as an app
API Hono on Cloudflare Workers Serves the app and the API from one Worker
Data Cloudflare D1, Drizzle ORM Orders, payments, stage history, and settings
Sign-in Cloudflare Access Email one-time codes for the two users
Invoices html-to-image, jsPDF A4 PDFs made in the browser
CI GitHub Actions, Vitest Tests, build, migrations, and deploy

The Result

I built the app on November 22, 2026, and it went live the same day.

Before After
One paper planner, one person at a time The same records on both owners’ phones
The latest step only Every stage change with its date and author
Down payments worked out by hand Paid, part paid, and unpaid computed from recorded payments
Deadlines in the margins Overdue and due-soon orders on the dashboard
Invoices written by hand Receipts and bills shared as PDFs from the phone
  • Nothing to maintain: the Worker, D1, and Access run on Cloudflare, with no server to patch.
  • Backups: every order downloads as a CSV from the settings screen, and the whole database can be exported with Wrangler.

The same Workers, D1, and Access setup runs my own CRM, which I wrote up in Building a Personal CRM on Cloudflare.

If your orders still live in a notebook or a spreadsheet and you want them on your phone, hire me.

Similar Problem?

New websites and landing pages, maintenance, migrations, and technical SEO for businesses and agencies.

More Work

Next step

Have a project in mind? Let's talk.

See how I work and what it costs, or email me. I usually reply within one working day.

Write to Me

Tell me about your project or idea. I usually reply within one working day.