This repository has been archived on 2026-08-11. You can view files and clone it, but cannot push or open issues or pull requests.
Gishen-B2B/docs/coordination/open-items.md
kirukib 3778801ef5 Ship Gishen B2B institutional portal with polished layout and mock-backed flows.
Deliver role-aware shell (sidebar, breadcrumbs, quick search, tables, detail/create layouts), locale-ready pages, shared backend/feature docs, and Vercel project config so HR, finance, and members can demo against typed mocks.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 21:18:23 +03:00

80 lines
2.4 KiB
Markdown

# Open items (cross-repo)
Tracked decisions and flags that span Gishen-B2B, Admin, Ecom, and Mobile.
**Workspace:** `/Users/kirukib/Desktop/Yaltopia Project/Gishen-B2B`
## Active
### 1. Checkout entitlement split ownership
| Field | Value |
|-------|-------|
| **Status** | Open — default recommendation documented |
| **Description** | Basket split (org credit vs member gateway payment) must appear in Ecom Web / Mobile checkout, not only B2B |
| **Default recommendation** | Single shared implementation owned with **Gishen-Ecom**; shared backend calculates split |
| **B2B scope** | Show `allowance_remaining` on `/me`; link to Ecom for checkout |
| **Decision needed** | Confirm shared package vs per-repo duplicate UI |
| **References** | [`gishen-ecom.md`](gishen-ecom.md), [`../backend/endpoints/packages.md`](../backend/endpoints/packages.md) |
**Action:** Product/engineering leads confirm owner before Ecom checkout sprint.
---
### 2. SSO / deep link B2B member → Ecom storefront
| Field | Value |
|-------|-------|
| **Status** | Open |
| **Description** | How member session propagates from B2B portal to Ecom cart |
| **Options** | (a) Shared auth token, (b) customer_id query + magic link, (c) full SSO provider |
| **B2B impact** | `/me` CTA "Shop with coverage" |
---
### 3. Pending org draft packages
| Field | Value |
|-------|-------|
| **Status** | Decided — default block |
| **Description** | Can SUPER_USER draft packages while `pending_activation`? |
| **Decision** | **Default: block entitlements until active.** Packages may be saved as `draft` only. |
| **Spec** | [`../backend/entities/package.md`](../backend/entities/package.md) |
---
## Watch list (informational)
### Telegram Mini App
Rides Ecom backend spec — no B2B action.
### Procurement vs Stock Manager
Admin-only overlap — ignore in B2B.
### Production auth provider
Mock demo login ships first. OAuth/SSO provider TBD — track in shared platform auth spec.
### Custom domain
`b2b.gishenpharmacy.org` optional after first Vercel deploy.
---
## Resolved
_None yet — move items here when decided._
---
## How to update
When an open item is resolved:
1. Move to **Resolved** with decision date and owner.
2. Update affected `docs/backend/` entities/endpoints.
3. Update [`../features/INDEX.md`](../features/INDEX.md) if routes or ownership change.
4. Notify sibling repo spec sheets (Admin/Ecom).