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
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
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
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
3e47cb131b
Implemented notifications.
farmcontrol/farmcontrol-api/pipeline/head There was a failure building this commit
2026-03-01 01:42:30 +00:00
a7e35c279e
Refactor invoice routes and handlers for improved clarity and functionality
...
- Renamed and updated route handlers for sending and marking invoices to acknowledge and post invoices, respectively.
- Changed filter parameters from 'customer' to 'client' and added 'order' and 'orderType' filters for better invoice management.
- Enhanced invoice handling logic to include order items and shipments, improving the overall invoicing process.
- Updated the population fields in invoice queries to reflect new schema relationships.
- Adjusted state checks and logging for better error handling and clarity in invoice processing.
2025-12-28 02:12:03 +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
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
5a16890b7a
Add route handler for updating multiple stock events in stockevents.js
2025-12-27 14:03:38 +00:00
361689cef4
Update allowedFilters in order items route to include shipment and shipment._id for enhanced filtering capabilities.
2025-12-27 14:03:25 +00:00
a7bda46acf
Add shipment management functionality with new route handlers for shipping, receiving, and canceling shipments. Updated service methods to handle state validation and order item updates accordingly.
2025-12-27 14:03:03 +00:00
fadaafdad8
Add purchase order management functionality with new route handlers for posting, acknowledging, and canceling purchase orders. Enhanced service methods to validate states and update order items and shipments accordingly.
2025-12-27 14:02:16 +00:00
eb2e920028
Add batch update functionality for filament stocks, order items, part stocks, purchase orders, shipments, and filaments. Implemented new route handlers for editing multiple records and enhanced existing services to support bulk updates.
2025-12-27 14:01:46 +00:00
4421c0b946
Add invoice management functionality with schema, routes, and service handlers
2025-12-27 13:59:08 +00:00
55a1633eab
Updated import paths.
2025-12-13 21:14:06 +00:00
09eba639d0
Added order items, shipments.
2025-12-13 21:12:47 +00:00
d88da6939d
Added order items, shipments etc
2025-12-07 02:36:55 +00:00
9f2341c613
Added address to Vendor
2025-12-03 23:47:22 +00:00
f4681e917b
Added tax rates, tax records.
2025-12-03 23:35:40 +00:00
8b978e1787
Added purchase orders and couriers.
2025-12-03 03:40:06 +00:00
2dbe2e9358
Fixed filtering
2025-12-03 00:07:36 +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
61a6f2828a
Enhance printer filtering: Added 'host._id' to the allowed filters in the printers route to improve data retrieval capabilities.
2025-09-05 23:26:04 +01:00
208089610c
Update allowed filters in document templates route: Added 'global' and 'objectType' to enhance filtering capabilities for document templates.
2025-09-05 23:25:57 +01:00
5f8a58ca81
Enhance filtering for filament stocks: Added 'filament._id' to the allowed filters in the inventory route to improve data retrieval capabilities.
2025-09-05 23:25:42 +01:00
b5e829432d
Refactor note and subjob management routes: Enhanced filtering logic and added new route handlers for CRUD operations. Updated services to utilize database functions for improved data handling and error management. Implemented property-based listing for notes and subjobs, ensuring better data retrieval and organization.
2025-09-05 23:25:14 +01:00
72d03ce976
Add document jobs management: Introduced new routes, schema, and service functions for managing document jobs. Updated index.js to include documentJobs route. Implemented CRUD operations and filtering capabilities for document jobs in the application.
2025-09-05 23:24:24 +01:00
833aa2a242
Updated auth.js to include redirect type.
2025-08-24 11:09:53 +01:00
1fba9cc6ba
Using global functions for database interaction.
2025-08-24 11:09:40 +01:00
e1b0b707ba
Update dependencies, refactor routes, and enhance caching: Upgraded various package versions in package.json and package-lock.json for improved performance and security. Refactored routes to include new document-related endpoints and integrated caching mechanisms for user and token lookups to optimize authentication processes. Updated schemas to support new data structures and relationships, ensuring better data integrity and retrieval.
2025-08-18 00:51:46 +01:00
7626ff0317
Refactor audit logging: centralized audit log retrieval in utils, updated service methods to utilize new getAuditLogs function, and standardized model references in audit log creation across services. Enhanced filtering in management routes for improved query handling.
2025-06-29 22:34:58 +01:00
eb8bc0f4b3
Remove unused files and refactor imports: deleted obsolete files including passport.js, and others, while updating import paths in various services and routes for consistency. Added ESLint and Prettier configurations to enhance code quality.
2025-06-29 21:53:18 +01:00
79ff1da0a6
Refactor routes and schemas: reorganized service imports, updated user and auth routes, and modified schema paths for better structure. Removed unused routes and services to streamline the codebase.
2025-06-29 21:30:54 +01:00
114db67793
Refactor routes and schemas: replaced print job references with job, added user routes, and implemented new audit logging functionality. Updated filtering methods across various services to enhance query capabilities.
2025-06-28 00:18:21 +01:00
b64bf678bd
Added filament stock and added some filtering too.
2025-05-19 00:32:15 +01:00