Commit Graph

164 Commits

Author SHA1 Message Date
Habib Fatkhul Rohman 14eccfb336 feat: update status field validation in inventory DTOs and add completed constant
Deploy Application / deploy (push) Successful in 37s Details
2025-11-24 14:57:41 +07:00
Habib Fatkhul Rohman 2676a20026 feat: implement product reference number generation and update inventory transaction response structure
Deploy Application / deploy (push) Successful in 28s Details
2025-11-24 14:28:42 +07:00
Habib Fatkhul Rohman 8812a294d8 feat: enhance user service with client name handling in bulk user creation
Deploy Application / deploy (push) Successful in 26s Details
2025-11-21 15:08:21 +07:00
Habib Fatkhul Rohman d1beb610a7 fix: correct query order in GetRoleByID method for proper role retrieval 2025-11-21 14:58:04 +07:00
Habib Fatkhul Rohman 79080ce64d fix: update user field reference in GetAll method for correct access control
Deploy Application / deploy (push) Successful in 25s Details
2025-11-21 14:38:12 +07:00
Habib Fatkhul Rohman 99013ab88e feat: enhance WarehouseController with user and role services for improved access control
Deploy Application / deploy (push) Successful in 23s Details
2025-11-21 14:23:00 +07:00
Habib Fatkhul Rohman 1b537183ac feat: update UomRepository Update method to select all fields during updates 2025-11-21 14:04:04 +07:00
Habib Fatkhul Rohman 69eb45c1fc feat: add Level field to role creation and update functionality
Deploy Application / deploy (push) Successful in 23s Details
2025-11-21 14:00:07 +07:00
Habib Fatkhul Rohman 15dce0f540 feat: add inventory transaction details to product entity and response, and update repository preload logic
Deploy Application / deploy (push) Successful in 26s Details
2025-11-21 13:55:58 +07:00
Habib Fatkhul Rohman f7eab339b6 feat: add bulk user creation functionality with request handling and repository integration 2025-11-21 13:55:42 +07:00
Habib Fatkhul Rohman 4e9be2b87a feat: implement inventory transaction management with CRUD operations and routing 2025-11-21 11:28:02 +07:00
Habib Fatkhul Rohman 51a6f291e0 feat: enhance user response to include associated warehouses in GetUserById 2025-11-21 10:24:26 +07:00
Habib Fatkhul Rohman ff8cd07e9c feat: update InventoryMovementResponse to include client details and modify client ID retrieval in WarehouseController
Deploy Application / deploy (push) Successful in 30s Details
2025-11-20 14:38:54 +07:00
Habib Fatkhul Rohman bac881a54d feat: add inventory storage management with CRUD operations and routing 2025-11-20 14:25:39 +07:00
Habib Fatkhul Rohman 5773c34131 feat: implement inventory movement management with CRUD operations and routing 2025-11-20 13:14:34 +07:00
Habib Fatkhul Rohman 59333e5144 feat: update user verification to handle SUPERADMIN role and improve warehouse ID assignment
Deploy Application / deploy (push) Successful in 25s Details
2025-11-19 15:29:40 +07:00
Habib Fatkhul Rohman be0b54b4a5 feat: add user warehouse management functionality with CRUD operations
Deploy Application / deploy (push) Successful in 24s Details
- Implemented MUserWarehouseEntity for user-warehouse relationships
- Updated user service and repository to handle warehouse assignments
- Added new routes and controller methods for managing user warehouses
- Enhanced JWT service to include warehouse information in tokens
- Updated user DTOs to support warehouse data
2025-11-19 14:56:33 +07:00
Habib Fatkhul Rohman 09409f0773 fix: correct import alias for inventory issue repository in inventory return service
Deploy Application / deploy (push) Successful in 26s Details
2025-11-19 10:17:18 +07:00
Habib Fatkhul Rohman b14f2eeafd feat: enhance inventory return line entity and DTOs with return and issued quantity fields 2025-11-18 16:09:05 +07:00
Habib Fatkhul Rohman a2e92cf738 feat: add inventory return management with controller, service, and repository integration
Deploy Application / deploy (push) Successful in 24s Details
2025-11-18 15:37:34 +07:00
Habib Fatkhul Rohman 410ecde2e9 feat: implement inventory return management with entities, DTOs, services, and routes 2025-11-18 15:23:28 +07:00
Habib Fatkhul Rohman ca2795a493 fix: rename ReceiptDate to DocumentDate in inventory receipt entities and DTOs 2025-11-18 15:23:17 +07:00
Habib Fatkhul Rohman 52dec2f37a feat: implement inventory issue management
- Added migration for inventory issue and issue line entities.
- Created InventoryIssueController with CRUD operations for inventory issues and lines.
- Developed DTOs for inventory issue requests and responses.
- Implemented query filters for inventory issues.
- Created repositories for inventory issue and issue line data access.
- Developed service layer for inventory issue business logic.
- Added routes for inventory issue management in the API.
- Updated existing repositories to include assignment retrieval for inventory receipts and requests.
- Registered new dependencies in the core provider for inventory issue functionality.
2025-11-18 10:56:03 +07:00
Habib Fatkhul Rohman 1a16cb3396 feat(role_service): Add menu assignment functionality and related error handling
Deploy Application / deploy (push) Successful in 22s Details
2025-11-17 15:36:01 +07:00
Habib Fatkhul Rohman f3b3de6fd4 fix(aisle_repository): Add preload for related entities in GetAll method 2025-11-17 14:39:34 +07:00
Habib Fatkhul Rohman 28f2a93f6a feat(inventory_request): Implement inventory request management with CRUD operations and line handling
Deploy Application / deploy (push) Successful in 25s Details
- Added InventoryRequestController for handling requests
- Created InventoryRequestService for business logic
- Developed InventoryRequestRepository and InventoryRequestLineRepository for data access
- Introduced DTOs for request and response structures
- Implemented filtering for inventory requests
- Registered routes for inventory requests in the router
- Updated core dependency injection to include new services and controllers
2025-11-17 11:59:39 +07:00
Habib Fatkhul Rohman 9fa1d4ec14 refactor(aisle): Change aisle dimensions and weight types from string to float/int 2025-11-17 11:58:56 +07:00
Habib Fatkhul Rohman ccb62d0159 feat(inventory_receipt): Add status field to inventory receipt response 2025-11-17 10:48:50 +07:00
Habib Fatkhul Rohman 466c49167e feat(inventory_receipt): Add status field to inventory receipt entity and update DTO and service methods
Deploy Application / deploy (push) Successful in 22s Details
2025-11-14 15:13:32 +07:00
Habib Fatkhul Rohman cfe9cb4e77 feat(uom): Enhance GetAll method to support 'get_all' query parameter for retrieving all UOMs
Deploy Application / deploy (push) Successful in 26s Details
2025-11-14 14:51:22 +07:00
Habib Fatkhul Rohman be318fe760 feat(assignment): Implement assignment module with CRUD operations and integrate with inventory receipt
Deploy Application / deploy (push) Successful in 24s Details
2025-11-14 14:43:14 +07:00
Habib Fatkhul Rohman e90fa96dd6 feat: add inventory receipt module with CRUD operations
- Implemented InventoryReceiptController for handling inventory receipt requests.
- Created InventoryReceiptService for business logic related to inventory receipts.
- Added InventoryReceiptRepository and InventoryReceiptLineRepository for database interactions.
- Introduced DTOs for inventory receipt and line requests/responses.
- Implemented filtering for inventory receipts in the query layer.
- Added routes for inventory receipt operations in the API.
- Enhanced document number generation to include client initials.
- Updated database entities to support inventory receipts and lines.
- Added utility functions for date and time conversions.
2025-11-14 13:14:32 +07:00
Habib Fatkhul Rohman d29e2211cd feat(inventory_storage): Add initial structure for inventory storage module with controller, DTO, query, repository, routes, and service 2025-11-13 11:23:35 +07:00
Habib Fatkhul Rohman 46706e655a feat(warehouse): Enhance Warehouse entity and DTO to include Zonas and Aisles details in responses
Deploy Application / deploy (push) Successful in 25s Details
2025-11-11 12:03:58 +07:00
Habib Fatkhul Rohman 3d638530eb feat(aisle): Update Aisle entity and DTO to include dimensional fields and improve response structure 2025-11-11 11:48:16 +07:00
Habib Fatkhul Rohman 6038e52837 feat(zona): Refactor ZonaResponse to use structured Warehouse and Client fields 2025-11-11 11:25:04 +07:00
Habib Fatkhul Rohman 7d6ed3f715 feat(warehouse): Update WarehouseResponse and service to include Client and PIC details 2025-11-11 11:06:13 +07:00
Habib Fatkhul Rohman 36dd83d624 feat(product): Update Product DTO and service to handle optional CategoryID and UomID
Deploy Application / deploy (push) Successful in 24s Details
2025-11-11 10:26:30 +07:00
Habib Fatkhul Rohman 8c5735d62e feat(aisle): Implement Aisle module with CRUD operations and routing 2025-11-10 16:04:28 +07:00
Habib Fatkhul Rohman a432c007bf feat(zona): Implement Zona module with CRUD operations and routing 2025-11-10 14:41:11 +07:00
Habib Fatkhul Rohman e0275ee82c feat(warehouse): Update warehouse entity and DTO to include PICID and related changes in controller 2025-11-10 14:40:37 +07:00
Habib Fatkhul Rohman c7a36f0bbd fix(user): Add check for deleted roles in ApplyFilters method
Deploy Application / deploy (push) Successful in 24s Details
2025-11-10 13:33:48 +07:00
Habib Fatkhul Rohman a324c539be feat(maintenance_group): Add FindByGroupIdAndRoleId method to repository and integrate it in Update service
Deploy Application / deploy (push) Successful in 24s Details
feat(user): Add RoleID to UserFilter and apply role filtering in query
2025-11-10 13:03:24 +07:00
Habib Fatkhul Rohman 44121a3f86 feat(warehouse): Implement warehouse module with CRUD operations and routing 2025-11-10 10:46:49 +07:00
Habib Fatkhul Rohman 2c1b645d31 feat(product): Refactor ProductCreateRequest and MProductEntity to simplify fields and use pointers for optional IDs
Deploy Application / deploy (push) Successful in 23s Details
2025-11-10 10:43:30 +07:00
Habib Fatkhul Rohman 34ef32dc55 feat(product): Comment out unused UOM fields in ProductCreateRequest and Create method
Deploy Application / deploy (push) Successful in 32s Details
2025-11-07 15:31:34 +07:00
Habib Fatkhul Rohman 5609b177e8 feat(vendor): Add ClientID to VendorFilter in GetAll method 2025-11-07 15:31:17 +07:00
Habib Fatkhul Rohman 81de780ff0 feat(role): Update RoleMenuResponse to use Parent field and preload parent menus in repository
Deploy Application / deploy (push) Successful in 21s Details
2025-11-07 14:08:44 +07:00
Habib Fatkhul Rohman 62082a7dce feat(role): Add ParentID field to RoleMenuResponse and update ToRoleResponse mapping 2025-11-07 13:55:30 +07:00
Habib Fatkhul Rohman de53d59686 feat(controller): Add ClientID filter to GetAll methods in category, product, and uom controllers
Deploy Application / deploy (push) Successful in 22s Details
2025-11-07 13:45:21 +07:00
Habib Fatkhul Rohman 47f5198326 feat(category): Ensure all fields, including zero values, are updated in the Update method
Deploy Application / deploy (push) Successful in 23s Details
2025-11-07 13:19:04 +07:00
Habib Fatkhul Rohman b6c0509888 feat(maintenance_group, role, user): Refactor Level field handling in maintenance group and role entities, update related DTOs and services
Deploy Application / deploy (push) Successful in 53s Details
2025-11-06 11:16:00 +07:00
Habib Fatkhul Rohman a452e55e25 feat(client): Add GetAll functionality for client retrieval and update filters for pagination
Deploy Application / deploy (push) Successful in 25s Details
feat(role): Implement GetAll method for role retrieval without pagination and update role service and repository
feat(product): Add SearchKey field to ProductVendorResponse for enhanced product search capabilities
2025-11-05 16:03:29 +07:00
Habib Fatkhul Rohman 0453d4df70 feat(user): Implement GetAll method for user retrieval without pagination and update user service and repository accordingly 2025-11-05 15:49:09 +07:00
Habib Fatkhul Rohman d8756b6f76 feat(user): Add GroupID filter to user queries for enhanced filtering capabilities
Deploy Application / deploy (push) Successful in 20s Details
2025-11-05 15:15:43 +07:00
Habib Fatkhul Rohman 5d27d4f3bd feat(user): Enhance user model to include client information and preload client data in queries
Deploy Application / deploy (push) Successful in 22s Details
2025-11-05 15:08:34 +07:00
Habib Fatkhul Rohman 371c2f8e16 feat(vendor): Implement Vendor CRUD operations with DTOs, service, repository, and routes 2025-11-05 14:53:23 +07:00
Habib Fatkhul Rohman e1440e317c feat(product): Add AssignCrossReference and RemoveCrossReference methods in ProductController, Service, and Repository 2025-11-05 14:52:26 +07:00
Habib Fatkhul Rohman e0a5af65a1 feat(menu): Implement GetAll functionality for menus in MenuService and MenuRepository
Deploy Application / deploy (push) Successful in 22s Details
2025-11-05 13:00:11 +07:00
Habib Fatkhul Rohman 13e6c86acb feat(role): Add sequence field to RoleMenuResponse and update ToRoleResponse mapping
Deploy Application / deploy (push) Successful in 21s Details
2025-11-05 10:16:49 +07:00
Habib Fatkhul Rohman e83a114390 feat(role): Update RoleResponse to include detailed menu information with IconUrl and Url
Deploy Application / deploy (push) Successful in 22s Details
2025-11-04 11:43:41 +07:00
Habib Fatkhul Rohman 8ff66d3775 refactor(user): Update user retrieval and modification to use route parameters instead of context values
Deploy Application / deploy (push) Successful in 21s Details
2025-11-04 09:46:08 +07:00
Habib Fatkhul Rohman 795d8d05e3 feat(user): Implement user creation functionality in UserController and UserService
Deploy Application / deploy (push) Successful in 22s Details
2025-11-03 15:37:18 +07:00
Habib Fatkhul Rohman d110a31c4f feat(maintenance_group): Enhance MaintenanceGroup structure and responses with ClientID and total role count 2025-11-03 14:37:58 +07:00
Habib Fatkhul Rohman e3127c075d feat(role): Add many-to-many relationship for Menus in M_Role and update RoleResponse 2025-11-03 14:35:57 +07:00
Habib Fatkhul Rohman bc932901f7 refactor(role): Comment out role name existence check in CreateRole function
Deploy Application / deploy (push) Successful in 23s Details
2025-11-03 14:19:52 +07:00
Habib Fatkhul Rohman f1a5395d68 feat(user): Add client information to UserResponse and preload client in GetUserById
Deploy Application / deploy (push) Successful in 24s Details
2025-11-03 13:41:49 +07:00
Habib Fatkhul Rohman 6b608a86a9 feat(docs): Enhance API documentation for AssignMenusToRole and RemoveMenusFromRole endpoints
Deploy Application / deploy (push) Successful in 21s Details
2025-11-03 11:42:46 +07:00
Habib Fatkhul Rohman a07b96f5ce feat(role): Add menu assignment and removal functionality for roles 2025-11-03 11:40:40 +07:00
Habib Fatkhul Rohman 1f23b12918 feat(repository): Refactor Update methods to use Model and Where for better clarity and performance 2025-10-31 15:30:02 +07:00
Habib Fatkhul Rohman 82579efe36 feat(role): Refactor role handling to include client details in responses and update API routes 2025-10-31 11:27:29 +07:00
Habib Fatkhul Rohman 14cbd567b3 feat(product): Enhance product entities and DTOs with client and category relationships 2025-10-31 10:48:04 +07:00
Habib Fatkhul Rohman 26d8f997ed feat(menu): Enhance menu model to include clients and permissions in responses
Deploy Application / deploy (push) Successful in 20s Details
2025-10-30 14:59:34 +07:00
Habib Fatkhul Rohman 203857d116 feat(menu): Update GetMenus to use client_id from query and enhance filtering
Deploy Application / deploy (push) Successful in 31s Details
2025-10-30 14:45:02 +07:00
Habib Fatkhul Rohman 02dc2c71d8 feat(uom): Add UOM management with CRUD operations and routing
Deploy Application / deploy (push) Successful in 22s Details
2025-10-30 14:20:20 +07:00
Habib Fatkhul Rohman fbbbeb5304 fix(role): Restore ClientID filter in GetRoles method
refactor(docker): Simplify CMD in Dockerfile by removing seed command
2025-10-30 14:11:40 +07:00
Habib Fatkhul Rohman bf6271c3dc feat(category): Implement category management with CRUD operations and routing 2025-10-30 13:15:43 +07:00
Habib Fatkhul Rohman 2ade3121ff refactor(docker): Update CMD in Dockerfile to use migration command
Deploy Application / deploy (push) Successful in 22s Details
refactor(role): Comment out unused client ID handling in GetRoles method
refactor(role): Comment out role name existence check in UpdateRole method
refactor(command): Enhance logging for migration and seeder processes
2025-10-30 12:00:11 +07:00
Habib Fatkhul Rohman 28f9221153 refactor(logs): Improve log file reading by normalizing newlines and splitting entries
Deploy Application / deploy (push) Successful in 20s Details
2025-10-29 22:49:40 +07:00
Habib Fatkhul Rohman f69fae3f38 feat(logs): Enhance log retrieval by adding app log support and limiting results to 100 entries 2025-10-29 22:41:01 +07:00
Habib Fatkhul Rohman fc43112d19 feat(monitoring): Add health check and error log retrieval endpoints 2025-10-29 22:40:28 +07:00
Habib Fatkhul Rohman 1d687fe2d7 feat(product): Implement product management with CRUD operations and routing
Deploy Application / deploy (push) Successful in 20s Details
2025-10-29 15:34:33 +07:00
Habib Fatkhul Rohman 170d284d08 fix(menu): Update ParentID handling in MenuUpdateRequest and improve Update method for better clarity
Deploy Application / deploy (push) Successful in 8s Details
2025-10-29 15:10:21 +07:00
Habib Fatkhul Rohman fa9c1ba44f feat(permissions): Add CRUD operations for permissions with Swagger documentation
Deploy Application / deploy (push) Successful in 16s Details
2025-10-29 10:38:53 +07:00
Habib Fatkhul Rohman 98bdfce83a feat(user): Add username support for login and implement username checks in repository 2025-10-28 22:29:56 +07:00
Habib Fatkhul Rohman 62a188fcc6 feat(permissions): Implement permissions management with CRUD operations and routing 2025-10-28 21:26:58 +07:00
Habib Fatkhul Rohman 2020a906fc fix(repository): Change Save to Updates in Update method for better handling of menu updates 2025-10-28 20:48:19 +07:00
Habib Fatkhul Rohman 8fe0448aa8 feat(dto): Add Permissions field to MenuResponse and update related services
Deploy Application / deploy (push) Successful in 20s Details
2025-10-28 16:00:43 +07:00
Habib Fatkhul Rohman 8fe9a5bb5c Refactor role management API endpoints and update Swagger documentation
- Removed the deprecated /example/helloworld endpoint from Swagger.
- Updated the /roles endpoint to include GET and POST methods for retrieving and creating roles.
- Added detailed documentation for role-related endpoints including assigning and removing permissions, and managing roles for users.
- Introduced new DTOs for role creation, updating, and permission management.
- Updated response schemas to ensure consistency across role management operations.
- Enhanced validation requirements for role and permission requests.
2025-10-28 15:43:09 +07:00
Habib Fatkhul Rohman 53a8456e79 fix(dto): Update URL and mode validation to allow shorter input lengths
Deploy Application / deploy (push) Successful in 19s Details
2025-10-28 15:37:48 +07:00
Habib Fatkhul Rohman d34f1238d1 feat(api): Enhance API documentation and functionality for clients, menus, and maintenance groups
Deploy Application / deploy (push) Successful in 19s Details
- Added new DTO definitions for AssignMenusToClientRequest, MaintGroupCreateRequest, MaintGroupUpdateRequest, and related entities in swagger.yaml.
- Implemented CRUD operations for clients, including creating, updating, deleting, and retrieving clients with detailed API documentation.
- Introduced endpoints for assigning and removing menus from clients with appropriate request bodies.
- Enhanced maintenance group management with endpoints for creating, updating, deleting, and retrieving maintenance groups.
- Updated menu management with endpoints for creating, updating, deleting, and retrieving menus, including filtering and sorting capabilities.
- Refactored user-related endpoints to return a consistent response structure using utils.Response.
2025-10-28 15:25:59 +07:00
Habib Fatkhul Rohman 973c434f47 fix: Update binding for MaintenanceGroupRoles to allow optional presence 2025-10-28 14:54:53 +07:00
Habib Fatkhul Rohman 1bfd4ff176 feat: Implement menu assignment and removal for clients with corresponding service and repository methods 2025-10-28 13:55:33 +07:00
Habib Fatkhul Rohman 2db31dc017 feat: Add client module with CRUD operations, DTOs, repository, and service layers
Deploy Application / deploy (push) Successful in 23s Details
2025-10-28 10:09:31 +07:00
Habib Fatkhul Rohman f9c5dc3f63 feat: Implement cascading delete constraints for maintenance group entities and enhance service methods for role-user relationships
Deploy Application / deploy (push) Successful in 19s Details
2025-10-25 21:00:03 +07:00
Habib Fatkhul Rohman e1cb51c5db feat: Update validation for 'mode' field in Menu DTO to require a minimum length of 2 characters 2025-10-25 01:37:42 +07:00
Habib Fatkhul Rohman b533554f98 feat: Add maintenance group management with CRUD operations and routing 2025-10-25 01:35:45 +07:00
Habib Fatkhul Rohman 1079c5dac8 feat: Implement menu management with CRUD operations and routing 2025-10-23 15:49:10 +07:00
Habib Fatkhul Rohman 2546a094a3 feat: Revamp logs page with new HTML structure and styles
- Updated logs.html to include a modern design with Tailwind CSS.
- Added a login section for admin access to logs.
- Implemented JavaScript functions for login, log retrieval, and month selection.
- Enhanced user experience with loading indicators and error handling.

feat: Add ServeLogsPage method to LogsController

- Introduced ServeLogsPage method to serve the logs HTML page.
- Configured to respond with HTML when the Accept header is text/html.

refactor: Update logs routes to serve HTML page

- Modified routes to serve the logs HTML page without authentication.
- Adjusted protected routes for log retrieval to use API versioning.

docs: Add API documentation for user and role controllers

- Added Swagger documentation comments for user and role controller methods.
- Documented endpoints for user registration, login, and email verification.
2025-10-23 00:17:07 +07:00
Habib Fatkhul Rohman 80825a70af feat: Enhance role and user role management with new endpoints and DTOs for assigning/removing roles and permissions 2025-10-22 15:29:42 +07:00