Supplier country options available for filtering in the drawer search panel.
Derived from the locations defined in config.json, excluding the "OTHER" fallback entry.
Sorted alphabetically by country label.
Source
exportconstSUPPLIER_COUNTRY_OPTIONS= Object.entries(locations) .filter(([code]) => code !=="OTHER") .map(([code, { name }]) => ({ code, label: name })) .sort((a, b) => a.label.localeCompare(b.label));
Supplier country options available for filtering in the drawer search panel. Derived from the locations defined in config.json, excluding the "OTHER" fallback entry. Sorted alphabetically by country label.