Skip to content

OLMIS-8179: Remove unit suffix from headers#78

Open
michaldev0 wants to merge 1 commit into
masterfrom
OLMIS-8179-compact-headers
Open

OLMIS-8179: Remove unit suffix from headers#78
michaldev0 wants to merge 1 commit into
masterfrom
OLMIS-8179-compact-headers

Conversation

@michaldev0

Copy link
Copy Markdown
Contributor

Requisition column headers and order create table headers no longer include the unit suffix.

Requisition column headers and order create table headers no longer include the unit suffix.
@sonarqubecloud

Copy link
Copy Markdown

Comment on lines +11 to +15
const localStorageService = useMemo(() => getService('localStorageService'), []);
const QUANTITY_UNIT = useMemo(() => getService('QUANTITY_UNIT'), []);
const showInDoses = (localStorageService.get('quantityUnit') || QUANTITY_UNIT.DOSES) === QUANTITY_UNIT.DOSES;
const columns = useMemo(() => orderTableColumns(true, formatMessage, showInDoses, null,
quantityUnitCalculateService), [showInDoses]);

@michaldev0 michaldev0 Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Belongs to OLMIS-8180 — this exact change is already merged in #79; drop it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant