12 Commits

Author SHA1 Message Date
0f14f0f52c Add payment management functionality
- Introduced a new payment schema to handle payment records, including fields for amount, vendor, client, invoice, and state.
- Implemented route handlers for CRUD operations on payments, including listing, creating, editing, and deleting payments.
- Updated application routes to include payment routes for better organization and access.
- Added statistics and history retrieval methods for payments to enhance reporting capabilities.
2025-12-28 02:11:16 +00:00
858041b8e9 Refactor invoice schema to improve clarity and add acknowledgment date
- Renamed 'vendor' and 'client' fields to 'from' and 'to' for better semantic understanding.
- Added 'acknowledgedAt' field to track acknowledgment date of invoices.
2025-12-28 02:10:55 +00:00
8126574186 Enhance invoice schema with order items and shipments
- Added new schemas for invoice order items and shipments to support detailed invoice management.
- Updated the main invoice schema to include references to order items and shipments.
- Implemented a recalculation method for invoice totals, including amounts with and without tax.
- Enhanced rollup configurations to provide more detailed statistics on invoice states.
2025-12-28 01:10:52 +00:00
2630976f9e Add client and sales order management functionality
- Introduced new schemas for clients and sales orders.
- Implemented route handlers for CRUD operations on clients and sales orders.
- Updated the main application routes to include client and sales order routes.
- Enhanced the models to support new data structures and relationships.
2025-12-27 20:47:10 +00:00
dea6a90b68 Removed development logging. 2025-12-27 15:19:13 +00:00
ecb888f692 Renamed tax rates. 2025-12-27 14:02:39 +00:00
2ac550b0c4 Refactor purchase order schema to include additional fields for shipping and state management. Implement rollup statistics and history methods for enhanced data aggregation and reporting capabilities. 2025-12-27 13:59:48 +00:00
9c4b73da67 Enhance order item schema with new fields for state management, shipment tracking, and tax calculations. Introduce rollup statistics and history methods for improved data aggregation and reporting. 2025-12-27 13:59:37 +00:00
75e5079479 Update models.js to correct tax rate import and add shipment and invoice models 2025-12-27 13:59:22 +00:00
4421c0b946 Add invoice management functionality with schema, routes, and service handlers 2025-12-27 13:59:08 +00:00
c750b1a573 Refactored shipment schema to include new fields and methods for handling order types and tax calculations. 2025-12-27 13:56:05 +00:00
5eb8480d9b Move schema location. 2025-12-13 21:10:19 +00:00