Commit Graph

357 Commits

Author SHA1 Message Date
aguhh18 aeeb5a38c1 Feat[BE] : add avaibility DOC on lookup porject flock API, add note request json on chickin 2025-10-24 09:51:50 +07:00
aguhh18 79b3dd47b8 fix[BE]: validate query page/limit defaults and add exists helpers 2025-10-23 22:00:55 +07:00
ragilap 69ded31eb1 feat(BE): recording 2025-10-23 15:23:28 +07:00
ragilap 40665b0d8f Feat(BE-69,70,71,72,73): crud and integration sso with lti, revoke_token 2025-10-23 11:41:46 +07:00
ragilap 22e4728738 Feat(BE-69,70,71,72,73): crud and integration sso with lti, revoke_token 2025-10-23 11:37:32 +07:00
ragilap 501b6f8440 feat/login crud in users sync with sso 2025-10-23 11:36:29 +07:00
aguhh18 1b02b660b9 feat(BE-119,117]) : create seeder for chikin details and fix busines logic on delete one chickin 2025-10-23 10:05:57 +07:00
aguhh18 4c6ead4272 Feat[117]: add lookup api in project flock to get pivot id 2025-10-23 09:05:03 +07:00
aguhh18 f33eb7fcc7 feat[BE-117]: create lookup API in project flock to get projectFlocks kandang id 2025-10-23 09:03:28 +07:00
aguhh18 00837e0da2 FIX[BE}: add stock logs for transfer stock 2025-10-22 22:20:40 +07:00
ragilap 346ae15314 feat(BE): recording 2025-10-22 22:20:08 +07:00
aguhh18 1dbf3ce93e Merge branch 'development-before-sso' of https://gitlab.com/mbugroup/lti-api into dev/teguh 2025-10-22 18:36:56 +07:00
Hafizh A. Y 56b1134872 fix(BE): req body approval and fix projectflock.dto 2025-10-22 16:49:45 +07:00
aguhh18 6dd45c3289 fix[BE]: adjust chickin if product warehouse have more than one DOC product 2025-10-22 14:56:32 +07:00
aguhh18 e2818b11f0 fix[BE] delete unused entity and repository 2025-10-22 08:29:00 +07:00
Hafizh A. Y 8d0bd3724d fix(BE): preload in projectflock.service 2025-10-21 15:59:00 +07:00
ragilap 445789edfe FIX(BE): category dto do not show 2025-10-21 15:51:19 +07:00
Hafizh A. Y e4799fa2dd fix(BE): merge conflict 2025-10-21 15:11:04 +07:00
Hafizh A. Y 55b14f5fc7 feat(BE): approval_workflow, adjusment project_flocks, common, and migration 2025-10-21 14:15:53 +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
aguhh18 b1b63d266a fix[BE]: menggunakan base dto dari dto utama entity ketimbang buat simple dto baru 2025-10-21 11:48:54 +07:00
aguhh18 1afbdea4ff fix[BE]: fix logic pengambilan quatity untuk chick in dan penggunaan helper common 2025-10-21 10:20:34 +07:00
aguhh18 542e503360 fix[BE]: change dummy document path on transfer create 2025-10-21 09:01:02 +07:00
ragilap 9b2b62429c FIX[BE]: name duplicate flock,projectflock category change,menerapkan dto seperti warehouse di projectflock 2025-10-20 22:49:30 +07: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 a1f579f616 feat(BE-119,135): add seeding and API documentation
- Implement project data seeding logic
- Add API documentation using Hoppscotch
2025-10-20 12:55:19 +07:00
aguhh18 748c959dbe FIX[BE]: fix json wrong json field name 2025-10-20 11:36:38 +07:00
aguhh18 7b99b39529 feat(BE-117): implement CRUD endpoints for project 2025-10-20 11:25:42 +07:00
aguhh18 5c3787886b FIX[BE]: adjust response on proudctwarehouses 2025-10-20 08:45:31 +07:00
aguhh18 4218298234 Merge branch 'dev/ragil-before-sso' of https://gitlab.com/mbugroup/lti-api into dev/teguh 2025-10-20 06:06:22 +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
ragilap f15e0d62e3 FIX[BE]: if project flocs deleted kandangs reset to non_active and add filter get all project_flock by area,kandangs,period and location 2025-10-19 23:24:56 +07:00
aguhh18 68a670a2bd feat(BE-116): add project chick in database schema 2025-10-18 16:30:13 +07:00
aguhh18 a45c20d2ff fix(BE): improve product and warehouse existence check in adjustment service 2025-10-17 20:43:31 +07:00
aguhh18 79700420d4 fix(BE): add missing product json in transfer get all & support flag param filter in product warehouses 2025-10-17 12:04:19 +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 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
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
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