Spaces:
Sleeping
Sleeping
Commit History
-
feat(backend): replace backend with peter branch + Emergency Care integration
Full overwrite of mdn-backend-main with the ISP peter branch (Laravel 12, PHP 8.3, clean domain architecture). Key changes: - New domain structure: Applications, Care, Communications, Config, Contracts, Files, Identity, Investments, Memberships, Payments, Products, RealEstate - MembershipPolicy with RBAC canAccess/canManage - CareEnrollmentService with DRAFT→SUBMITTED→ACTIVE state machine - PaymentService wired to PaymentGatewayRegistry (STRIPE, KCB_BUNI, MANUAL_TEST) - ProductRequestService + ProductEntitlementService for care/investment gating - Emergency Care module preserved and integrated on top of new domain base - Emergency Care migrations renumbered to 2026_07_07 to avoid timestamp conflict - All Emergency Care routes added to new api.php (client + admin + webhook) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>6773345
-
Backend: Essentials, Investment Club foundation + NAV engine, vehicle CRUD,
shared entity number generator, member-linkage and admin-frontend fixes - Essentials module: full marketplace domain (listings, vendors, requests, reviews, complaints, promotions, categories) with media/document upload, vendor lifecycle, and request state machine. - Investment Club foundation: NAV/unit ledger, monthly close (7-gate), freeze records, disclosure/consent versioning, maker-checker guard, extending the existing inv_* domain rather than duplicating it. - Investment vehicle catalogue: first CRUD/lifecycle service for inv_vehicles (previously referenceable but unmanageable). - EntityNumberGenerator: single shared generator for member/partner/vendor numbers (MDN/PMDN/VMDN + yymm + sequence), replacing duplicated per-entity generators; added vendor_number column. - sequence_no AUTO_INCREMENT column on inv_member_enrollments for human-friendly record numbering alongside the UUIDv7 primary key. - Real Estate: partner number generator, dashboard repository/service.…d7511e4
-
feat(membership): admin-driven account creation, real estate tier/investment work, in-progress monorepo migration state
Membership flow correction: applicants no longer self-register. Pre-payment application actions (create, consents, submit, document upload, ISP validation) are authorized by a one-time per-application access token instead of a login. The real member account is created -- and login credentials emailed -- only after the annual membership fee is paid, matching the legacy system's actual behavior. Removed the public /auth/register route entirely for the member flow. Also captures the broader in-progress monorepo migration state at this point in time: this is the first commit to track the full mdn-backend-main Laravel application (previously only routes/api.php was tracked), plus concurrent Investment/RealEstate-partners admin work and Care module bridge changes already present in the working tree. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>b2dcf0f