|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
import { Card, Flex, Avatar, Typography, Radio, Button, Table } from 'antd';
|
|
|
|
|
import { useAuthContext } from '@/stores/AuthContext.js';
|
|
|
|
|
import { useConversationState } from '@/stores/ConversationContext';
|
|
|
|
|
import { useLocation } from 'react-router-dom'
|
|
|
|
|
import { HomeOutlined, LoadingOutlined, SettingFilled, SmileOutlined, SyncOutlined, PhoneOutlined, MailOutlined, WhatsAppOutlined, SmileTwoTone } from '@ant-design/icons';
|
|
|
|
|
|
|
|
|
|
import CreatePayment from './CreatePayment';
|
|
|
|
@ -22,6 +23,8 @@ const orderStatus = [
|
|
|
|
|
const { Meta } = Card;
|
|
|
|
|
|
|
|
|
|
const CustomerProfile = (({ colisn }) => {
|
|
|
|
|
let { state } = useLocation()
|
|
|
|
|
console.info(state)
|
|
|
|
|
console.log('invoke customer profile+++++++++++++++++++++++++++++++++++++++++++++', colisn);
|
|
|
|
|
const { customerOrderProfile: orderInfo } = useConversationState();
|
|
|
|
|
const { loginUser: currentUser } = useAuthContext();
|
|
|
|
|