E-Trans Documentation
Developed by Pratik Dimble | Tested by Swapnil Kharat Contact Me

Reports Master Module

The Reports Master Module in E-Trans Dashboard allows users to view, filter, summarize, and export invoices and trips reports for better decision-making.


🔹 Features


🖥️ Table Columns

Column Description
Bill No Unique invoice number
Customer Customer name
Trips Number of trips associated with the invoice
Total Amount Total invoice amount
Received Total amount received
Balance Outstanding balance (red if >0, green if 0)
Date Invoice date

🔗 API Endpoints

Action Method Endpoint Description
Fetch Reports GET /dashboard/filter Returns filtered list of invoices with pagination
Fetch Customers GET /customer Returns list of customers for filter dropdown
Export Excel (Summary/Detailed) GET /export/bill/excel Exports report as Excel file, supports detailed=true/false and filters

📝 Workflow

  1. Load Page: Reports load automatically for the current month by default.
  2. Apply Filters:
    • Select customer and date range → click Filter
    • Table updates dynamically with filtered data
  3. Clear Filters: Resets customer and dates → fetches all records
  4. Export Report:
    • Click Export → choose Summary or Detailed
    • Excel file downloads automatically
  5. Pagination:
    • Navigate using page numbers or previous/next buttons
  6. Data Totals:
    • Automatically computes total amount, total received, and total balance

⚡ UI / UX Notes


📷 Screenshot (Example)

Invoice Reports