import React, { useContext, useEffect } from "react"; import { Row, Col, Button, Tabs, Table, Space, Radio } from "antd"; import { ContainerOutlined, SearchOutlined } from "@ant-design/icons"; import { stores_Context } from "../config"; import { Line } from "@ant-design/charts"; import { observer } from "mobx-react"; import DatePickerCharts from "../charts/DatePickerCharts"; import { NavLink, useParams } from "react-router-dom"; import * as comm from "../utils/commons"; import * as config from "../config"; import GroupSelect from "../charts/GroupSelect"; const Sale = () => { const { sale_store, date_picker_store } = useContext(stores_Context); return (