export interface PosLine { key: number pPricingId: string variationId: string label: string unitPrice: number qty: number imageUrl?: string | null productCode?: string | null } export function fmt(amount: number): string { return amount.toFixed(2) }