2996b1670f
Refactored tax record management by moving tax record schema and routes to the finance directory, enhancing organization. Implemented CRUD operations for tax records in the new service and added corresponding tests for route handlers.
2026-06-21 22:23:14 +01:00
6e7419da67
Updated invoice schema to support dynamic reference types for 'from' and 'to' fields, and modified related service handlers to accommodate new 'fromType' and 'toType' properties.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-06-21 19:08:20 +01:00
fd636c6c82
Fixed product SKUs.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-06-20 22:27:21 +01:00
af0934b163
Added product category support, including new routes, database schemas, and service updates. Enhanced existing product functionalities to incorporate product categories in filtering and population.
2026-06-14 23:51:51 +01:00
92e07c97d7
Numerious fixes.
2026-05-17 19:11:29 +01:00
57f057e3aa
Implemented stock locations.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-05-17 16:55:01 +01:00
d3c662a9ec
Added stock location and stock transfer features, including new routes, database schemas, and service updates. Enhanced existing stock-related functionalities to support filtering and population of stock location data.
2026-03-21 23:14:07 +00:00
1b858d8814
Added better listing and listing varient support.
2026-03-21 21:39:10 +00:00
250c404408
Implemented market places.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-03-13 23:32:30 +00:00
a3af5db899
Updated GCode file schema.
2026-03-13 22:56:03 +00:00
0300e00c8f
Enhanced delete functionality for filaments by adding a route handler that checks for dependencies before deletion. Updated the database service to support this check, ensuring objects in use cannot be deleted. Refactored related routes for consistency.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-03-08 01:53:07 +00:00
4458a1d828
Implemented materials and export improvements.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-03-08 01:28:21 +00:00
7eb774a297
Added missing SKUs.
2026-03-08 01:07:34 +00:00
73fbb50b34
Implemented Part SKUs.
2026-03-07 23:34:12 +00:00
4ea168f17f
Implemented Product SKU.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-03-07 22:42:01 +00:00
866c29f33f
Set default state as 'draft' and introduced 'postedAt' field. Implemented postProductStock route handler to transition product stock from draft to posted state, including state validation checks. Updated related service functions for consistency.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-03-07 20:37:41 +00:00
1b2d505a30
Updated tests.
2026-03-07 20:36:18 +00:00
7c44f36590
Implemented product stocks and minor improvements.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-03-07 13:38:05 +00:00
fa2d5b91c3
Implemented sales order calculations.
farmcontrol/farmcontrol-api/pipeline/head This commit is unstable
2026-03-06 21:14:08 +00:00
ee14c420df
Added CSV support.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-03-03 01:20:38 +00:00
f852e607f9
Added excel support.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-03-03 01:01:52 +00:00
8ad3d3da5c
Implemented multiple app passwords.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-03-02 01:58:24 +00:00
eaa8bf4836
Updated log level to trace in config, added OData routes, implemented HTTP Basic Auth for user authentication, and added functionality to set app password for users.
2026-03-02 00:54:10 +00:00
a2d62ddec1
Fixed api tests.
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
2026-03-01 02:09:41 +00:00
3e47cb131b
Implemented notifications.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-03-01 01:42:30 +00:00
28c94159b4
Added unit tests.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2025-12-29 00:39:13 +00:00
d3cbea45c5
Add invoicing fields to shipment schema and update recalculation logic
...
- Introduced new fields: 'invoicedAmount', 'invoicedAmountWithTax', 'invoicedAmountRemaining', and 'invoicedAmountWithTaxRemaining' to the shipment schema for better tracking of invoicing status.
- Updated the recalculation logic to compute remaining invoiced amounts based on the newly added fields.
2025-12-28 02:11:50 +00:00
dd86075734
Add 'name' field and invoicing details to order item schema
...
- Introduced a new 'name' field as a required attribute in the order item schema.
- Added invoicing-related fields: 'invoicedAmountWithTax', 'invoicedAmount', 'invoicedQuantity', 'invoicedAmountRemaining', 'invoicedAmountWithTaxRemaining', and 'invoicedQuantityRemaining' to track invoicing status.
- Updated route handlers to accommodate the new 'name' field in order item creation and editing processes.
- Enhanced the recalculation logic to include remaining invoiced amounts and quantities.
2025-12-28 02:11:37 +00:00
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
9ab08f39a1
Enhanced database functions with pagination support in listObjects, added checkStates function for state validation, and introduced editObjects function for batch updates. Updated editObject to include recalculate parameter.
2025-12-27 13:57:43 +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
d9247d2504
Refactored config system to have both production and development configs.
2025-12-13 23:01:03 +00:00
8e0c991a58
Removed DB seeding.
2025-12-13 22:34:46 +00:00
6e24f61819
Improved redis to get keys by prefix.
2025-12-13 21:12:07 +00:00
113a16818a
Implemented stats
2025-12-13 21:11:43 +00:00
7740e94d32
Remove etcd.
2025-12-13 21:10:42 +00:00
5eb8480d9b
Move schema location.
2025-12-13 21:10:19 +00:00
08023e124c
Change API for object property listing to work better with the ui.
2025-12-03 00:07:27 +00:00
b44e3a5141
Added loads of features, updated packages and created schema sync.
2025-12-02 18:29:30 +00:00
dca386e6ae
Large amount of refactoring.
2025-11-16 17:06:54 +00:00
a768ca04de
Add NATS messaging for updates and deletes: Replaced Etcd operations with NATS publish calls in utils.js for distributing updates, new entries, and deletions. Updated logging in etcd.js to use trace level for improved verbosity during connection and operation handling.
2025-09-05 23:25:34 +01:00