# ZadFlow · Restaurant & grocery delivery

> Customer orders, a kitchen display, live delivery, rider accounts, stock and offers: an admin panel, customer and rider app and responsive ordering website for your brand and branches in Saudi Arabia and Egypt.

From your kitchen to their door.

- Price: EGP 2,500, one payment with full source code and future updates
- Languages: Arabic and English. Countries: Saudi Arabia and Egypt.
- [Product page](https://barmajo.com/en/apps/zadflow) · [العربية](https://barmajo.com/apps/zadflow)

## What you get

- Complete source code: API server, admin panel, customer and rider app, shared rules and tests
- Android and iOS app projects (Tauri 2) to build under your own name, icon and colours
- Responsive ordering website for desktop, tablet and phone, plus cashier and kitchen display
- Restaurant and grocery modes, with multiple branches under one brand
- Arabic and English throughout, Saudi Arabia and Egypt built in
- Setup wizard with optional demo records
- Unlimited updates: every future release, free
- Support tickets from your account
- Installation guides in Arabic and English, available from your account

## Features

### Customer ordering

From choosing a branch to placing and following an order.

- **Delivery or pickup** (Customer app, Web ordering): Choose delivery to an address or collect from a branch. The store and each branch can offer one or both, and the app only offers what they do from the first screen to checkout.
- **Branch selection** (Customer app, Web ordering, Admin panel): See branch hours, availability and preparation time before ordering.
- **Menu and search** (Customer app, Web ordering): Browse categories, search products and open their options.
- **Product options** (Customer app, Web ordering, Admin panel): Pick sizes and extras before adding a product to the basket.
- **Favourites** (Customer app, Web ordering): Save favourite products and find them again on the home screen or account.
- **Allergen information** (Customer app, Web ordering, Admin panel): Show the allergens staff selected for each product.
- **Reorder** (Customer app, Web ordering): Start another basket from a delivered or cancelled order.
- **Order notifications** (Customer app, Web ordering): An in-app inbox keeps order updates, offers and support replies together.

### Checkout and scheduling

Give the customer a clear total and an available time.

- **Live price quote** (Customer app, Web ordering, Admin panel): Checkout rechecks the basket, offers, delivery fee and product availability.
- **Orders for later** (Customer app, Web ordering, Admin panel): Choose a future slot; full time slots are left out when branch capacity is set.
- **Scheduled order changes** (Customer app, Web ordering, Admin panel): Customers can move eligible orders for later before preparation begins.
- **Saved addresses** (Customer app, Web ordering): Keep delivery pins and building, floor, apartment and contact details.
- **Cash or online payment** (Customer app, Web ordering, Admin panel): Offer the payment methods enabled for the store’s country and merchant account.
- **Wallet credit** (Customer app, Web ordering, Admin panel): Apply credit first and pay the remaining total by cash or online payment.
- **Customer receipts** (Customer app, Web ordering, Admin panel): Open a receipt for a delivered order or a cancelled order that had a payment. With tax e-invoicing on, it carries the official QR code.

### Live orders and cashier

Run the counter and keep every order moving.

- **Live order board** (Admin panel): Orders follow placed, preparing, ready and on-the-way columns with live updates.
- **Drag to the next step** (Admin panel): Move tickets to their next stage on the live board.
- **Late-order alerts** (Admin panel): Timers and attention lists highlight orders that are taking too long.
- **Phone orders** (Admin panel): The cashier brings customer lookup, delivery address and a menu into one workspace.
- **Draft order recovery** (Admin panel): A cashier draft survives leaving the page and returning to it.
- **Order history** (Admin panel): Search past orders and inspect their timeline, payments and delivery details.
- **Branch controls** (Admin panel, Customer app, Web ordering): Pause incoming orders or mark a branch busy so customers see its current state. An unpaid order cannot go ahead once its branch closes, and a late card payment waits for staff.

### Kitchen display and printing

An accepted order becomes a kitchen ticket.

- **Kitchen display** (Admin panel): Accepted orders appear as tickets with items, notes and preparation timers.
- **Preparation checklist** (Admin panel): Tick off each line; other screens follow the same order live.
- **Kitchen stations** (Admin panel): Filter categories so separate stations work on their part of an order.
- **Undo ready** (Admin panel): The Ready action allows a short undo window for a mistaken tap.
- **All-day item counts** (Admin panel): See the quantities still to prepare across the visible tickets.
- **Kitchen printing** (Admin panel): Print the order tickets the kitchen needs.

### Dispatch and delivery

Assign the trip and follow it through to the doorstep.

- **Automatic dispatch** (Admin panel, Rider app): Offer orders to available riders with an accept-or-decline timer.
- **Rider order pool** (Rider app, Admin panel): Riders can take eligible unassigned orders from their branch’s pool.
- **Protected pool previews** (Rider app): Before taking an order, a rider sees the area and trip details without the customer’s full address.
- **Delivery zones** (Admin panel, Customer app, Web ordering): Define coverage with a radius or polygon and calculate delivery fees.
- **Live tracking** (Customer app, Web ordering, Admin panel): Customers follow their order and rider on the tracking screen.
- **Arrival at the door** (Rider app, Customer app, Admin panel): The rider marks arrival and the customer receives an update.
- **Delivery proof** (Rider app, Customer app, Admin panel): Choose customer code, photo, either method or no proof requirement.
- **Failed delivery and returns** (Rider app, Admin panel): Record a failed trip and keep the return-to-branch step visible until it is confirmed.
- **Rider handover** (Admin panel, Rider app): Transfer an order already on the road to another rider with a timeline entry.

### Rider app and shifts

A rider’s working day, tasks and balances in one app.

- **Online, break and offline** (Rider app, Admin panel): Riders control their availability, with location freshness shown honestly. Going offline hands back orders not yet picked up, and the board flags riders offline with food on them.
- **Pickup and delivery tasks** (Rider app): Task screens guide the rider to the branch, customer or return destination.
- **Background location** (Rider app, Admin panel): Native builds support rider location updates while working in the background.
- **Weekly rota** (Admin panel, Rider app): Plan shifts by branch and follow who is expected to work.
- **Road incidents** (Rider app, Admin panel): Riders report incidents from the app for staff to follow up.
- **Branch messages** (Rider app, Admin panel): Keep messages from the branch in a rider inbox.
- **Delivery history** (Rider app): Riders review their completed work from their history screen.

### Rider cash and pay

Track what riders collected and what the business owes them.

- **Cash ledger** (Admin panel, Rider app): Record collected cash, hand-ins, shortages and corrections per rider.
- **Pay ledger** (Admin panel, Rider app): Track delivery earnings, tips, time-based pay, bonuses and deductions.
- **Partial cash collection** (Rider app, Admin panel): A rider records the amount actually collected and a reason for any difference.
- **Cash settlements** (Admin panel, Rider app): Record handing in cash, paying earnings or keeping agreed pay from collected cash.
- **Cash attention list** (Admin panel): Find cash held too long, offline riders holding cash and riders at their limit.

### Menu and branches

One brand, with a menu and operating rules for each branch.

- **Multiple branches** (Admin panel, Customer app, Web ordering): Manage locations, hours, preparation time and availability under one brand.
- **Branch menus and prices** (Admin panel): Set the products and prices offered by each branch.
- **Photos and categories** (Admin panel, Customer app, Web ordering): Organise product photos, categories and featured items.
- **Menus by time of day** (Admin panel, Customer app, Web ordering): Serve categories at selected times, including ranges across midnight.
- **Menu import and export** (Admin panel): Move menu data through the included menu-file tools.
- **Brand colours** (Admin panel, Customer app, Rider app, Web ordering): Choose the app’s primary and secondary colours from the admin panel.

### Grocery selling

The same app can sell groceries as well as prepared meals.

- **Restaurant or grocery mode** (Admin panel, Customer app, Web ordering): Choose the store type during setup; wording follows the choice.
- **Products by weight** (Admin panel, Customer app, Web ordering): Sell weighed products with quantities and stock tracked in grams.
- **Subcategories** (Admin panel, Customer app, Web ordering): Organise large catalogues into categories and subcategories.
- **SKU and barcode** (Admin panel): Keep product codes and barcodes with the catalogue.
- **Out-of-stock preferences** (Customer app, Web ordering, Admin panel): Ask the customer what to do if an item is unavailable.
- **Delivery windows** (Customer app, Web ordering, Admin panel): Offer delivery windows suitable for grocery orders.

### Smart pricing

Set price rules and promotions with the same calculation at checkout.

- **Price rules** (Admin panel, Customer app, Web ordering): Adjust prices by time, date or kitchen load for selected products or branches.
- **Percent or fixed adjustments** (Admin panel): Change a price by a percentage or fixed amount.
- **Pricing simulator** (Admin panel): Try pricing conditions in the panel before changing the customer’s experience.
- **Delivery surge** (Admin panel, Customer app, Web ordering): Adjust the delivery fee when riders are short.

### Promotions, promo codes and banner studio

Design, configure, schedule and measure your promotions in one workspace.

- **Banner design studio** (Admin panel): Build offer banners in the panel using ready-made styles, Arabic and English copy, your image and brand colours. Preview the result inside the customer home screen before saving.
- **Image layouts and backdrops** (Admin panel): Choose a circular frame, large photo or cutout image, then customise colours and plain, gradient, ray, dot or stripe backdrops where the layout supports them.
- **Banner motion and stickers** (Admin panel, Customer app, Web ordering): Choose image motion and add stickers, a discount stamp and a shine effect. Offers with an end date can show a countdown; replay or pause the preview in the studio.
- **Promo codes or automatic offers** (Admin panel, Customer app, Web ordering): Create a promo code using your own text or the code suggestion, or apply an offer automatically. When several automatic offers qualify, the system chooses the best one for the customer.
- **Percentage, fixed amount or free delivery** (Admin panel, Customer app, Web ordering): Choose a percentage discount, fixed amount or free delivery. Set the minimum order and, where applicable, the maximum discount. Test its effect on a basket value before publishing.
- **Eligibility and usage limits** (Admin panel): Restrict an offer to first orders, set per-customer and total redemption limits, and choose eligible branches, categories or products.
- **Offer scheduling and calendar** (Admin panel): Set start and end dates, then inspect offers in the timeline view. Distinguish live, upcoming, ended and paused offers when planning your next promotion.
- **Home banner carousel** (Admin panel, Customer app, Web ordering): Choose which offers appear on the home screen and reorder them by dragging or moving them forward and back. Preview the carousel sequence as customers see it.
- **Offer performance** (Admin panel): Review orders using offers, their sales, average basket, discount value and new customers, with per-offer results across 7, 30 or 90 days.
- **Campaigns for selected audiences** (Admin panel): Select customers or contact lists as your audience, offer a message, wallet credit or personal coupon, and follow campaign results in the panel.

### Rewards and customers

Bring repeat orders and customer care into the same system.

- **Points to credit** (Customer app, Web ordering, Admin panel): Delivered orders earn points that can turn into wallet credit under your rules.
- **Invite a friend** (Customer app, Web ordering, Admin panel): Reward eligible first orders with credit for the inviter and their friend.
- **Customer compensation** (Admin panel, Customer app, Web ordering): Staff can issue credit with a recorded reason for an order problem.
- **Customer segments** (Admin panel): Find customers and choose the audience for an offer.
- **Order ratings** (Customer app, Web ordering, Admin panel): Customers rate their experience and staff can review poor feedback.
- **Problems and replies** (Customer app, Web ordering, Admin panel): Track reported problems and keep the response with the order. Answer with wallet credit, a refund, points or a free replacement order that takes from counted stock.

### Payments and tax integrations

Bring your own merchant and taxpayer accounts.

- **Egypt payments** (Customer app, Web ordering, Admin panel): Paymob integration supports configured cards and mobile-wallet methods in EGP.
- **Saudi payments** (Customer app, Web ordering, Admin panel): Connect Paymob KSA, Moyasar or PayTabs with enabled SAR payment methods.
- **Refund tracking** (Admin panel, Customer app, Web ordering): Track refunds and the configured return of money to the payment method or wallet.
- **Saved payment cards** (Customer app, Web ordering): Supported Paymob flows use card tokens rather than storing card numbers in the app.
- **ZATCA integration** (Admin panel): Simplified tax invoices for consumer sales, with onboarding that covers company invoices too. Your taxpayer details, certificates and provider approval are required.
- **ETA integration** (Admin panel): Egyptian e-invoices set up per branch, with your registered taxpayer setup. An invoice of 50,000 EGP or more to an individual waits until the buyer's national ID is entered.
- **ETA e-receipts** (Admin panel, Customer app, Web ordering): A branch registered as an ETA point of sale can send consumer sales as signed e-receipts, with return receipts for refunds and the QR code on the customer's receipt. Built to the ETA specification; your business must be listed in the e-receipt system.
- **Company accounts (B2B)** (Admin panel): Mark a customer as a company (an office ordering for its staff) with its registered name, tax number and address. Its orders get a tax invoice in its name, cleared by ZATCA or sent to the ETA, so it can reclaim the VAT.

### Stock and back office

Keep purchases, costs and operating results alongside the orders.

- **Stock counts** (Admin panel): Count products by branch and review every stock movement.
- **Low-stock alerts** (Admin panel): Show low or sold-out products and alert staff when thresholds are crossed.
- **Waste recording** (Admin panel): Record discarded stock with its reason.
- **Suppliers and purchases** (Admin panel): Record received purchases, supplier balances and when they are paid.
- **Cash drawer** (Admin panel): Keep counter cash activity alongside orders and expenses.
- **Expenses and profit** (Admin panel): Track expenses and inspect profit and loss over a chosen period.
- **Operating reports** (Admin panel): Compare sales, orders, delivery times, cancellations and branch performance.
- **Spreadsheet exports** (Admin panel): Export orders, customers, contacts and profit-and-loss data as CSV.

### WhatsApp and notifications

Customer contact from sign-in to after the delivery.

- **WhatsApp sign-in codes** (Customer app, Rider app, Web ordering): Customers and riders sign in using a code sent to their phone.
- **Linked phone or Cloud API** (Admin panel): Choose linked WhatsApp numbers or the official WhatsApp Cloud API.
- **Backup WhatsApp lines** (Admin panel): Configure backup sending lines for when a linked number is unavailable.
- **Shared inbox** (Admin panel): Read and answer incoming customer conversations from the panel.
- **Push notifications** (Customer app, Rider app, Admin panel): Configure your Firebase project for notifications when the app is closed.
- **Message limits** (Admin panel): Use sending limits, quiet hours and opt-out handling for campaigns.

### Setup, access and ownership

Run it on your own server with your own identity.

- **Country installer** (Admin panel): Choose Egypt or Saudi Arabia, language, store type and first branch.
- **Arabic and English** (Admin panel, Customer app, Rider app, Web ordering): The panel and phone app include both languages and right-to-left layouts.
- **Web ordering** (Web ordering, Customer app): Build the customer experience as a web ordering site alongside the phone apps.
- **Android and iOS projects** (Customer app, Rider app): The Tauri 2 projects and release scripts ship with the source.
- **Responsive touch** (Customer app, Rider app, Admin panel): Everything tappable responds to the finger, screens slide the way you go and data screens refresh with a pull. In the panel, figures roll into place and overview tiles open the page behind them.
- **Staff roles** (Admin panel): Limit staff access by role, permissions and branch.
- **Two-step sign-in** (Admin panel): Staff can use an authenticator app for an extra sign-in step.
- **Activity log** (Admin panel): Keep a record of staff actions for review.
- **Backups and system health** (Admin panel): Run nightly backups, download database and photo copies to your computer, inspect a restore before replacing data, and check system health.
- **Photo storage** (Admin panel): Keep uploaded pictures on your server or in your own Cloudflare R2 bucket, with keys stored encrypted and tested when saved. Pictures in R2 stay in your bucket rather than in server backups.
- **Open-source maps** (Admin panel, Customer app, Rider app, Web ordering): MapLibre, Nominatim and OSRM provide maps, address search and routes with self-hosting options.

### Website and desktop experience

Launch with an ordering website while app-store publishing stays optional. The desktop experience has its own header, navigation, menu and side basket, sharing orders, prices and branches with the phone app.

- **Searchable desktop menu** (Web ordering, Desktop website): Search the menu and browse categories, products, options and extras.
- **Delivery, pickup and side basket** (Web ordering, Desktop website): Choose delivery or pickup and review the basket beside the menu.
- **Checkout and order follow-up** (Web ordering, Desktop website): Checkout, order tracking, saved addresses and rewards in the browser.
- **App download links** (Web ordering, Desktop website): The desktop site shows a Get the app section when an admin adds a Google Play or App Store link.

## What it takes to run

- Minimum server: 1 vCPU, 4 GB RAM, 40 GB disk
- Recommended server: 2 vCPU, 8 GB RAM, 100 GB disk
- Self-hosted maps (optional): 8 GB more memory, Egypt or Saudi Arabia
- Operating system: Ubuntu 24.04 / 22.04 LTS
- Runtime: Node.js 24 LTS
- HTTPS: Caddy 2
- Database: SQLite (libSQL)
- Ports: 80 · 443
- Domain: A record pointing to the server IP
- Android: 7.0+
- iOS: 15+
- Admin panel: Chrome · Safari · Edge · Firefox
- Desktop & tablet website: Chrome · Safari · Edge · Firefox
- Android: Any computer with Android Studio, JDK 17 and Rust
- iOS: A Mac with Xcode and Rust
- App Store: Apple Developer Program ($99 a year)
- Google Play: Google Play developer account ($25 once)
- Accounts the business brings: A regular WhatsApp number, or the WhatsApp Cloud API; A Paymob, Moyasar or PayTabs merchant account for online payments; ZATCA or ETA taxpayer registration for e-invoicing

## Source code

- `apps/server/server` (577 files): API, orders, delivery, payments and background jobs
- `apps/server/app` (271 files): Admin panel, cashier and kitchen display
- `apps/server/tests` (40 files): Server tests
- `apps/mobile/app` (172 files): Customer and rider app, plus browser ordering
- `apps/mobile/src-tauri` (133 files): Android and iOS projects and native phone features
- `apps/*/i18n` (70 files): Arabic and English text
- `packages/shared` (57 files): Pricing, offers, orders, rewards, delivery rules and their tests
- `deploy` (6 files): Caddy, systemd and self-hosted maps services

## Questions

### Is it a marketplace for independent restaurants?

ZadFlow runs one brand with one or many branches. You manage each branch’s menu, prices and delivery zones under your own name. It is designed for your business’s branches rather than a marketplace of separate merchants.

### Can it run a grocery store too?

Yes. Choose restaurant or grocery during setup. It supports products by weight, subcategories, barcodes, stock in grams, delivery windows and customer preferences when an item is out of stock.

### Do customers and riders need separate apps?

One Android and iOS app project opens the customer or rider experience based on the signed-in account. The included ordering website works on desktop, tablet and phone browsers, with a desktop header, menu and side basket. You can launch the website without app-store publishing.

### Can I use my own name and colours?

Yes. The download includes the source, phone projects and build scripts. Set colours in the panel, and change the name, icon, app identifier and server address before building and publishing your own versions.

### Which countries and payment gateways are supported?

Choose Saudi Arabia or Egypt in the installer. Paymob is supported in both, with Moyasar and PayTabs in Saudi Arabia, plus cash payments. Bring your own merchant account and activate and test its payment methods before launch.

### What do I need for e-invoicing?

ZATCA tools for Saudi Arabia and ETA tools for Egypt are included, with invoices for company accounts and ETA e-receipts for sales to individuals. You need your own taxpayer registration, certificates, account setup and provider approval, followed by verification for your account before live use.

### Do maps need a Google key?

Maps use MapLibre and OpenStreetMap data with Nominatim and OSRM for search and routes. At launch, configure your self-hosted search and routing services or an appropriate provider. Optional self-hosting needs additional memory.

### Does the price include hosting and store publishing?

The base price covers the source and updates. Install it yourself or add installation and publishing through Design your plan. Hosting, domain, merchant and developer accounts are paid to their providers.

