|
|
|
@@ -1,8 +1,6 @@ |
|
|
|
import { |
|
|
|
Box, |
|
|
|
Button, |
|
|
|
Card, |
|
|
|
Stack, |
|
|
|
Table, |
|
|
|
TableBody, |
|
|
|
TableCell, |
|
|
|
@@ -11,16 +9,13 @@ import { |
|
|
|
TableRow, |
|
|
|
} from "@mui/material"; |
|
|
|
import { Receipt, getReceipts } from "api/receipt"; |
|
|
|
import { FormProvider } from "components/hook-form"; |
|
|
|
import RHFSelect, { SelectOptionProps } from "components/hook-form/RHFSelect"; |
|
|
|
import { TableHeadCustom } from "components/table"; |
|
|
|
import { HeadLabelProps } from "components/table/TableHeadCustom"; |
|
|
|
import useAPICall from "hooks/useAPICall"; |
|
|
|
import useDashboard from "hooks/useDashBoard"; |
|
|
|
import useTable from "hooks/useTable"; |
|
|
|
import { PageID, TabID } from "pages"; |
|
|
|
import { useEffect, useMemo } from "react"; |
|
|
|
import { useForm } from "react-hook-form"; |
|
|
|
import { useEffect } from "react"; |
|
|
|
import { numberFormat } from "utils/string"; |
|
|
|
|
|
|
|
const TABLE_HEAD: HeadLabelProps[] = [ |
|
|
|
@@ -41,9 +36,7 @@ export default function ReceiptDownload() { |
|
|
|
page, |
|
|
|
sort, |
|
|
|
rowsPerPage, |
|
|
|
fetched, |
|
|
|
fillteredRow, |
|
|
|
isNotFound, |
|
|
|
dataLength, |
|
|
|
// |
|
|
|
onSort, |
|
|
|
|