Open the app and log in
- Open the kiln's web address in Chrome on your phone, for example app.bhatta-manager.com.
- Install it once: tap Chrome's ⋮ menu, then Add to Home screen (or Install app). A "Bhatta Manager" icon appears with your other apps. From then on, open it from that icon.
- Type your username and password (the owner gives these to you) and tap Log In.
- If the app asks for a Kiln Code, type the code the owner gave you (for example
SAD208). It is asked only once on a phone. - To switch between Urdu and English, tap the UR / EN button in the top bar. The app remembers your choice.
To log out, tap the red button with your name at the top right.
Tour of the screen
Top bar
- Logo and name: tap to return to Home (the chimney puffs smoke). The small number under it is the app version.
- 🌙 Moon: night mode, dark screens for night firing shifts. Tap again (☀) for day mode.
- UR / EN: language. Red button: log out.
Bottom bar (phones)
Home, Daily Entry, the round orange +, Kiln Board and Khata. On a computer the + sits in the bottom corner instead.
Home
- Today panel (dark box): greeting, date, weather, bricks moulded today, where the fire is, today's cash, and how many daily items are still missing. The big Daily Entry button opens today.
- Stock: Awwal, Doem, Khangar, green bricks in the field, green and fired bricks in the kiln, and coal left. Tap the title to open Purchases.
- Five sections: Today, Kiln, People, Money, Reports. Rarely used pages are under More ▾.
Things that look the same everywhere
- Orange button saves. White button is a second choice. Red deletes.
- In lists: ✏ blue edits the row in place, ✓ green saves the change, ✕ cancels, 🗑 red deletes (asks first).
- The boxes under a list heading are filters: type part of a name or date to narrow the list. ✕ Clear All removes them.
- On phones, long lists show each row as a small card (column name on the left, value on the right).
- Money boxes add commas as you type and show the amount in Urdu words underneath, so mistakes like an extra zero are easy to spot.
- A dark pop-up at the top says Saved ✓; a red pop-up explains an error.
Practice day
Do this once on a test day to get a feel for the app. Ask the owner which date to use, or use today and delete the entries afterwards (step 9 below).
- Tap Daily Entry in the bottom bar. Check the date at the top says today. The coloured bar shows what is done and what is missing.
- Open Attendance from Home › Today and tap P for three workers. Tap Save, then go back to Daily Entry.
- Back on Daily Entry, tap the orange + on the Moulding block. Pick a moulder, type
5000bricks, tap Save. The block now shows the entry with its time, and the Moulding check turns green. - Tap ✏ on that entry, change it to
5200, tap Save. This is how every mistake is corrected. - Tap the big round + at the bottom, choose Firing. Pick the fireman, the line, coal
1200, temperature950, and Save. - Open Worker Day Card on Daily Entry, pick one worker, give Dasti
500and tap Save. - Open Kiln Board and tap the line you fired. Its panel shows the firing date and coal.
- Open Roznamcha (Home › Reports). Everything you did today is listed in time order.
- Delete the practice entries from Daily Entry with 🗑, or ask the owner to.
First-time setup
- Rates: Home › More › Settings. Enter moulding, loading, unloading and firing rates, peshgi cuts per 1,000, brick prices, and the peshgi limits. Tap the green Save next to each one.
- Opening Stock (same page): what is physically at the kiln on the first day: Awwal, Doem, Khangar, green bricks, coal in kg, and other items. Tap Save. Without this, stock and coal figures start from zero and can go negative.
- Kiln Location: tap the kiln on the map, or use Use My Location while standing at the kiln. Weather comes from this spot.
- Kiln layout: on Kiln Board, under Count By, choose Lines (one line per round) or Chambers.
- Hot lines behind the fire (Settings): how many fired lines stay "Cooling" before they count as Ready to Unload. For example 40.
- Types (Settings, bottom): worker categories, purchase items, customer types and payment modes. Add your own, such as "Office Boy" or "Diesel".
- Government Rates (Settings): the notified rates per 1,000 bricks, for your record. They do not change any wages; the warning switch is off for now.
- Users: Home › More › Users. Add the munshi and accountant (lesson 32).
- Workers: add every worker with their opening peshgi (lesson 15).
Daily Entry
Daily Entry is the one place to enter and correct everything done on a day. Open it from the bottom bar or Home.
Choose the day
Use ‹ and › to go back or forward a day, or tap the date to pick any past day. Every entry you add here gets that date.
Read the progress bar
Four checks show whether the day is complete: Attendance (marked / total workers), Moulding, Firing (two shifts expected) and Loading. Green means done, amber means missing.
Add, correct, delete
- Each kind of work has a block: Moulding, Loading, Firing, Unloading, Dasti, Peshgi, Sale, Payment, Purchase. Tap its coloured + to add.
- Entries already saved for the day are listed in the block with their time.
- Tap ✏ to change the numbers; wages are corrected automatically.
- Tap 🗑 to delete. Some deletes are owner-only.
Quick forms and the + button
The round orange + opens a menu of quick forms from any page. Each form slides up from the bottom with only the boxes it needs.
| Form | What you fill | Good to know |
|---|---|---|
| Moulding | Moulder, bricks, breakage %, quality, date | Breakage % is 2 by default. |
| Loading / Bharai | Empty line, bricks, loader, date | The next empty line is chosen for you. |
| Firing | Fireman, Day/Night, line, coal kg, °C, date, time | The line on fire is chosen for you; time is now. |
| Unloading / Nikasi | Ready line, unloader, Awwal, Doem, Khangar, Broken | One save starts and finishes the nikasi. |
| Dasti | Worker, amount, date | Cash taken during the week. |
| Peshgi | Advance or Recovery, worker, amount | Above the limit needs the owner. |
| Sale | Customer, grade, quantity, tax | Price comes from Settings. |
| Payment | Unpaid bill, amount, mode | The bill's balance fills in by itself. |
| Purchase | Item, supplier, quantity, rate, vehicle or description | Posts to the supplier's party account. |
| Attendance | Opens the Attendance page | See lesson 08. |
Worker Day Card
Everything for one worker on one card, on Daily Entry.
- Type part of the worker's name in Worker Day Card and pick them.
- Tap Present, Absent, Leave or Half Day. It saves at once.
- For moulders, loaders and unloaders, type the bricks they did and tap Save. Unloaders also choose the grade.
- Type any Dasti or Peshgi and tap its Save.
- The card lists what is already recorded for them today, and their peshgi balance.
Attendance
- Home › Today › Attendance. Check the date.
- Filter by Category or type a name to find people quickly.
- Tap P (present), A (absent), L (leave) or ½ for each worker. Mark All Present fills everyone, then change the few who are absent.
- Tap Save at the top, or the small ✓ at the end of a row to save one person.
- Tap a worker's name to see their record for a week, 15 days or a month.
Moulding (Pathai)
Daily moulding is best entered on Daily Entry. The Moulding page (Home › Kiln) keeps the full list and totals.
- Net count = bricks moulded − breakage %. Wages are paid on the net count at the moulding rate per 1,000.
- Correct a past entry with ✏ in the list; wages change with it.
- The weekly grid on this page lets you enter a whole week for every moulder at once (lesson 10).
Weekly Entry grid
- Home › Today › Weekly Entry. Choose Moulding, Loading or Unloading at the top.
- Use ‹ › to pick the week (Saturday to Friday).
- Type each worker's count under each day. Green cells are already saved and cannot be typed over.
- Unloading asks for the grade (Awwal, Doem, Khangar); enter one grade at a time.
- Tap Save Whole Week.
Kiln Board
The kiln drawn line by line. Line 1 is at the top middle and the lines run counter-clockwise to 240. The cards above the plan count lines in each state.
| Colour | State | Meaning |
|---|---|---|
| Grey | Empty | Ready to load. |
| Light green | Loading | Green bricks in, not preheating yet. |
| Green | Preheating | Marked by hand as preheating. |
| Red | Firing | The fire is here (latest firing entry). |
| Gold + green dot | Cooling | Fired, still hot behind the fire. |
| Light yellow | Ready to Unload | Cool enough for nikasi. |
| Blue | Unloading | Nikasi team working. |
Using a line
- Tap a line. Its panel slides up (on a computer it opens beside the plan).
- The coloured stage buttons walk the line forward: Loading › Preheating › Firing › Cooling › Unloading. Only the next allowed step can be tapped.
- ‹ › in the panel moves to the previous or next line; ✕ closes.
- The panel shows loading date, firing date, cooling date, bricks, coal, notes on issues, and the history of earlier rounds.
Loading (Bharai)
- Tap an empty (grey) line on the Kiln Board, or use the Loading quick form.
- Pick the loader or team, type the bricks (for example
4200), check the date. - Tap Save Line Bharai. The next line opens with the same loader, so a whole run can be entered quickly.
- To mark it preheating, tap the Preheating stage button.
Owner only: Edit Loading corrects the count, loader or date; Undo Loading removes a load that has not been fired. Wages follow automatically.
Firing (Jalai)
- Home › Kiln › Firing, or the Firing quick form.
- Choose the Fireman, Day or Night, and the Line No being fired. You can also tap the line on the small plan under the form.
- Type Coal (kg) and Temperature (°C); check date and time.
- Tap Log Entry. The line turns red on the Kiln Board and its coal is added to that line.
The Line No list shows the line on fire, preheating lines and the next 15 loaded lines (after 240 it continues at 1).
Unloading (Nikasi)
- Tap a light yellow (Ready) line, choose the unloader or team, and tap Assign Unloader Team. The line turns blue.
- When the line is empty, open it again, type Awwal, Doem, Khangar and Broken, and tap Save Counts.
- The line becomes empty, stock goes up and the unloader's wages are credited.
The Unloading quick form does both steps in one save. Owner: Cancel Nikasi removes a team assigned by mistake.
Workers
- Home › People › Workers.
- Fill Name, Father Name, CNIC, Date of Birth, Category, Mobile No., Opening Peshgi (0 if none) and Agreed Daily Bricks. These are required.
- Optional: Reference / Jamadar (groups workers under their jamadar in the Owner Summary), their own rate and peshgi cut per 1,000 (blank uses the kiln rate), EOBI and PESSI numbers.
- Tap + Add Worker.
The list shows each worker's mobile, peshgi balance and daily bricks, for counter-checking with the worker. Mark Signed records the contract.
Peshgi and recovery
- Home › People › Peshgi, or the Peshgi quick form.
- Pick the worker. Their outstanding peshgi shows at the top.
- Type the amount and date. Tap Give Advance, or Record Recovery when money comes back.
- Above the limit in Settings, the owner must give a reason.
- Print Slip prints the worker's statement.
Dasti and Thursday settlement
During the week: Dasti
Cash a worker takes before Thursday. Enter it on the Worker Day Card, the Dasti quick form, or Home › People › Hafta Hisab › Dasti.
Thursday: Hafta Hisab
- Check Owner Summary on Wednesday for the cash needed (lesson 25).
- Open Hafta Hisab. Choose the category and the week's start and end dates.
- Tap Propose. Each worker's bricks, wages, peshgi cut, dasti already taken and cash to pay are calculated.
- Change any amount if needed, then tap Save and Settle.
- In Recent Settlements, tap Print Slip for one slip per worker to hand out.
Formula: wages − peshgi cut (per 1,000) − dasti = cash on Thursday.
Khata
Tap Khata in the bottom bar. Two boxes:
- Worker Khata: pick any worker (moulder, loader, fireman, munshi, office boy). Every entry from day one, like the paper khata: Naam (given), Jama (earned) and the running Baqaya.
- Party Accounts: everyone else (lesson 19).
Party Accounts
For anyone who is not a worker or customer: the mistri who built the kiln, a tractor owner, coal and soil suppliers, diesel.
- Khata › Party Accounts, then Add New Entry.
- Type the name (earlier names appear as you type), choose the type and check Jama (owed to them) or Naam (paid to them).
- Types: Work Bill and Rent / Service are Jama; Payment Made and Advance Given are Naam.
- Type the amount, mode of payment and a note. Tap + Add.
All Entries shows each party's running balance; Generate Report gives one party or everyone for a date range, with Export PDF.
Example — Kashif Mistri: each bill for his work is a Work Bill (Jama); every payment to him is Payment Made (Naam). His balance is what the kiln still owes him.
Sales, bookings and challans
New customer
Home › Money › Sales › New Customer: name and type, then Add Customer.
Booking (Parchi)
- Tab Booking: customer, grade, quantity booked and the advance received.
- Tap + Booking. The advance goes into the cash book.
- The booking list shows bricks lifted and bricks remaining.
Delivery (bill and challan)
- Tab New Invoice: customer, grade, quantity, tax.
- Fill Vehicle No, Driver, Destination and Freight for the truck or trolley.
- If the customer has a booking, choose it so the bricks come off what they booked.
- Tap New Invoice. The Delivery Challan opens with a challan number: Print Slip or WhatsApp it to the customer.
Payment received
Tab Record Payment: tap the unpaid bill, check the amount and mode, and save. The summary cards show total receivable and how overdue it is.
Purchases (Maal Aaya)
- Home › Money › Purchases, or the Purchase quick form.
- Choose the Item. For a new item, pick + Add New Item.
- Type the Supplier name exactly the same each time, so all their purchases land in one party account.
- Coal: vehicle number, quantity in tonnes, rate per tonne, freight, and optional lab tests. Other items: description, quantity and rate.
- Tap + Add. Coal stock rises (tonnes × 1,000 kg) and the supplier's party account gets the full amount as Jama.
Cash Book and cash count
- Home › Money › Cash Book. Pick the day.
- Cards: Opening Cash, Total In (payments and booking advances), Total Out (expenses, purchases, peshgi, dasti), Closing Cash.
- At the end of the day, count the notes in hand and type the amount in Cash Count, then Save.
- Green means it matches the book. Red shows the difference: find the missing entry before closing the day.
Personal Finance
The owner's own money, kept apart from the kiln: borrowing, loans given, repayments, household expenses. Only the owner sees it. It works exactly like Party Accounts: Home cards and a person picker, Add New Entry, All Entries with edit in the row (edited rows stay highlighted), and Generate Report with a net option and PDF export.
Roznamcha
Home › Reports › Roznamcha. Pick a date: everything done that day in time order (moulding, bharai, nikasi, sales, payments, purchases, coal, peshgi, dasti, issues, absences), with a summary count at the top. Filter by type or detail.
Owner Summary
- Cash Needed Thursday: this week's wages minus dasti already given, per worker. Peshgi cut comes off at settlement.
- Cost per 1,000 Bricks (last 30 days): labour plus other costs, divided by bricks unloaded.
- We Owe: every supplier or party with an open balance.
- Jamadar Groups: workers and total peshgi under each jamadar.
- Left With Peshgi Due: inactive workers who still owe money.
Tap WhatsApp to send the day's short summary to yourself or a partner.
Health Check
Home › Reports › Health Check lists figures that look wrong, each with a link to fix it: no opening stock, coal or bricks below zero, workers with no attendance for 7 days, lines ready to unload for over 15 days, purchases without a supplier. "Everything looks right" means the reports can be trusted.
Insights
- Home › Reports › Insights.
- Choose the period: 1 Day (yesterday, full 24 hours), 7, 15, 30, 90, 180, 365 days, or Custom.
- Cards: moulding (total, this week, this month), loading, lines fired, kiln situation line by line, nikasi by grade, sales, coal, stock in hand, production and quality, finance, risk.
- Charts: moulding, Awwal share, coal per 1,000, sales and fired stock by grade, each with Daily Avg (left) and Trend (right). Tick or untick the legend boxes to show or hide parts of a chart.
Reports and printing
- Home › Reports › Reports. Choose the period.
- Tick the parts to include: moulding, bharai, nikasi, stock, firing, coal, sales, peshgi, settlements, purchases, cash book.
- Tap Print / PDF and choose Save as PDF in the print window to keep or share the report.
Other printouts: worker peshgi slip (Peshgi page), Thursday slips (Hafta Hisab), delivery challan (Sales), party and personal reports (Export PDF).
Corrections and history
- Best place to correct: Daily Entry for that date, with ✏ or 🗑.
- Corrections & Erase (Home › More): loading and nikasi records over a date range, edited or erased with wages reversed. Moulding and firing are corrected on their own pages.
- All Entries (Activity) and Audit Logs (Home › More): who changed what and when.
Weather
Home › More › Weather. Today hour by hour, or 3, 7 and 15 days, with kiln advice: cover kachi bricks when rain is likely, strong wind, heat for workers, good drying days. The round ↻ button refreshes the forecast. Days 8–15 are a trend only.
Settings in detail
| Setting | What it does |
|---|---|
| Peshgi / munshi limits | Largest advance without the owner's reason; munshi's own limit. |
| Rates per 1,000 | Moulding, loading, unloading wages; firing per shift. |
| Peshgi cuts per 1,000 | How much peshgi comes off at Thursday settlement. |
| Brick prices | Default sale price for Awwal, Doem, Khangar. |
| Hot lines behind the fire | How many fired lines stay Cooling before Ready. |
| Allow negative stock | Lets entries go through even when stock would fall below zero. |
| Government Rates | Notified rates for record. No effect on wages; warning switch disabled for now. |
| Opening Stock | What was at the kiln on day one. |
| Kiln Location | Spot used for the weather. |
| Manage Types | Worker categories, purchase items, customer types, payment modes. |
Reset next to a setting returns it to the default.
Users and permissions
- Home › More › Users. Type a username, password and role, and tap Add.
- Roles: Owner sees everything. Accountant sees money and reports. Munshi enters daily work. Mistri logs firing and nikasi counts. Viewer only looks.
- Tap Permissions on a user to fine-tune what they can view, add, edit or delete in Workers, Peshgi, Settings and Types.
Closing a day
- On Daily Entry, check the day is complete and the cash count matches.
- Tap Close Day. That day and all days before it are locked: staff cannot add or change entries dated then.
- To fix something later, tap Reopen Day, correct it, and close again.
Backups and updates
A backup of the whole database is taken every night at 11:59 pm Pakistan time; the last 3 are kept. These commands run on the server (VPS):
| Job | Command |
|---|---|
| Update the app | bash /var/www/brick-kilm-erp/update.sh |
| Turn on nightly backups (once) | bash /var/www/brick-kilm-erp/scripts/backup.sh --install |
| Back up now | bash /var/www/brick-kilm-erp/scripts/backup.sh |
| Restore a backup | bash /var/www/brick-kilm-erp/scripts/backup.sh --restore <file> |
/var/backups/brick-kiln/before-restore/, and the command prints how to undo it.Problems and answers
The app looks old or a new button is missing
Pull down to refresh, or close and reopen the app. Check the version number under the logo.
"Saved offline, will sync later"
No signal. Keep working; entries send themselves when the signal returns. Don't enter them twice.
Coal or stock shows a minus figure
Open Health Check. Usually opening stock is missing, or a purchase was not entered.
A line is stuck on Unloading
The nikasi was started but not finished. Finish it with the counts, or the owner taps Cancel Nikasi.
I entered something on the wrong day
Open Daily Entry for that day, delete it, and enter it on the right day. If the day is closed, ask the owner.
"Days up to … are closed by the owner"
That date is locked. Ask the owner to reopen it.
A supplier appears twice in Party Accounts
The name was typed differently (for example "Haji Coal" and "Haji Coal Co"). Edit the entries so the name is exactly the same.
I was logged out by myself
Logins renew while you use the app. After a long gap, log in again; nothing saved is lost.