mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
Both are numbers a customer or a provider support desk quotes back, so they belong in the free-text box rather than behind a filter pill. The transaction id and merchant order id are plain ORs — the payment alias is already joined by every caller of applyInvoiceFilters. The PNR folds into the existing booking EXISTS block instead of adding a second subquery, so it inherits that block's correlation and also matches warehouse-, first-mile- and last-mile-sourced invoices, not just booking-sourced ones. bk is promoted to alwaysJoin now that the export's scope() references it.