From 51c2e4b568aaa1e9750c3b3f46ce3ea3547a6925 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sat, 3 Jan 2026 12:05:42 -0500 Subject: [PATCH] Added report starter --- src/component/reports/PaymentReportTable.jsx | 170 +++++++++++++++++- src/component/reports/ProductReportTable.jsx | 172 +++++++++++++++++++ src/component/reports/Reports.jsx | 33 +--- 3 files changed, 344 insertions(+), 31 deletions(-) create mode 100644 src/component/reports/ProductReportTable.jsx diff --git a/src/component/reports/PaymentReportTable.jsx b/src/component/reports/PaymentReportTable.jsx index f1c9fa9..0611ee6 100644 --- a/src/component/reports/PaymentReportTable.jsx +++ b/src/component/reports/PaymentReportTable.jsx @@ -2,6 +2,174 @@ import React from "react"; export default function PaymentReportTable() { return (<> - Payment Table + + {/*
*/} + {/*
*/} + {/*
*/} + {/*
*/} + {/*

Payments Report

*/} + {/*
*/} + {/*
*/} + {/*
*/} + {/*
*/} + +
+
+
+
+
+

Payments Report

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
+
+
+
+
+
+ ) } \ No newline at end of file diff --git a/src/component/reports/ProductReportTable.jsx b/src/component/reports/ProductReportTable.jsx new file mode 100644 index 0000000..3d5d8ed --- /dev/null +++ b/src/component/reports/ProductReportTable.jsx @@ -0,0 +1,172 @@ +import React from "react"; + +export default function ProductReportTable() { + return (<> + +
+
+
+
+

Payments Report

+
+
+
+
+ +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
+
+
+
+
+
+ + ) +} \ No newline at end of file diff --git a/src/component/reports/Reports.jsx b/src/component/reports/Reports.jsx index 5c87594..9f6ece8 100644 --- a/src/component/reports/Reports.jsx +++ b/src/component/reports/Reports.jsx @@ -4,6 +4,7 @@ import {useQuery} from "@tanstack/react-query"; import queryKeys from "../../services/queryKeys"; import {getReportsTopicsList} from "../../services/services"; import PaymentReportTable from "./PaymentReportTable"; +import ProductReportTable from "./ProductReportTable"; export default function Reports() { @@ -21,18 +22,12 @@ export default function Reports() { const reportTopicList = data?.data?.topics?.topics; - debugger; - return ( <>
- -
-
-
{/*
*/} {/*
*/} @@ -57,31 +52,11 @@ export default function Reports() {
- {} + {}
-

Reflect and experiment until you find the right combination of motivators - for your personality and your personal goals. Do it today. Remind - yourself of someone you know who died suddenly and the fact that there - is no guarantee that tomorrow will come.

-
-
-

Commitment is something that comes from understanding that everything has - its price and then having the willingness to pay that price. This is - important because nobody wants to put significant effort into something, - only to find out after the fact that the price was too high. We all know - people who live this truth.Give yourself the power of - responsibility.

-
-
-

I truly believe Augustine’s words are true and if you look at history you - know it is true. There are many people in the world with amazing talents - who realize only a small percentage of their potential. We all know - people who live this truth.Give yourself the power of responsibility. - Remind yourself the only thing stopping you is yourself.

+ {}
@@ -89,8 +64,6 @@ export default function Reports() {
- -
)