Changelog — RealtyManager
All notable changes to this app are recorded here. Newest entries on top.
[2026-04-20] — Owner role removed, consignment fields on listings
- Removed the "Owner" role carried over from PropertyPro — the company running RealtyManager typically owns the plots it sells, so a passive landlord role was dead weight. The rare "selling on someone else's behalf" case is now captured directly on the listing: optional Consignment owner name / phone / notes fields, no login required.
- No visible navigation changes for staff or admin. The removal only affects users who held the "owner" role on existing installs.
Internal
app.json — removed navigation.owner, every "owner": [...] line from permissions.*, and the "owner" entry from /reports route roles.
- Deleted
api/owners.php and views/owners.php entirely.
schema.sql — dropped the owner_entities table block. Added consignment_owner_name, consignment_owner_phone, consignment_owner_notes to the listings CREATE TABLE (framework column-diff picks them up on existing installs).
seeds/demo.sql — removed the "Chief Obiora / owner" seed row + the owner_entities inserts + the owner_created audit-log line. Chief Obiora now appears as the consignment landowner on the demo duplex listing (the one on Chevron Drive), so the new fields are visible in Try Demo.
[2026-04-20]
- Full v0.1 scaffold — RealtyManager can be installed, demoed, and used end-to-end today for buyers, deals, payments, and documents. Full-pay and installment-plan deals are both supported by the schema.
- Marketplace copy + visuals reframed for Lagos land + landed-property sales: "Buyer" instead of "Tenant", stage names reflect the real sale lifecycle (Lead → Site visit → Deposit paid → Paperwork → Handover → Completed).
- Document vault pre-seeded with the Nigerian real-estate paperwork set: Deed of Assignment, Survey Plan, Excision Certificate, Governor's Consent, Certificate of Occupancy, Receipt of Payment, Next-of-kin.
- Three demo listings (Royal Gardens Estate in Ibeju-Lekki, Pinnacle Heights in Sangotedo, a 4-bed Chevron Drive duplex) + three demo agents (one in-house + two external brokers) bundled so Try Demo is immediately recognisable.
Internal
- App scaffolded by cloning PropertyPro's api/ + views/ + seeds/ (preserving the rental machinery as the substrate for deals/payments), then layered with RealtyManager-specific tables:
listings — sale inventory (plot | house | service | other) with title status and availability state (available / reserved / sold / pending / withdrawn).
agents — referral agents (internal + external), commission-percent per-agent, phone-unique.
deal_agents — ordered referral chain on each deal with per-agent commission slice and payout tracking.
deal_installments — payment plan schedule with due dates, statuses (scheduled/paid/overdue/waived), and payment-row linkage.
orders.listing_id + orders.payment_plan — linking deals to their listing + recording full-vs-installment mode.
app.json — NGN-first pricing, nigeria_only region, number prefix RM, labels remapped (order_singular → "deal", status_received → "Lead", etc.), Listings/Agents/Installments registered in routes/api_routes but feature-flagged off until their dedicated UI ships (see Phase 2).
settings_defaults.customer_document_types seeded with the Nigerian document set.
Phase 2 (not yet shipped)
- Dedicated UI for listings (inventory browser, add/edit, photo gallery), agents (ledger + commission leaderboard), and installments (schedule editor on deal detail, due-date reminder cron).
- Home dashboard tiles retuned for sale-lifecycle KPIs (deals in pipeline by stage, outstanding balance, commissions due).
- Buyer portal polish — installment schedule surfaced + "Next payment due" callout.
- PropertyPro rent/tenant wording sweep on the cloned views (functional today but still reads "rent" in some places).
[0.1.0] — 2026-04-20