|
|
|
@ -42,7 +42,7 @@ const CustomerProfile = (({ customer }) => {
|
|
|
|
|
<Typography.Text strong >{contact?.[0]?.name}</Typography.Text>
|
|
|
|
|
{contact?.[0]?.phone && <Typography.Text ><PhoneOutlined className=' pr-1' />{contact?.[0]?.phone}</Typography.Text>}
|
|
|
|
|
{contact?.[0]?.email && <Typography.Text ><MailOutlined className=' pr-1' />{contact?.[0]?.email}</Typography.Text>}
|
|
|
|
|
<Typography.Text ><WhatsAppOutlined className='pr-1 text-whatsapp' />{contact?.[0]?.whatsapp_phone_number}</Typography.Text>
|
|
|
|
|
{contact?.[0]?.whatsapp_phone_number && <Typography.Text ><WhatsAppOutlined className='pr-1 text-whatsapp' />{contact?.[0]?.whatsapp_phone_number}</Typography.Text>}
|
|
|
|
|
{/* <div>{order?.order_no}</div> */}
|
|
|
|
|
{/* <div>
|
|
|
|
|
{order?.location} <span>{order?.local_datetime}</span>
|
|
|
|
@ -59,11 +59,11 @@ const CustomerProfile = (({ customer }) => {
|
|
|
|
|
<QuotesHistory />
|
|
|
|
|
</Flex>
|
|
|
|
|
</Flex>
|
|
|
|
|
<pre className='p-2 overflow-auto max-h-32 m-0' dangerouslySetInnerHTML={{__html: order?.order_detail}}></pre>
|
|
|
|
|
<Flex vertical={true} className='p-2 '>
|
|
|
|
|
<pre className='p-2 overflow-auto max-h-72 m-0' dangerouslySetInnerHTML={{__html: order?.order_detail}}></pre>
|
|
|
|
|
{/* <Flex vertical={true} className='p-2 '>
|
|
|
|
|
<Typography.Text strong>沟通记录</Typography.Text>
|
|
|
|
|
<Table size={'small'} columns={[{ title: '进程', dataIndex: 'title' }, { title: '状态', dataIndex: 'title2' },]} />
|
|
|
|
|
</Flex>
|
|
|
|
|
</Flex> */}
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
});
|
|
|
|
|