up
This commit is contained in:
+24
-14
@@ -84,6 +84,17 @@ const OrdersList: FC = () => {
|
||||
key: 'orderNumber',
|
||||
title: 'شماره',
|
||||
},
|
||||
{
|
||||
key: 'title',
|
||||
title: 'عنوان',
|
||||
render: (item) => {
|
||||
return (
|
||||
<div>
|
||||
{item.title}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
},
|
||||
{
|
||||
key: 'customer',
|
||||
title: 'مشتری',
|
||||
@@ -95,6 +106,8 @@ const OrdersList: FC = () => {
|
||||
)
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
key: 'product',
|
||||
title: 'نام محصول',
|
||||
@@ -102,20 +115,8 @@ const OrdersList: FC = () => {
|
||||
<div>{item.product?.title ?? '—'}</div>
|
||||
),
|
||||
},
|
||||
{
|
||||
key: 'createdAt',
|
||||
title: 'تاریخ ایجاد ',
|
||||
render: (item) => {
|
||||
return (
|
||||
<div>{moment(item.createdAt).format('jYYYY-jMM-jDD')}</div>
|
||||
)
|
||||
}
|
||||
},
|
||||
{
|
||||
key: 'type',
|
||||
title: 'تعداد اقلام',
|
||||
render: () => <div>۱</div>,
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
key: 'designer',
|
||||
title: 'مجری / طراح',
|
||||
@@ -139,6 +140,15 @@ const OrdersList: FC = () => {
|
||||
)
|
||||
}
|
||||
},
|
||||
{
|
||||
key: 'createdAt',
|
||||
title: 'تاریخ ایجاد ',
|
||||
render: (item) => {
|
||||
return (
|
||||
<div>{moment(item.createdAt).format('jYYYY-jMM-jDD')}</div>
|
||||
)
|
||||
}
|
||||
},
|
||||
{
|
||||
key: 'actions',
|
||||
title: '',
|
||||
|
||||
Reference in New Issue
Block a user