Commit Graph

17 Commits

Author SHA1 Message Date
Hafizh A. Y. 6628356958 Merge branch 'dev/teguh' into 'feat/BE/US-34/stock-adjusment'
[FEAT/BE][US#34/TASK#47,48,49,50] Inventory adjustment system

See merge request mbugroup/lti-api!13
2025-10-14 02:35:50 +00:00
aguhh18 5283aed996 feat(BE-48): auto-create product_warehouse on stock adjustment & remove unused APIs
- Change logic: automatically create product_warehouse if it does not exist during stock adjustment
- Remove unnecessary/unused API endpoints
- Ensure adjustment process continues even if product_warehouse was not previously available
2025-10-13 11:38:05 +07:00
aguhh18 ce28429efd feat(BE-50): add getOne endpoint for adjustment history 2025-10-13 09:36:38 +07:00
Hafizh A. Y. 05bf2f4fff Merge branch 'feat/BE/US-34/stock-adjusment' into 'development-before-sso'
[FEAT/BE][US#34/TASK#47,48,49,50] Inventory adjustment system

See merge request mbugroup/lti-api!12
2025-10-13 02:29:12 +00:00
Hafizh A. Y. a0a416c330 Merge branch 'dev/teguh' into 'feat/BE/US-34/stock-adjusment'
[FEAT/BE][US#34/TASK#47,48,49,50] Implement inventory adjustment system

See merge request mbugroup/lti-api!11
2025-10-10 09:32:24 +00:00
aguhh18 cd4c908334 refactor(BE-48): clean up ProductWarehouse entity structure
- Remove JSON tags from Product, Warehouse, and CreatedUser relations
- Keep GORM tags for database functionality
- Simplify entity definition for better maintainability
2025-10-10 13:52:50 +07:00
aguhh18 81cbb230f3 fix(BE-48): improve adjustment history filtering and fix pointer conversion
- Add search parameter to adjustment history API
- Fix JOIN query logic to avoid duplicate JOINs
- Use EXISTS subquery for cleaner product/warehouse filtering
- Fix pointer conversion issue in slice iteration
- Improve query performance and code readability
2025-10-10 12:36:11 +07:00
aguhh18 91b320d489 feat(BE-47,48,49,50): implement inventory adjustment system
- Extend DB schema with product_warehouses and stock_logs tables
- Implement stock adjustment API (increase/decrease operations)
- Add comprehensive validation for all adjustment operations
- Implement audit log system for each adjustment with history tracking
- Include transaction handling, DTOs, seeders, and proper error handling
- Add adjustment history API with pagination and filtering

TODO: Integration testing pending
2025-10-10 09:24:17 +07:00
aguhh18 a0bdc7b23c feat(BE-34): extend DB schema and update master data APIs [partial]
 DB Schema: product_warehouse entity and migration
 Master Data: added filter params to getall APIs
🚧 Pending: stock_logs implementation and adjustment APIs
2025-10-09 13:33:30 +07:00
Hafizh A. Y 2d49ffe4cd Feat(BE-36,37,38,39): finish master data management api 2025-10-03 21:04:21 +07:00
Hafizh A. Y e8905be856 Feat(BE-36,37,38,39): master area, customer, kandang, location, warehouse 2025-10-02 10:51:15 +07:00
Hafizh A. Y dbc1f79a36 chore: update port so it doesn't conflict with sso 2025-09-30 16:48:05 +07:00
Hafizh A. Y 94a6d41a61 fix: adjust docker and any file for starting project 2025-09-30 14:45:54 +07:00
Hafizh A. Y c136206f2d fix: adjust from boilerplate to lti project 2025-09-25 11:08:01 +07:00
Hafizh A. Y 10506238ae initial commit 2025-09-25 10:47:28 +07:00
Adnan Zahir c43544e5e8 Delete initial README.md 2025-09-25 10:43:47 +07:00
Mitra Berlian Unggas df8f6dc488 Initial commit 2025-09-12 04:43:50 +00:00