export const getPlanningStock = (stock: number) => Math.max(0, stock);