My App

User Documentation Home

Role-based user guidance for the Multi-Branch Gold Purchase and Interest Management System.

Purpose

This documentation explains how each role should use the system in daily operations.

It focuses on:

  • Who can do what
  • How to complete key tasks step by step
  • What to watch for to avoid errors

Core Roles

  • Head (system-wide oversight and controls; SUPER_ADMIN in the system)
  • Branch Manager (branch-level operations and supervision)
  • Staff (daily transaction and collection operations)

Screen names

The menu uses these names:

Menu itemWhat it holds
PaymentsGold transactions (the pledged-gold loan records), including top-ups
ReceiptsMoney received against a transaction (posting a payment creates a receipt)
ReleasesHanding pledged gold items back to the customer
InvoicesClosure invoices and receipt PDFs

In these docs, transaction means a record under Payments, and payment means a posting under Receipts.

Quick Role Matrix

AreaHeadBranch ManagerStaff
View customers, transactions and receipts from any branchYesYes (read-only for other branches)Yes (read-only for other branches)
Dashboard scopeAll branches, or pick one branchOwn branch, or switch to all branches; per-branch breakdownOwn branch only
User administrationFull access (create, edit, activate/deactivate, reset password, delete users — not yourself or the last Head)Create STAFF in own branch; edit, activate/deactivate and reset passwords of own-branch staffNo
Create customerYesYesYes
Block / unblock customerYesYesNo
Set customer default annual rateYesYesNo
Change customer civil ID or customer branchYesNoNo
Delete customer, transaction or branchYesNoNo
Create transactionYesYesYes
Edit transaction after creation (start date, principal, rate, locker no.)Yes, only while ACTIVE with no receipts, releases, top-ups or carried interestSameNo
Change gold item photo after creationYesNoNo
Top-up (linked additional advance)Yes (any branch)Own branchOwn branch
Add payment (any branch's transaction)YesYesYes
Payment reference numberOptional; if entered, must be unique per transactionSameSame
Apply discount (with reason)YesYesYes
Mark AUCTION statusYesYesYes
Payments while transaction is AUCTIONNo (posting is blocked)NoNo
Gold releaseYes (any branch)Own-branch transactionsOwn-branch transactions
View audit logsYes (all branches)Yes (own branch actors)No
Product categories (gold item types)Yes (create, edit, activate/deactivate, delete when unused)NoNo
Create or delete currenciesYesNoNo
Sync or add gold pricesYesYesYes
Configure risk thresholdYesYes (own branch)No
Global searchYesYesYes
Customer advance payments (ledger)YesYesYes
Reports and exports (Excel / CSV / PDF)Any branch (pick one), plus cross-branch settlementsOwn branch onlyNo access (dashboard only)
In-app notificationsYesYesYes

Financial Rules You Must Follow

  • Interest is simple interest on a 360-day year. No compounding.
  • Each unpaid period is billed in 15-day slabs: 1–15 days = 15 days, 16–30 = 30, 31–45 = 45, and so on. This applies to partial payments and closures alike; a transaction closed on its start date is charged one 15-day slab.
  • Days already billed by a payment are not billed again: after a payment the next billing start moves forward.
  • Accrued interest on a payment is calculated by the system when you post—you cannot type in a substitute “accrued interest” on the real payment. (Screens may show a preview; posting is always authoritative.)
  • If a payment does not fully cover interest, the remainder stays on the transaction as carried unpaid interest until a later payment clears it.
  • Payments always settle interest first, then principal.
  • A discount reduces interest only (never principal), cannot exceed the accrued interest, and needs a reason.
  • Customer civil ID updates are restricted to the Head role.
  • Amounts are stored and shown to 3 decimals (e.g. 12.345 KWD).
  • Payments—including a full settlement that closes the transaction—can be collected at any active branch. The system records a cross-branch settlement and notifies the owning branch. Manual “mark CLOSED”, top-ups and gold releases must be done at the owning branch.
  • If a customer pays more than interest and principal due, the extra is recorded as a customer advance. Advances are used for gold releases and same-day top-ups; they are not applied to normal payments.
  • Transactions in AUCTION status do not accept new payments or releases.
  • Releasing gold from an ACTIVE transaction requires a customer advance of at least the lower of (value of released gold, outstanding principal + interest). Releasing from a fully settled CLOSED transaction is a custody handover.
  • A daily gold price for the date is required to create a transaction or top-up, and principal cannot exceed the gold value.
  • Use a single gold valuation formula in all financial workflows: value = net weight × (purity / 100) × daily gold rate.

How To Use These Docs

  1. New to the system? Start with the Glossary—it explains every term used on screens and in these docs—then read Your First Day.
  2. Read the common prerequisites and follow the Daily Checklists.
  3. Open your role page to confirm your permissions.
  4. Follow your role workflows for operational tasks.
  5. When the system shows an error, look it up in Error Messages and What to Do.
  6. Use Explaining Things to Customers for common customer questions.
  7. Check edge cases when the normal flow does not apply.

On this page