import{j as a,p as n}from"./mui-vendor-CkIVaoQP.js";import"./react-vendor-CmFgShSM.js";import{S as d}from"./SimpleTable-B3_6HY_p.js";import{Q as y}from"./index-Vwb3Bce5.js";const A=({file:u})=>{var t,r,o,p;const e=(r=(t=u.poultry)==null?void 0:t.sellType)!=null&&r.cash?"نقدی":null,l=(p=(o=u.poultry)==null?void 0:o.sellType)!=null&&p.credit?"زمان دار":null,s=[e,l].filter(C=>C).join(" یا ");return a.jsx(d,{columns:["کدسفارش","نام مرغدار","تلفن","تاریخ درخواست کشتار","استان","شهرستان","تاریخ جوجه ریزی","تعداد","جمع تلفات","وزن تقریبی هر مرغ","سن مرغ","نژاد","نحوه فروش"],data:[[u.poultry.poultryOrderCode,u.poultry.poultryName,u.poultry.poultryMobile,y(new Date(u.poultry.poultrySendDate),"yyyy/MM/dd"),u.poultry.poultryProvince,u.poultry.poultryCity,y(new Date(u.poultryHatching.date),"yyyy/MM/dd"),u.poultry.poultryQuantity,u.poultryHatching.losses,u.poultry.poultryIndexWeight,u.poultry.age,u.poultry.poultryChickenBreed,s]]})};A.propTypes={file:n.PropTypes.any};export{A as F};
