diff --git a/src/main.jsx b/src/main.jsx index d9dee63..be176f6 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -19,6 +19,7 @@ import CallCenter from '@/views/CallCenter' import MobileSecondHeader from '@/views/mobile/SecondHeaderWrapper' import CustomerProfile from '@/views/Conversations/Online/order/CustomerProfile' import SnippetList from '@/views/accounts/SnippetList' +import GeneratePayment from '@/views/accounts/GeneratePayment' import Unassign from '@/views/ChatUnassign' import ChatAssign from '@/views/Conversations/ChatAssign' @@ -72,6 +73,8 @@ const router = createBrowserRouter([ { path: 'order/chat/:order_sn', element: }, { path: 'order/chat', element: }, { path: 'account/snippet-list', element: }, + { path: 'account/generate-payment', element: }, + { path: 'account/profile', element: }, { path: 'chat/unassign/:whatsappid', element: }, { path: 'chat/unassign', element: }, diff --git a/src/views/accounts/GeneratePayment.jsx b/src/views/accounts/GeneratePayment.jsx new file mode 100644 index 0000000..042e2b2 --- /dev/null +++ b/src/views/accounts/GeneratePayment.jsx @@ -0,0 +1,86 @@ +import { App, Row, Col, Flex, Form, Input, Button, InputNumber, Select, message } from 'antd' +import { useState, useEffect } from 'react' +import HtmlPreview from './HtmlPreview' +import useAuthStore from '@/stores/AuthStore' + +function GeneratePayment() { + const [messageApi, contextHolder] = message.useMessage() + + const [searchform] = Form.useForm() + + const [isHtmlLoading, setHtmlLoading] = useState(false) + + const handleSearchFinish = (values) => { + } + + useEffect(() => {}, []) + + return ( + <> + + +
+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + {contextHolder} +
+ + ) +} + +export default GeneratePayment diff --git a/src/views/accounts/SnippetList.jsx b/src/views/accounts/SnippetList.jsx index 91f8c48..6ac21ff 100644 --- a/src/views/accounts/SnippetList.jsx +++ b/src/views/accounts/SnippetList.jsx @@ -177,7 +177,7 @@ function SnippetList() { - +