#855 — Change “Source” column in merchants table to reflect payment processor (luqra, ems, pe)
Repo: Twill-AI/twill-ai-ui State: closed | Status: done Assignee: nadddder, raymondehizoba
Created: 2025-12-03 · Updated: 2025-12-11
Description
Context
Update the Source column in the merchants table to calculate the source value based on integration field presence instead of the gateways field. The Source column currently displays comma-separated gateway values, but should now show a single source tag based on which integration fields are populated.
Acceptance Criteria
-
The Source column displays a single tag based on field presence with the following priority:
- If
luqra_midORluqra_application_idis set → “Luqra” - Else if
ems_midORems_deal_idis set → “EMS” - Otherwise → “PayEngine” (default) - only if it is active, empty otherwise
- If
-
The implementation must be updated in both merchant table views:
- Partner merchants table (
app/(partner)/partner/merchants/page.tsx) - Master merchants table (
app/(master)/master/merchants/page.tsx)
- Partner merchants table (
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets