Commit Graph

1091 Commits

Author SHA1 Message Date
Hafizh A. Y. b44322e448 Merge branch 'dev/teguh' into 'feat/BE/US-35/stock-transfer'
[FEAT/BE][US#35/TASK#58,59,60,61] Complete stock transfer API, DB schema, validation, and audit log

See merge request mbugroup/lti-api!15
2025-10-16 08:38:03 +00:00
Hafizh A. Y. 3a8a1318f5 Merge branch 'dev/ragil-before-sso' into 'feat/BE/US-74/pengajuan-flock'
[FEAT/BE][US#74/TASK#107,109,110,142,112] Complete Flock API, DB schema, validation

See merge request mbugroup/lti-api!16
2025-10-16 08:37:52 +00:00
ragilap 3ec05eb76f FIX[BE]: period without autoincrement 2025-10-16 15:30:36 +07:00
aguhh18 9f26d5c784 feat(BE): add product flags to product warehouse response 2025-10-16 12:51:41 +07:00
ragilap 6c7ab8a0f8 feat/BE/US-74/pengajuan-flock 2025-10-16 10:06:18 +07:00
aguhh18 f6f62246c6 feat(BE-59,60,61): build stock transfer API with validation and audit log 2025-10-16 07:37:10 +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 4107cf19ec 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:25:50 +07:00
aguhh18 d1b377ddac feat(BE-58,59,60,61): implement stock transfer API, validation, audit log, and schema update
- Build stock transfer API with nested details, deliveries, and items
- Extend DB schema for stock transfers
- Implement validation for transfer request and stock
- Prepare/implement transfer audit log structure
- Preload all relations for complete response
- Update DTOs for nested response
- Remove redundant root fields, use relation objects
2025-10-15 11:20:32 +07:00
aguhh18 9b016dc30a (BE-58,,59): extend db schema & build stock transfer api
- Extend DB schema for stock transfers
- Build stock transfer API (create,)
2025-10-14 22:16:50 +07:00
Hafizh A. Y. 7392d8a679 Merge branch 'feat/BE/US-34/stock-adjusment' into 'development-before-sso'
feat(BE-48): auto-create product_warehouse on stock adjustment & remove unused APIs

See merge request mbugroup/lti-api!14
2025-10-14 04:18:46 +00:00
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
ragilap e239246d02 Feat(BE-69,70,71,72,73): crud and integration sso with lti, revoke_token 2025-10-08 15:25:17 +07:00
Adnan Zahir 6c387b420c Merge branch 'feat/sso-integration' into 'development'
[FEAT/BE][Storyless-task/TASK-69-verify-authentication-flows-work-correctly] Sync login and crud in lti with sso

See merge request mbugroup/lti-api!9
2025-10-06 21:09:50 +07:00
Adnan Zahir ae84c9d8cc Merge branch 'chore/CI/merge-request-notify-workflow' into 'development'
chore(CI): added [LTI API] label to webhook content

See merge request mbugroup/lti-api!8
2025-10-06 16:50:17 +07:00
ragilap 6bddbbf9d9 feat/login crud in users sync with sso 2025-10-06 12:31:54 +07:00
Adnan Zahir d04b9278d2 chore(CI): added [LTI API] label to webhook content 2025-10-03 21:59:45 +07:00
Adnan Zahir 1684d69fae Merge branch 'chore/CI/merge-request-notify-workflow' into 'development'
chore(CI): added gitlab ci yaml file for notify MR and MR-merged events

See merge request mbugroup/lti-api!7
2025-10-03 21:51:14 +07:00
Adnan Zahir 3376f538fe chore(CI): added gitlab ci yaml file for notify MR and MR-merged events 2025-10-03 21:41:54 +07:00
Adnan Zahir d6c9747c54 Merge branch 'feat/BE/US-33/master-data-management' into 'development'
[FEAT/BE][US#33/TASK#36,37,38,39] Finish Master Data Management Api

See merge request mbugroup/lti-api!6
2025-10-03 21:20:04 +07:00
Hafizh A. Y. e4646faf30 Merge branch 'dev/hafizh' into 'feat/BE/US-33/master-data-management'
[FEAT/BE][US#33/TASK#36,37,38,39] Finish Master Data Management Api

See merge request mbugroup/lti-api!5
2025-10-03 14:08:08 +00: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
Adnan Zahir fac5f382ec Merge branch 'dev/hafizh' into 'development'
chore: update port so it doesn't conflict with docker sso

See merge request mbugroup/lti-api!4
2025-09-30 16:56:01 +07:00
Hafizh A. Y dbc1f79a36 chore: update port so it doesn't conflict with sso 2025-09-30 16:48:05 +07:00
Adnan Zahir 1053b779e4 Merge branch 'dev/hafizh' into 'development'
chore: adjust docker and any file for starting project

See merge request mbugroup/lti-api!3
2025-09-30 14:54:01 +07:00
Hafizh A. Y 94a6d41a61 fix: adjust docker and any file for starting project 2025-09-30 14:45:54 +07:00
Adnan Zahir 9444ad56dc Merge branch 'dev/hafizh' into 'development'
fix: adjust from boilerplate to lti project

See merge request mbugroup/lti-api!2
2025-09-25 11:28:53 +07:00
Hafizh A. Y c136206f2d fix: adjust from boilerplate to lti project 2025-09-25 11:08:01 +07:00
Adnan Zahir 4d26e6b7b4 Merge branch 'dev/hafizh' into 'development'
initial commit

See merge request mbugroup/lti-api!1
2025-09-25 10:50:10 +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