Changes between Version 9 and Version 10 of App


Ignore:
Timestamp:
09/08/25 19:03:05 (11 hours ago)
Author:
163080
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • App

    v9 v10  
    1 = SQL Views =
     1== SQL Views ==
    22
    33The application uses SQL VIEWs to simplify common queries and improve maintainability.
     
    1515}}}
    1616
    17 == v_client_financial_summary ==
     17** v_client_financial_summary **
    1818
    1919'''Purpose''': Shows total amounts for each client with risk analysis
     
    2727}}}
    2828
    29 = API Integration =
     29** API Integration **
    3030
    3131The views are used in API endpoints to provide simplified data access:
     
    3535src/app/api/invoices/totals/route.ts: Uses v_invoice_analytics view for invoice analytics
    3636
    37 = Benefits =
     37** Benefits **
    3838
    3939'''Simpler queries''': No need to write complex JOINs every time
     
    6060- `src/app/api/invoices/route.ts`: For creating new invoices
    6161
    62 **Triggers**
     62== Triggers ==
    6363
    6464The system implements a sophisticated trigger system for invoice management:
     
    7373The trigger is implemented in `sql/01_invoice_status_trigger.sql`.
    7474
    75 **Indexes**
     75== Indexes ==
    7676
    7777Several optimized indexes are implemented for better query performance: