import React, { useState } from 'react' import { OverlayTrigger, Tooltip } from 'react-bootstrap'; import { Link } from 'react-router-dom' import ImageWithBasePath from '../../core/img/imagewithbasebath'; import { ChevronUp, FileText, PlusCircle, RotateCcw, Sliders, StopCircle, User } from 'feather-icons-react/build/IconComponents'; import { setToogleHeader } from '../../core/redux/action'; import { useDispatch, useSelector } from 'react-redux'; import { Filter } from 'react-feather'; import Select from 'react-select'; import { DatePicker } from 'antd'; const SalesList = () => { const dispatch = useDispatch(); const data = useSelector((state) => state.toggle_header); const [isFilterVisible, setIsFilterVisible] = useState(false); const toggleFilterVisibility = () => { setIsFilterVisible((prevVisibility) => !prevVisibility); }; const oldandlatestvalue = [ { value: 'Sort by Date', label: 'Sort by Date' }, { value: '07 09 23', label: '07 09 23' }, { value: '21 09 23', label: '21 09 23' }, ]; const customername = [ { value: 'Choose Customer Name', label: 'Choose Customer Name' }, { value: 'Macbook pro', label: 'Macbook pro' }, { value: 'Orange', label: 'Orange' }, ]; const status = [ { value: 'Choose Status', label: 'Choose Status' }, { value: 'Computers', label: 'Computers' }, { value: 'Fruits', label: 'Fruits' }, ]; const paymentstatus = [ { value: 'Choose Payment Status', label: 'Choose Payment Status' }, { value: 'Computers', label: 'Computers' }, { value: 'Fruits', label: 'Fruits' }, ]; const customer = [ { value: 'Choose Customer', label: 'Choose Customer' }, { value: 'Customer Name', label: 'Customer Name' }, ]; const suppliername = [ { value: 'Supplier', label: 'Supplier' }, { value: 'Supplier Name', label: 'Supplier Name' }, ]; const statusupdate = [ { value: 'Supplier', label: 'Choose' }, { value: 'Completed', label: 'Completed' }, { value: 'InProgress', label: 'InProgress' }, ]; const paymenttype = [ { value: 'Choose', label: 'Choose' }, { value: 'Cash', label: 'Cash' }, { value: 'Online', label: 'Online' }, ]; const [selectedDate, setSelectedDate] = useState(new Date()); const handleDateChange = (date) => { setSelectedDate(date); }; const renderTooltip = (props) => ( Pdf ); const renderExcelTooltip = (props) => ( Excel ); const renderPrinterTooltip = (props) => ( Printer ); const renderRefreshTooltip = (props) => ( Refresh ); const renderCollapseTooltip = (props) => ( Collapse ) return (

Sales List

Manage Your Sales
  • { dispatch(setToogleHeader(!data)) }} >
Add New Sales
{/* /product list */}
Customer Name Reference Date Status Grand Total Paid Due Payment Status Biller Action Thomas SL0101 19 Jan 2023 Completed $550 $550 $0.00 Paid Admin