Commit Graph

40 Commits

Author SHA1 Message Date
ragilap 0a18753dde feat/BE/US-278/TASK-288,289-adjust schema database,Create trigger in expense module, add filter in warehouse linked to project flock 2025-12-08 01:23:21 +07:00
ragilap dbeb0b62cb Merge branch 'development' of https://gitlab.com/mbugroup/lti-api into dev/ragil 2025-11-26 11:14:08 +07:00
ragilap c02f72c5e5 fix: next period,purchase before bop, integration auth module,fix validation-master data 2025-11-25 10:32:15 +07:00
aguhh18 af147f4f2b Merge branch 'feat/BE/Sprint-5' of https://gitlab.com/mbugroup/lti-api into dev/teguh 2025-11-21 10:46:50 +07:00
Hafizh A. Y 53b226f243 fix(BE): adjust dto and project flock, master data, and marketing 2025-11-21 09:53:33 +07:00
Hafizh A. Y 228aedc215 fix(BE-273): add object nonstock and supplier in response get one and fix name base to relation in dto 2025-11-20 14:59:50 +07:00
Hafizh A. Y. 3080a6f8ef Merge branch 'feat/BE/Sprint-5' into 'feat/BE/US-159,160/marketing'
# Conflicts:
#   internal/modules/production/project_flocks/controllers/projectflock.controller.go
#   internal/modules/production/project_flocks/dto/projectflock.dto.go
#   internal/modules/production/project_flocks/route.go
#   internal/modules/production/transfer_layings/dto/transfer_laying.dto.go
2025-11-20 02:16:12 +00:00
aguhh18 105b20c333 Feat[BE-261,265]: createing BOP and BOP realization(Unfinished) 2025-11-19 16:05:11 +07:00
ragilap c2b60c1aff feat(BE-#270): Project flock period change to project_flock_kandangs 2025-11-18 12:26:54 +07:00
aguhh18 28c81aac25 Merge branch 'dev/ragil-before-sso' of https://gitlab.com/mbugroup/lti-api into dev/teguh 2025-11-18 08:23:13 +07:00
ragilap 69469edb62 PR 2025-11-17 14:48:39 +07:00
aguhh18 d528096d56 Merge branch 'development' of https://gitlab.com/mbugroup/lti-api into dev/teguh 2025-11-17 13:52:13 +07:00
ragilap 11f2389ec5 feat(BE-229,234,235,230,231,232,233): purchase request and purchase order and fix master data dto 2025-11-17 09:39:30 +07:00
Hafizh A. Y 17d3042586 fix(BE): kandang capacity and fix err response 2025-11-14 16:43:01 +07:00
aguhh18 fd0943dfaf feat[BE-222]: create migration create template for SO API and kandang id param on product warehouse 2025-11-10 14:49:46 +07:00
ragilap 8f74391f1e unfinished purchase 2025-11-05 18:58:06 +07:00
aguhh18 b234778634 Merge branch 'development-before-sso' of https://gitlab.com/mbugroup/lti-api into dev/teguh 2025-11-05 14:03:45 +07:00
aguhh18 1ee97b91a5 feat[BE-127]: Createing transfer laying create one, approvals, get one, get all, update, delete, but Still unfinished 2025-11-05 08:56:18 +07:00
ragilap 50119ac538 Merge branch 'development-before-sso' of https://gitlab.com/mbugroup/lti-api into refactor-to-serve/with-middleware 2025-11-03 16:57:10 +07:00
ragilap f869943573 feat/BE/US-76/US-78/US-79/TASK-112,120,133,121-Recording growing/TASK-187,189,202,190-Recording Laying/TASK-191,192,194,197,203-Grading Telur 2025-10-31 16:03:05 +07:00
ragilap 614da067f7 merge: ragil-before-sso from development-before-sso 2025-10-28 12:22:08 +07:00
ragilap d4a0d5c68b feat/BE/US-76/TASK-122,133,121,120 Recording add create delete edit 2025-10-28 09:57:44 +07:00
ragilap 8ae614540f feat/BE/US-76/TASK-122,133,121,120 Recording add create delete edit 2025-10-26 15:27:19 +07:00
aguhh18 79b3dd47b8 fix[BE]: validate query page/limit defaults and add exists helpers 2025-10-23 22:00:55 +07:00
Hafizh A. Y e4799fa2dd fix(BE): merge conflict 2025-10-21 15:11:04 +07:00
Hafizh A. Y. 13c04460f0 Merge branch 'feat/BE/US-75/chick-in-doc' into 'development-before-sso'
fix(BE): add missing product json in transfer get all & support flag param...

See merge request mbugroup/lti-api!25
2025-10-21 06:54:59 +00:00
ragilap ee033b8fe6 FIX[BE]: name duplicate flock,projectflock category change,menerapkan dto seperti warehouse di projectflock 2025-10-20 16:39:16 +07:00
aguhh18 83c3e61113 feat(BE-115,116,117): implement chickin CRUD, approve logic, and stock availabilit 2025-10-20 06:01:16 +07:00
Hafizh A. Y. c9b4b3008e Merge branch 'feat/BE/US-35/stock-transfer' into 'development-before-sso'
(BE-58,,59): extend db schema & build stock transfer api

See merge request mbugroup/lti-api!19
2025-10-17 03:35:43 +00:00
ragilap 8c0790627a FIX[BE]: period and adjustment helper to function 2025-10-16 16:44:26 +07:00
ragilap 62a1011a4b FIX[BE]: period and adjustment helper to function 2025-10-16 16:35:01 +07:00
ragilap 6c7ab8a0f8 feat/BE/US-74/pengajuan-flock 2025-10-16 10:06:18 +07:00
aguhh18 0ffb8a44f2 feat(BE-59,60,61): build stock transfer API with validation and audit log
- Implement CreateOne for stock transfer with multi-delivery and validation
- Preload warehouse, location, and area relations in transfer response
- Add audit log for transfer
- Improve transaction handling and error management
2025-10-15 22:26:06 +07: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 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