Commit Graph

80 Commits

Author SHA1 Message Date
ImanThiyanga 582782b0fe Merge pull request 'feat: add brands and variant categories management' (#8) from inventry-and-supply-chain-management into Dev
Reviewed-on: #8
2026-07-16 05:35:18 +00:00
ImanThiyanga 250cf89abb Merge branch 'Dev' into inventry-and-supply-chain-management 2026-07-16 05:35:12 +00:00
Sasanka c9a84e235b feat: add brands and variant categories management
- Implemented CRUD operations for brands and variant categories in the API.
- Created UI components for managing brands and variant categories, including listing, creating, editing, and deleting.
- Enhanced the sidebar navigation to include links for brands and variant categories.
- Updated the categories API to support pagination and filtering.
- Added validation for brand and variant category names.
- Integrated toast notifications for user feedback on actions.
2026-07-15 18:11:35 +05:30
ImanThiyanga baaf51ba99 Merge pull request 'Dev' (#7) from Dev into production
Reviewed-on: #7
2026-07-15 10:08:07 +00:00
ImanThiyanga 5d18d5d576 Merge branch 'production' into Dev 2026-07-15 10:08:02 +00:00
ImanThiyanga ed2ee87c68 Refactor code structure for int in alll ids instesd defult using long 2026-07-15 15:35:54 +05:30
ImanThiyanga 6c7f53350f Merge pull request 'Inventry and supply chain management' (#6) from inventry-and-supply-chain-management into Dev
Reviewed-on: #6
2026-07-15 08:04:34 +00:00
Sasanka 0e4bcf174b Refactor API client and remove unused code
- Removed the ApiError class and related functions from the api-client module.
- Updated vendor detail page to handle errors without the ApiError class.
- Refactored various API modules to use in-memory mock data instead of commented-out fetch implementations.
- Removed the auth-token module as it was no longer needed.
- Updated error handling to use a more generic error structure.
- Adjusted common types to include ApiResult interface for better type management.
2026-07-15 10:28:14 +05:30
Sasanka cb9fd7dfa8 Revert "Refactor API modules to remove mock implementations and integrate real endpoints"
This reverts commit
2026-07-15 10:27:38 +05:30
ImanThiyanga 4b2914cd5d Merge pull request 'Add migration to add auth_user_id column to users table' (#5) from fix/phase-01 into Dev
Reviewed-on: #5
2026-07-14 11:02:51 +00:00
ImanThiyanga ae7627fcf2 Merge branch 'Dev' into fix/phase-01 2026-07-14 11:02:44 +00:00
ImanThiyanga 67150425e4 Add migration to add auth_user_id column to users table
- Introduced a new column 'auth_user_id' of type UUID to the 'users' table.
- Updated existing user data to set 'auth_user_id' to null for UserId 1.
- Created a unique index on 'auth_user_id' to enforce uniqueness.
- Implemented rollback functionality to remove the column and index if needed.
2026-07-14 16:30:45 +05:30
Sasanka 0415794473 Refactor API modules to remove mock implementations and integrate real endpoints
- Updated stock-transfers.ts to replace mock data with API requests for stock transfers.
- Refactored stock.ts to utilize API calls for stock inquiries instead of mock data.
- Modified uoms.ts to implement real API requests for unit of measure operations.
- Transitioned vendors.ts to use actual API endpoints for vendor management, removing mock data handling.
- Updated warehouses.ts to replace mock implementations with real API calls for warehouse and bin management.
- Refactored wastage.ts to utilize stock adjustments and reason codes APIs, removing mock data dependencies.
- Adjusted procurement.ts to align with backend DTO shapes, ensuring consistency with planned backend structures.
2026-07-14 16:01:47 +05:30
ImanThiyanga 9e1aa57987 Merge pull request 'feat: Add new services and interfaces for GRN, Purchase Return, Reason Code, Reorder, Stock, and Transfer functionalities' (#3) from fix/phase-01 into Dev
Reviewed-on: #3
2026-07-14 05:12:25 +00:00
ImanThiyanga 22f86451e3 feat: Add new services and interfaces for GRN, Purchase Return, Reason Code, Reorder, Stock, and Transfer functionalities
- Implemented IGrnService for managing goods receipts including retrieval, creation, and confirmation.
- Created IPurchaseReturnService for handling purchase return operations.
- Added IReasonCodeService for managing reason codes with listing and creation capabilities.
- Developed IReorderService for fetching reorder alerts and creating suggested requisitions.
- Introduced IStockMutator for applying stock changes and posting ledger entries.
- Established IStockService for stock inquiries, ledger retrieval, and valuation.
- Created ITransferService for managing inter-warehouse transfers including dispatch and receiving operations.
- Implemented PurchaseReturnService to handle purchase return logic and stock adjustments.
- Developed ReasonCodeService for listing and creating reason codes.
- Created ReorderService for fetching reorder alerts and generating requisitions.
- Implemented FifoCostingService for FIFO cost-layer management and ledger writing.
- Developed StockMutator for applying stock deltas and posting ledger entries.
- Created StockService for stock inquiries and ledger management.
- Implemented TransferService for managing inter-warehouse transfers with dispatch and receive functionalities.
2026-07-14 10:20:38 +05:30
Sasanka 7ac30bb454 feat: add warehouse and bin management API with mock data implementation
- Implemented warehouses API with methods for listing, creating, and managing bins.
- Added wastage API to handle stock write-offs and integrate with stock adjustments.
- Created auth token management for storing and retrieving access tokens.
- Developed error mapping for consistent user-facing error messages.
- Introduced client-side validations for GRN, master data, and procurement processes.
- Defined common types for pagination, problem details, and various master data entities.
- Established procurement and stock management types to support frontend functionality.
2026-07-13 17:11:40 +05:30
ImanThiyanga 4e84a15db7 feat: Implement procurement services and number sequence management
- Added INumberSequenceService interface for generating document numbers.
- Created NumberSequenceService to handle atomic document number issuance.
- Introduced IPurchaseOrderService interface and implemented PurchaseOrderService for managing purchase orders.
- Added IRequisitionService interface and implemented RequisitionService for handling requisitions.
- Created IRfqService interface and implemented RfqService for managing RFQs and vendor quotations.
- Defined necessary DTOs and domain entities for procurement processes.
- Ensured proper validation and error handling across services.
2026-07-13 10:28:58 +05:30
ImanThiyanga 783696fa97 smoke test complete on featues 2026-07-10 11:55:32 +05:30
ImanThiyanga 0aa05f10f2 Merge pull request 'feat: Implement Category, Item, UOM, Vendor, and Warehouse services with CRUD operations' (#2) from feat/phase-implemtation into production
Reviewed-on: #2
2026-07-10 05:15:59 +00:00
ImanThiyanga 08a4c28868 Merge branch 'production' into feat/phase-implemtation 2026-07-10 05:15:52 +00:00
ImanThiyanga badb26a81f Merge pull request 'feat: enhance UI components and implement password reset flow with improved styling and validation' (#1) from Sasanka/auth into production
Reviewed-on: #1
2026-07-10 05:15:31 +00:00
ImanThiyanga e0167caf85 Merge branch 'production' into Sasanka/auth 2026-07-10 05:15:25 +00:00
ImanThiyanga 057dd5aedc feat: Implement Category, Item, UOM, Vendor, and Warehouse services with CRUD operations
- Added CategoryService for managing categories with listing, tree structure, and creation functionalities.
- Introduced ItemService for item management, including listing, detail retrieval, creation, updating, and status management.
- Created UomService for handling unit of measure operations, including listing and creation.
- Developed VendorService for vendor management, supporting listing, detail retrieval, creation, updating, and status management.
- Implemented WarehouseService for warehouse and bin management, including listing warehouses, creating warehouses, and managing bins within warehouses.
- Added interfaces for each service to define the contract for service implementations.
- Generated Entity Framework Core model snapshot for database migrations.
2026-07-10 10:44:30 +05:30
Sasanka ce9e138444 feat: enhance UI components and implement password reset flow with improved styling and validation 2026-07-09 15:32:49 +05:30
ImanThiyanga ec94bac410 document update 2026-07-09 14:55:35 +05:30
ImanThiyanga 339d7408ae frontend user-flow 2026-07-09 11:27:27 +05:30
Sasanka ce12ad426e feat: add SVG icons for navigation and branding, configure Tailwind CSS, and set up TypeScript 2026-07-09 11:10:45 +05:30
ImanThiyanga 961066e958 gitignore fix 2026-07-09 10:04:37 +05:30
ImanThiyanga 49188b8fbb first changes 2026-07-09 10:04:14 +05:30
ImanThiyanga 438ab2cdbd first commit 2026-07-09 10:02:08 +05:30