up
This commit is contained in:
+24
-14
@@ -84,6 +84,17 @@ const OrdersList: FC = () => {
|
|||||||
key: 'orderNumber',
|
key: 'orderNumber',
|
||||||
title: 'شماره',
|
title: 'شماره',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: 'title',
|
||||||
|
title: 'عنوان',
|
||||||
|
render: (item) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
{item.title}
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: 'customer',
|
key: 'customer',
|
||||||
title: 'مشتری',
|
title: 'مشتری',
|
||||||
@@ -95,6 +106,8 @@ const OrdersList: FC = () => {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
key: 'product',
|
key: 'product',
|
||||||
title: 'نام محصول',
|
title: 'نام محصول',
|
||||||
@@ -102,20 +115,8 @@ const OrdersList: FC = () => {
|
|||||||
<div>{item.product?.title ?? '—'}</div>
|
<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',
|
key: 'designer',
|
||||||
title: 'مجری / طراح',
|
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',
|
key: 'actions',
|
||||||
title: '',
|
title: '',
|
||||||
|
|||||||
Reference in New Issue
Block a user