first commit

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-03-25 20:44:56 -04:00
commit 97cc85c49d
711 changed files with 109164 additions and 0 deletions
@@ -0,0 +1,853 @@
import * as React from "react";
import Card from "@mui/material/Card";
import { Box, Typography } from "@mui/material";
import Table from "@mui/material/Table";
import TableBody from "@mui/material/TableBody";
import TableCell from "@mui/material/TableCell";
import TableContainer from "@mui/material/TableContainer";
import TableHead from "@mui/material/TableHead";
import TableRow from "@mui/material/TableRow";
import Paper from "@mui/material/Paper";
import Button from "@mui/material/Button";
const InvoiceDetailsContent = () => {
return (
<>
<Card
sx={{
boxShadow: "none",
borderRadius: "10px",
p: "25px",
mb: "15px",
}}
>
<Box
sx={{
display: "flex",
justifyContent: "space-between",
}}
>
{/* Invoice Details */}
<Box>
<Typography
as="h3"
sx={{
fontSize: 18,
fontWeight: 500,
mb: "15px",
}}
>
Invoice Details
</Typography>
{/* Billed To: */}
<Box mb={3}>
<Typography
as="h3"
sx={{
fontSize: 15,
fontWeight: 500,
mb: "5px",
}}
>
Billed To:
</Typography>
<Typography
sx={{
fontSize: 13,
fontWeight: 500,
mb: "5px",
}}
>
Thomas Adison
</Typography>
<Typography
sx={{
fontSize: 13,
mb: "5px",
}}
>
32104 Main
</Typography>
<Typography
sx={{
fontSize: 13,
mb: "5px",
}}
>
Apt. 4c
</Typography>
<Typography
sx={{
fontSize: 13,
mb: "5px",
}}
>
Springfield ST 54321
</Typography>
</Box>
{/* Payment : */}
<Box mb={3}>
<Typography
as="h3"
sx={{
fontSize: 15,
fontWeight: 500,
mb: "5px",
}}
>
Payment :
</Typography>
<Typography
sx={{
fontSize: 13,
fontWeight: 500,
mb: "5px",
}}
>
Total Due: $12,110.55
</Typography>
<Typography
sx={{
fontSize: 13,
mb: "5px",
}}
>
Bank Name: American Bank
</Typography>
<Typography
sx={{
fontSize: 13,
mb: "5px",
}}
>
Country: United States
</Typography>
<Typography
sx={{
fontSize: 13,
mb: "5px",
}}
>
IBAN: ETD95476213874685
</Typography>
<Typography
sx={{
fontSize: 13,
mb: "5px",
}}
>
SWIFT code: BR91905
</Typography>
</Box>
</Box>
{/* Invoice id */}
<Box align="end">
<Typography
as="h3"
sx={{
fontSize: 18,
fontWeight: 500,
mb: "15px",
}}
>
Invoice #4987
</Typography>
{/* Shipped To: */}
<Box mb={3}>
<Typography
as="h3"
sx={{
fontSize: 15,
fontWeight: 500,
mb: "5px",
}}
>
Shipped To:
</Typography>
<Typography
sx={{
fontSize: 13,
fontWeight: 500,
mb: "5px",
}}
>
Thomas Adison
</Typography>
<Typography
sx={{
fontSize: 13,
mb: "5px",
}}
>
32104 Main
</Typography>
<Typography
sx={{
fontSize: 13,
mb: "5px",
}}
>
Apt. 4c
</Typography>
<Typography
sx={{
fontSize: 13,
mb: "5px",
}}
>
Springfield ST 54321
</Typography>
</Box>
{/* Order Date : */}
<Box mb={3}>
<Typography
as="h3"
sx={{
fontSize: 15,
fontWeight: 500,
mb: "5px",
}}
>
Order Date:
</Typography>
<Typography
sx={{
fontSize: 13,
fontWeight: 500,
mb: "5px",
}}
>
October 14, 2021
</Typography>
</Box>
</Box>
</Box>
{/* Order Summary */}
<Typography
as="h3"
sx={{
fontSize: 16,
fontWeight: 500,
mb: "10px",
}}
>
Order Summary
</Typography>
<TableContainer
component={Paper}
sx={{
boxShadow: "none",
}}
>
<Table sx={{ minWidth: 450 }} className="dark-table">
<TableHead sx={{ background: "#F7FAFF" }}>
<TableRow>
<TableCell
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
}}
>
Item
</TableCell>
<TableCell
align="center"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
}}
>
Quantity
</TableCell>
<TableCell
align="center"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
}}
>
Unit Price
</TableCell>
<TableCell
align="right"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
}}
>
Price
</TableCell>
</TableRow>
</TableHead>
<TableBody>
<TableRow
sx={{ "&:last-child td, &:last-child th": { border: 0 } }}
>
<TableCell
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
<Box
sx={{
display: "flex",
alignItems: "center",
}}
>
<img
src="/images/product1.png"
alt="Product Img"
width={50}
className="borderRadius10"
/>
<Typography
sx={{
fontWeight: "500",
fontSize: "13px",
}}
className='ml-10px'
>
Laptop Macos Pro
</Typography>
</Box>
</TableCell>
<TableCell
align="center"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
2
</TableCell>
<TableCell
align="center"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
200
</TableCell>
<TableCell
align="right"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
$400
</TableCell>
</TableRow>
<TableRow
sx={{ "&:last-child td, &:last-child th": { border: 0 } }}
>
<TableCell
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
<Box
sx={{
display: "flex",
alignItems: "center",
}}
>
<img
src="/images/product2.png"
alt="Product Img"
width={50}
className="borderRadius10"
/>
<Typography
sx={{
fontWeight: "500",
fontSize: "13px",
}}
className='ml-10px'
>
Smart Camera XD6
</Typography>
</Box>
</TableCell>
<TableCell
align="center"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
1
</TableCell>
<TableCell
align="center"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
1
</TableCell>
<TableCell
align="right"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
$200.00
</TableCell>
</TableRow>
<TableRow
sx={{ "&:last-child td, &:last-child th": { border: 0 } }}
>
<TableCell
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
<Box
sx={{
display: "flex",
alignItems: "center",
}}
>
<img
src="/images/product3.png"
alt="Product Img"
width={50}
className="borderRadius10"
/>
<Typography
sx={{
fontWeight: "500",
fontSize: "12px",
}}
className='ml-10px'
>
Pixi 8 Wireless Airphone
</Typography>
</Box>
</TableCell>
<TableCell
align="center"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
1
</TableCell>
<TableCell
align="center"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
1
</TableCell>
<TableCell
align="right"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
$120.00
</TableCell>
</TableRow>
<TableRow
sx={{ "&:last-child td, &:last-child th": { border: 0 } }}
>
<TableCell
component="th"
scope="row"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
<Box
sx={{
display: "flex",
alignItems: "center",
}}
>
<img
src="/images/product4.png"
alt="Product Img"
width={50}
className="borderRadius10"
/>
<Typography
sx={{
fontWeight: "500",
fontSize: "13px",
}}
className='ml-10px'
>
Jebble Smart Watch
</Typography>
</Box>
</TableCell>
<TableCell
align="center"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
1
</TableCell>
<TableCell
align="center"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
1
</TableCell>
<TableCell
align="right"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
$120.00
</TableCell>
</TableRow>
<TableRow
sx={{ "&:last-child td, &:last-child th": { border: 0 } }}
>
<TableCell
component="th"
scope="row"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
<Box
sx={{
display: "flex",
alignItems: "center",
}}
>
<img
src="/images/product5.png"
alt="Product Img"
width={50}
className="borderRadius10"
/>
<Typography
sx={{
fontWeight: "500",
fontSize: "13px",
}}
className='ml-10px'
>
Airpod
</Typography>
</Box>
</TableCell>
<TableCell
align="center"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
1
</TableCell>
<TableCell
align="center"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
1
</TableCell>
<TableCell
align="right"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
$120.00
</TableCell>
</TableRow>
{/* Sub Total */}
<TableRow
sx={{ "&:last-child td, &:last-child th": { border: 0 } }}
>
<TableCell
align="right"
colSpan={3}
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
fontWeight: "500",
}}
>
Sub Total :
</TableCell>
<TableCell
align="right"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
fontWeight: "500",
}}
>
$960.00
</TableCell>
</TableRow>
<TableRow
sx={{ "&:last-child td, &:last-child th": { border: 0 } }}
>
<TableCell
colSpan={3}
align="right"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
fontWeight: "500",
}}
>
Discount :
</TableCell>
<TableCell
align="right"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
fontWeight: "500",
}}
>
$60.00
</TableCell>
</TableRow>
<TableRow
sx={{ "&:last-child td, &:last-child th": { border: 0 } }}
>
<TableCell
colSpan={3}
align="right"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
fontWeight: "500",
}}
>
Shipping Charge :
</TableCell>
<TableCell
align="right"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
fontWeight: "500",
}}
>
$50.00
</TableCell>
</TableRow>
<TableRow
sx={{ "&:last-child td, &:last-child th": { border: 0 } }}
>
<TableCell
colSpan={3}
align="right"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
fontWeight: "500",
}}
>
Estimated Tax :
</TableCell>
<TableCell
align="right"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
fontWeight: "500",
}}
>
$00.00
</TableCell>
</TableRow>
<TableRow
sx={{ "&:last-child td, &:last-child th": { border: 0 } }}
>
<TableCell
colSpan={3}
align="right"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "14px",
padding: "8px 10px",
fontWeight: "500",
color: "#000",
}}
>
Total (USD) :
</TableCell>
<TableCell
align="right"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "14px",
padding: "8px 10px",
fontWeight: "500",
color: "#000",
}}
>
$850.00
</TableCell>
</TableRow>
{/* Print & Button Button */}
<TableRow
sx={{ "&:last-child td, &:last-child th": { border: 0 } }}
>
<TableCell
align="right"
colSpan={4}
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
fontWeight: "500",
color: "#000",
}}
>
<Button
color="primary"
style={{
background: "rgba(117, 127, 239, 0.1)",
border: "1px solid rgba(117, 127, 239, 0.1)",
borderRadius: "8px",
textTransform: "capitalize",
fontWeight: "500",
padding: "6px 20px",
}}
>
Print
</Button>
<Button
style={{
background: "#757FEF",
border: "1px solid #757FEF",
borderRadius: "8px",
textTransform: "capitalize",
fontWeight: "500",
color: "#fff",
padding: "6px 20px",
}}
className='ml-10px'
>
download
</Button>
</TableCell>
</TableRow>
</TableBody>
</Table>
</TableContainer>
</Card>
</>
);
};
export default InvoiceDetailsContent;
+627
View File
@@ -0,0 +1,627 @@
import * as React from "react";
import { Box } from "@mui/material";
import Card from "@mui/material/Card";
import { Typography } from "@mui/material";
import PropTypes from "prop-types";
import { useTheme } from "@mui/material/styles";
import Table from "@mui/material/Table";
import TableHead from "@mui/material/TableHead";
import TableBody from "@mui/material/TableBody";
import TableCell from "@mui/material/TableCell";
import TableContainer from "@mui/material/TableContainer";
import TableFooter from "@mui/material/TableFooter";
import TablePagination from "@mui/material/TablePagination";
import TableRow from "@mui/material/TableRow";
import Paper from "@mui/material/Paper";
import IconButton from "@mui/material/IconButton";
import FirstPageIcon from "@mui/icons-material/FirstPage";
import KeyboardArrowLeft from "@mui/icons-material/KeyboardArrowLeft";
import KeyboardArrowRight from "@mui/icons-material/KeyboardArrowRight";
import LastPageIcon from "@mui/icons-material/LastPage";
import Checkbox from '@mui/material/Checkbox';
import Tooltip from "@mui/material/Tooltip";
import DeleteIcon from "@mui/icons-material/Delete";
import RemoveRedEyeIcon from '@mui/icons-material/RemoveRedEye';
import DriveFileRenameOutlineIcon from "@mui/icons-material/DriveFileRenameOutline";
const label = { inputProps: { 'aria-label': 'Checkbox demo' } };
function InvoiceList(props) {
const theme = useTheme();
const { count, page, rowsPerPage, onPageChange } = props;
const handleFirstPageButtonClick = (event) => {
onPageChange(event, 0);
};
const handleBackButtonClick = (event) => {
onPageChange(event, page - 1);
};
const handleNextButtonClick = (event) => {
onPageChange(event, page + 1);
};
const handleLastPageButtonClick = (event) => {
onPageChange(event, Math.max(0, Math.ceil(count / rowsPerPage) - 1));
};
return (
<Box sx={{ flexShrink: 0, ml: 2.5 }}>
<IconButton
onClick={handleFirstPageButtonClick}
disabled={page === 0}
aria-label="first page"
>
{theme.direction === "rtl" ? <LastPageIcon /> : <FirstPageIcon />}
</IconButton>
<IconButton
onClick={handleBackButtonClick}
disabled={page === 0}
aria-label="previous page"
>
{theme.direction === "rtl" ? (
<KeyboardArrowRight />
) : (
<KeyboardArrowLeft />
)}
</IconButton>
<IconButton
onClick={handleNextButtonClick}
disabled={page >= Math.ceil(count / rowsPerPage) - 1}
aria-label="next page"
>
{theme.direction === "rtl" ? (
<KeyboardArrowLeft />
) : (
<KeyboardArrowRight />
)}
</IconButton>
<IconButton
onClick={handleLastPageButtonClick}
disabled={page >= Math.ceil(count / rowsPerPage) - 1}
aria-label="last page"
>
{theme.direction === "rtl" ? <FirstPageIcon /> : <LastPageIcon />}
</IconButton>
</Box>
);
}
InvoiceList.propTypes = {
count: PropTypes.number.isRequired,
onPageChange: PropTypes.func.isRequired,
page: PropTypes.number.isRequired,
rowsPerPage: PropTypes.number.isRequired,
};
function createData(
orderID,
productName,
clientName,
clientImg,
email,
issuedDate,
total,
balance,
badgeClass,
) {
return {
orderID,
productName,
clientName,
clientImg,
email,
issuedDate,
total,
balance,
badgeClass,
};
}
const rows = [
createData(
"#14250",
"Laptop Macos Pro",
"Colin Firth",
"/images/user1.png",
"colinfirth@gmail.com",
"10 Jan 2023",
"$845",
"Paid",
"successBadge",
),
createData(
"#14251",
"Smart Camera XD6",
"Wade Dave",
"/images/user2.png",
"wadedave@gmail.com",
"11 Jan 2023",
"$189.50",
"Not Paid",
"dangerBadge",
),
createData(
"#14252",
"Pixi 8 Wireless Airphone",
"Seth Riley",
"/images/user3.png",
"sethriley@gmail.com",
"12 Jan 2023",
"$250.50",
"Paid",
"successBadge",
),
createData(
"#14253",
"Jebble Smart Watch",
"Gilbert Dan",
"/images/user4.png",
"gilbertdan@gmail.com",
"13 Jan 2023",
"$289.50",
"Paid",
"successBadge",
),
createData(
"#14254",
"Admas Airpod x-Zon",
"Joshua Glen",
"/images/user5.png",
"joshuaGlen@gmail.com",
"14 Jan 2023",
"$289.50",
"Not Paid",
"dangerBadge",
),
createData(
"#14255",
"Smart Satch F8 Pro",
"Lewis Milton",
"/images/user6.png",
"lewisMilton@gmail.com",
"15 Jan 2023",
"$289.50",
"Paid",
"successBadge",
),
createData(
"#14256",
"Nord Fold ZL",
"Liam Ethan",
"/images/user7.png",
"liamEthan@gmail.com",
"16 Jan 2023",
"$289.50",
"Paid",
"successBadge",
),
createData(
"#14257",
"Wall Clock Cimbina",
"Ramon Miles",
"/images/user8.png",
"ramonMiles@gmail.com",
"17 Jan 2023",
"$289.50",
"Paid",
"successBadge",
),
createData(
"#14258",
"Galaxo T6 Munsun",
"Brian Roberto",
"/images/user9.png",
"ramonMiles@gmail.com",
"18 Jan 2023",
"$289.50",
"Paid",
"successBadge",
),
createData(
"#14259",
"Laptop Macos Pro",
"Colin Firth",
"/images/user10.png",
"colinFirth@gmail.com",
"19 Jan 2023",
"$289.50",
"Paid",
"successBadge",
),
createData(
"#14260",
"Smart Camera XD6",
"Wade Dave",
"/images/user11.png",
"wadeDave@gmail.com",
"20 Jan 2023",
"$189.50",
"Paid",
"successBadge",
),
createData(
"#14261",
"Pixi 8 Wireless Airphone",
"Seth Riley",
"/images/user12.png",
"wadeDave@gmail.com",
"21 Jan 2023",
"$250.50",
"Paid",
"successBadge",
),
createData(
"#14262",
"Jebble Smart Watch",
"Gilbert Dan",
"/images/user13.png",
"wadeDave@gmail.com",
"22 Jan 2023",
"$289.50",
"Paid",
"successBadge",
),
createData(
"#14263",
"Admas Airpod x-Zon",
"Joshua Glen",
"/images/user14.png",
"joshuaGlen@gmail.com",
"23 Jan 2023",
"$289.50",
"Paid",
"successBadge",
),
createData(
"#14264",
"Smart Satch F8 Pro",
"Lewis Milton",
"/images/user15.png",
"lewisMilton@gmail.com",
"24 Jan 2023",
"$289.50",
"Paid",
"successBadge",
),
createData(
"#14265",
"Nord Fold ZL",
"Liam Ethan",
"/images/product7.png",
"liamEthan@gmail.com",
"25 Jan 2023",
"$289.50",
"Paid",
"successBadge",
),
].sort((a, b) => (a.orderID < b.orderID ? -1 : 1));
export default function InvoiceLists() {
const [page, setPage] = React.useState(0);
const [rowsPerPage, setRowsPerPage] = React.useState(10);
// Avoid a layout jump when reaching the last page with empty rows.
const emptyRows =
page > 0 ? Math.max(0, (1 + page) * rowsPerPage - rows.length) : 0;
const handleChangePage = (event, newPage) => {
setPage(newPage);
};
const handleChangeRowsPerPage = (event) => {
setRowsPerPage(parseInt(event.target.value, 10));
setPage(0);
};
return (
<>
<Card
sx={{
boxShadow: "none",
borderRadius: "10px",
p: "25px 25px 10px",
mb: "15px",
}}
>
<Box
sx={{
display: "flex",
alignItems: "center",
justifyContent: "space-between",
paddingBottom: "10px",
}}
>
<Typography
as="h3"
sx={{
fontSize: 18,
fontWeight: 500,
}}
>
Invoice Lists
</Typography>
</Box>
<TableContainer
component={Paper}
sx={{
boxShadow: "none",
}}
>
<Table
sx={{ minWidth: 900 }}
aria-label="custom pagination table"
className="dark-table"
>
<TableHead sx={{ background: "#F7FAFF" }}>
<TableRow>
<TableCell
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "14px",
padding: "16px 10px",
}}
>
#
</TableCell>
<TableCell
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "14px",
padding: "16px 10px",
}}
>
Product Name
</TableCell>
<TableCell
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "14px",
padding: "16px 10px",
}}
>
Client Name
</TableCell>
<TableCell
align="center"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "14px",
padding: "16px 10px",
}}
>
Issued Date
</TableCell>
<TableCell
align="center"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "14px",
padding: "16px 10px",
}}
>
Total
</TableCell>
<TableCell
align="center"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "14px",
padding: "16px 10px",
}}
>
Balance
</TableCell>
<TableCell
align="right"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "14px",
padding: "16px 10px",
}}
>
Action
</TableCell>
</TableRow>
</TableHead>
<TableBody>
{(rowsPerPage > 0
? rows.slice(
page * rowsPerPage,
page * rowsPerPage + rowsPerPage
)
: rows
).map((row) => (
<TableRow key={row.orderID}>
<TableCell
sx={{
fontWeight: "500",
fontSize: "13px",
borderBottom: "1px solid #F7FAFF",
padding: "8px 10px",
}}
>
<Checkbox {...label} size="small" />
{row.orderID}
</TableCell>
<TableCell
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
{row.productName}
</TableCell>
<TableCell
sx={{
borderBottom: "1px solid #F7FAFF",
padding: "8px 10px",
}}
>
<Box
sx={{
display: "flex",
alignItems: "center",
}}
>
<img
src={row.clientImg}
alt="Product Img"
style={{ width: '40x', height: '40px'}}
className="borRadius100"
/>
<Box className="ml-1">
<Typography
sx={{
fontWeight: "500",
fontSize: "13px",
}}
>
{row.clientName}
</Typography>
<Typography
sx={{
fontSize: "12px",
}}
>
{row.email}
</Typography>
</Box>
</Box>
</TableCell>
<TableCell
align="center"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
{row.issuedDate}
</TableCell>
<TableCell
align="center"
sx={{
borderBottom: "1px solid #F7FAFF",
fontSize: "13px",
padding: "8px 10px",
}}
>
{row.total}
</TableCell>
<TableCell
align="center"
sx={{
fontWeight: 500,
borderBottom: "1px solid #F7FAFF",
fontSize: "11px",
padding: "8px 10px",
}}
>
<span className={row.badgeClass}>
{row.balance}
</span>
</TableCell>
<TableCell
align="right"
sx={{
borderBottom: "1px solid #F7FAFF",
padding: "8px 10px",
}}
>
<Box
sx={{
display: "inline-block",
}}
>
<Tooltip title="Delete" placement="top">
<IconButton
aria-label="remove"
size="small"
color="danger"
className="danger"
>
<DeleteIcon fontSize="inherit" />
</IconButton>
</Tooltip>
<Tooltip title="View" placement="top">
<IconButton
aria-label="view"
size="small"
color="info"
className="info"
>
<RemoveRedEyeIcon fontSize="inherit" />
</IconButton>
</Tooltip>
<Tooltip title="Rename" placement="top">
<IconButton
aria-label="rename"
size="small"
color="primary"
className="primary"
>
<DriveFileRenameOutlineIcon fontSize="inherit" />
</IconButton>
</Tooltip>
</Box>
</TableCell>
</TableRow>
))}
{emptyRows > 0 && (
<TableRow style={{ height: 53 * emptyRows }}>
<TableCell
colSpan={7}
style={{ borderBottom: "1px solid #F7FAFF" }}
/>
</TableRow>
)}
</TableBody>
<TableFooter>
<TableRow>
<TablePagination
rowsPerPageOptions={[5, 10, 25, { label: "All", value: -1 }]}
colSpan={8}
count={rows.length}
rowsPerPage={rowsPerPage}
page={page}
SelectProps={{
inputProps: {
"aria-label": "rows per page",
},
native: true,
}}
onPageChange={handleChangePage}
onRowsPerPageChange={handleChangeRowsPerPage}
ActionsComponent={InvoiceList}
style={{ borderBottom: "none" }}
/>
</TableRow>
</TableFooter>
</Table>
</TableContainer>
</Card>
</>
);
}