ScratLabs
All work
Zalo Mini App · Delivery & distribution·2026

Long Thanh Distribution App

A delivery and distribution app for Long Thanh mineral water, built on Zalo. The field team takes orders at each dealer's own price, sees live truck stock as they sell, tracks returnable bottles and receivables, and the manager watches revenue and top dealers — all from a phone. Built in three weeks.

  • Zalo Mini App
  • NestJS
  • B2B Delivery
Platform
Mobile App
Services
Web & Mobile Apps, Automation & Agents
Timeline
3 weeks
Year
2026
3 wksrequest → delivered
01The challenge

Long Thanh, a mineral water producer, distributes through dealers and delivery routes — each customer on their own price, paying in cash or by transfer, in full or on credit. Taking orders, tracking who owes what, and knowing what's left on the truck by hand was slow and error-prone.

02Our approach

The whole thing lives in Zalo, where the field team already works. An order is two quick steps: pick the dealer and add products — each showing that dealer's own price and how many units are left on the truck ('Còn 6 trên xe') — then choose the payment method (cash or bank) and whether they paid in full or owe. Around it: a dealer directory, an orders-and-expenses timeline filtered by paid / owing / cancelled, order details with a collection history, and analytics — revenue, amount collected, receivables, net-after-expenses, top dealers and who to follow up. A NestJS + PostgreSQL backend powers it, with a manager 'view-only' role kept separate from the staff who take orders.

03The result

The team takes orders at each dealer's price straight from Zalo — with live truck stock so they never oversell, and cash-vs-credit captured on every sale — while the manager sees revenue, receivables and top dealers in one place instead of on paper. From first request to a working product in three weeks.

Outcomes
  • Two-step ordering with per-dealer pricing and live truck stock
  • Cash/bank payment and paid-vs-owing captured per order
  • Manager analytics: revenue, receivables, net and top dealers
Screen by screen
01

Home — today at a glance

The rep opens to today: revenue, order count and outstanding receivables (công nợ), split by cash and bank transfer (Tiền mặt / Chuyển khoản), a 7-day revenue chart, and a low-stock warning ('4 mặt hàng sắp hết') so nothing runs out mid-route.

02

Quick actions

One tap to the job at hand — create an order, look up a dealer, browse orders, log an expense or open analytics — with the week's revenue right at the top.

03

Dealers (Khách hàng)

A searchable directory of dealers by name, phone or address, each with contact details. New dealers are added right from the field.

04

New order · step 1 — products & stock

Pick the dealer, then add products. Each line shows that dealer's own price (per bottle or per pack) and how many units are left on the truck — 'Còn 6 trên xe' — so the rep only sells what's actually loaded.

05

New order · step 2 — payment

Confirm with a payment method (cash or bank transfer) and whether the dealer paid in full or owes (Khách trả đủ / Khách nợ), plus an optional note — so receivables are captured at the moment of sale.

06

Order detail

Every order keeps its line items, totals, payment status (paid vs still owing) and a collection history (Lịch sử thu) — editable or voidable if something changes.

07

Orders & expenses

One timeline of orders and expenses, filterable by paid / owing / cancelled. Expenses (Khoản chi) like fuel show as negative, so the day's real cash position is clear.

08

Analytics

For the manager: revenue, amount collected, receivables and net-after-expenses by day, week or month — plus top dealers and a 'customers to follow up' list.

09

Everything in one place

The full menu — orders, dealers, delivery routes (Phiên giao), analytics, expenses and truck stock (Thùng xe).

10

Roles & account

Each user has a role — here a view-only manager — kept separate from the field staff who take orders, with account settings, activity history and a usage guide.

ScratLabs

Let’s talk about your project.

Tell us what you’re building. We’ll reply with a clear, honest take on scope, timeline and price — usually within a day.

AI-first · Freelance pricing · Made for Europe