Helper
Admin
Magento\Sales\Helper\Admin
What it does
The Sales Admin Helper provides utility methods for displaying prices in the Magento admin panel, particularly for orders and related entities.
Developers use this class to format prices with both base and order currencies, filter product collections by salable types, and safely escape HTML content while preserving links.
It's commonly used in admin grids, order views, and invoice/credit memo displays.
Public Methods
- displayPriceAttribute()
- displayPrices()
- applySalableProductTypesFilter()
- escapeHtmlWithLinks()