Skip to main content

@acromedia/gesso-b2b-portal

0.2.0

Minor Changes

  • f6162ed: feat: add My Account page with contact info and current-month orders (GESSO-2378)

    • New Contact middleware endpoint reads contactId from JWT and fetches phone/jobTitle from Acumatica Contact API
    • New useAccount plugin implementation backed by Contact endpoint, replacing the mock; wired in erp.ts
    • Fix location addresses: expand LocationContact/Address and use per-location address when AddressOverride=true, falling back to customer MainContact address otherwise
    • Add /portal/my-account page showing account info (name, email, phone, job title) and orders placed this month filtered by the current contact
    • Add My Account nav card to portal dashboard
  • f6162ed: feat: replace ROPC authentication with OIDC Authorization Code + PKCE flow for the B2B portal

Patch Changes

  • f6162ed: feat: add invoice list and detail page with location, division, placed by, file attachments, and dynamic currency support

  • f6162ed: feat: add Manage Team page listing company contacts with role, division, and location

  • f6162ed: feat: enhance Company Info page with tabbed layout (Details + Divisions & Locations) and member counts per division

    • Company Info page now has two tabs: Details (account + billing info) and Divisions & Locations (expandable accordion)
    • CompanyNode type gains optional memberCount field
    • Hierarchy middleware batch-fetches contact counts per company alongside locations
    • Accordion header shows location count and member count per division
    • /portal/company-hierarchy page removed (route folded into Company Info)
    • Dashboard no longer shows a separate Company Structure card
  • f6162ed: Add Purchase Order number to company orders and remove Purchase Agreements from portal scope.

    • gesso-erp: Add customerOrderNbr field to CompanyOrder type
    • gesso-acumatica: Map CustomerOrder (Acumatica "Customer Order Number" / PO reference) to customerOrderNbr in buildCompanyOrders
    • gesso-acumatica-middleware: Add CustomerOrder field to RawSalesOrder interface
    • b2b-portal: Show "Purchase Order #" column in company orders list and detail; remove Purchase Agreements nav card from dashboard and "Purchase Order Settings" section from payment methods page
  • Updated dependencies [f6162ed]

  • Updated dependencies [f6162ed]

  • Updated dependencies [f6162ed]

  • Updated dependencies [f6162ed]

  • Updated dependencies [f6162ed]

  • Updated dependencies [f6162ed]

    • @acromedia/gesso-acumatica@8.1.0
    • @acromedia/gesso-acumatica-middleware@8.1.0
    • @acromedia/gesso-erp@8.2.0