up
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-06-26 15:45:29 +03:30
parent b7c9a4bc03
commit 59ec5b54c7
4 changed files with 44 additions and 17 deletions
+8
View File
@@ -119,6 +119,14 @@ const OrdersList: FC = () => {
{
key: 'designer',
title: 'مجری / طراح',
render: (item) => {
const designer = item.designer
if (!designer || typeof designer === 'string') {
return <div>{typeof designer === 'string' ? designer : '—'}</div>
}
const name = `${designer.firstName ?? ''} ${designer.lastName ?? ''}`.trim()
return <div>{name || designer.phone || '—'}</div>
},
},
{
key: 'status',
+1 -1
View File
@@ -84,7 +84,7 @@ export interface OrderListItemType extends RowDataType {
title: string;
type: string;
user: UserType;
designer: string | null;
designer: OrderDetailCreatorType | string | null;
creator: string;
orderNumber: number;
status: string;