Simplify order detail layout

This commit is contained in:
Ruslan Bakiev
2026-04-04 11:05:31 +07:00
parent 691990f992
commit 7dc0f59ffb
3 changed files with 49 additions and 77 deletions

View File

@@ -0,0 +1,9 @@
export function orderLineStateText(totalPrice?: number | null) {
return totalPrice == null
? 'Цена уточняется менеджером'
: 'Цена согласована менеджером';
}
export function orderDeliveryStateText(deliveryTerms?: string | null) {
return deliveryTerms?.trim() || 'Доставка уточняется менеджером';
}