Files
web-frontend/app/composables/useOrderDetailPresentation.ts
2026-04-04 11:05:31 +07:00

10 lines
387 B
TypeScript

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