export const getProgress = (item: any): number => {
  const totalQuantity = item?.hatching?.[0]?.quantity || 0;
  const leftOver = item?.hatching?.[0]?.left_over || 0;
  const progress = totalQuantity ? (leftOver / totalQuantity) * 100 : 0;

  return progress;
};


