Commit Graph

887 Commits

Author SHA1 Message Date
Adnan Zahir 3768892a17 fix: resolve dashboard OpenAPI integration issues
- FCRs & Transfer to Laying: add ExampleResponse field to routeMeta and
  inject example payloads into OpenAPI 200 responses for list and detail
  endpoints so dashboard consumers have concrete response shapes to work with

- Chick In: enable GET /api/production/chickins/ list endpoint (was
  commented out); add P_ChickinsGetAll permission constant and wire it
  into the route; add OpenAPI spec entry with query params and example

- Recording GET all: fix N+1 query bottleneck (2-3s response time) by
  pre-fetching approved transfer maps per PFK ID in two batch queries
  before the per-recording loop; add evaluatePopulationMutationStateFromCaches
  that uses the pre-fetched maps and caches hasAnyRecordingOnTransferTargets
  results by transfer ID — reducing per-page query count from ~20-40 to ~10-12

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-02 10:57:45 +07:00
giovanni b219bf829f add search nominal keuangan 2026-04-30 15:54:56 +07:00
giovanni 0d2cdef10f adjust empty kandang daily checklist 2026-04-30 11:15:11 +07:00
Adnan Zahir 128c8e0d08 Merge branch 'feat/toggle-negative-usgae' into 'development'
fix: hide legace unflagged products to be consistent with the validation

See merge request mbugroup/lti-api!493
2026-04-29 12:18:56 +07:00
Adnan Zahir cf4e723f64 fix: hide legace unflagged products to be consistent with the validation 2026-04-29 11:55:35 +07:00
giovanni 16ac54ff39 add export excel and pdf report penjualan 2026-04-29 11:52:03 +07:00
giovanni 76ac1d1671 adjust periode at create project flock 2026-04-28 16:00:35 +07:00
Adnan Zahir e4d4bd9483 fix: flock label on farm-level products 2026-04-28 13:47:16 +07:00
Adnan Zahir 9513da2a7c fix: missing useAuth 2026-04-28 12:07:36 +07:00
Adnan Zahir 795f201a0b fix: getAll and update response 2026-04-28 11:52:32 +07:00
Adnan Zahir 6f6541d4c1 feat: konfigurasi sistem toggle pemakaian pakan ovk negatif 2026-04-28 10:51:54 +07:00
Giovanni Gabriel Septriadi 1d6e1fa5be Merge branch 'feat/limit' into 'development'
[FEAT][BE]: get field type to response detail recording

See merge request mbugroup/lti-api!484
2026-04-27 06:39:02 +00:00
giovanni aadd87852b get field type to response detail recording 2026-04-27 13:38:13 +07:00
Giovanni Gabriel Septriadi ac69ae054a Merge branch 'feat/limit' into 'development'
[FEAT][BE]: adjust validation limit max 100

See merge request mbugroup/lti-api!483
2026-04-27 04:55:21 +00:00
giovanni 7cc5c39092 adjust validation limit max 100 2026-04-27 11:54:29 +07:00
giovanni d7a2a5a2ed adjust suffix flock name with max periode 2026-04-27 11:24:21 +07:00
giovanni 9726303eeb add feature edit periode project flock 2026-04-27 10:54:02 +07:00
Adnan Zahir eefc9850e1 feat: editable po_date 2026-04-25 22:47:52 +07:00
Adnan Zahir 732ebd423d feat: input po_date manual 2026-04-25 22:36:13 +07:00
Adnan Zahir 27d076b817 feat: expose received_date in laporan pembelian 2026-04-25 22:24:28 +07:00
Adnan Zahir f6b37926e9 feat: add flag ayam for chickin 2026-04-25 14:02:22 +07:00
Adnan Zahir e79fde2408 feat: add more filters 2026-04-25 12:15:55 +07:00
Giovanni Gabriel Septriadi e45ebca5a4 Merge branch 'feat/excel-po-mrk' into 'development'
[FIX][BE]: adjust validation create daily checklist empty kandang

See merge request mbugroup/lti-api!445
2026-04-23 07:26:22 +00:00
giovanni eacc460f67 adjust validation create daily checklist empty kandang 2026-04-23 14:24:13 +07:00
Giovanni Gabriel Septriadi d2ab1c7ea5 Merge branch 'feat/excel-po-mrk' into 'development'
[FIX][BE]: add kolom lokasi to export

See merge request mbugroup/lti-api!444
2026-04-23 06:50:42 +00:00
giovanni 151edf578e add kolom lokasi to export 2026-04-23 13:49:51 +07:00
Adnan Zahir e065e1fb25 Merge branch 'codex/filter-improvement' into 'development'
feat: filter improvement

See merge request mbugroup/lti-api!442
2026-04-23 00:19:08 +07:00
Adnan Zahir e24e2ff123 feat: filter improvement 2026-04-23 00:17:24 +07:00
Giovanni Gabriel Septriadi 266f683db1 Merge branch 'feat/excel-po-mrk' into 'development'
[FEAT][BE]: add export excel all expenses

See merge request mbugroup/lti-api!441
2026-04-22 16:30:16 +00:00
giovanni c744043321 add export excel all expenses 2026-04-22 23:29:05 +07:00
Giovanni Gabriel Septriadi 4673c7ad33 Merge branch 'feat/excel-po-mrk' into 'development'
[FEAT][BE]: add export excel from api Expense

See merge request mbugroup/lti-api!440
2026-04-22 15:51:19 +00:00
giovanni 3e99caf3a7 add export excel from api 2026-04-22 22:50:20 +07:00
Giovanni Gabriel Septriadi a15fd1b174 Merge branch 'fix/sapronak-cal' into 'development'
[FIX][BE]: fix perhitunga sapronak

See merge request mbugroup/lti-api!439
2026-04-22 12:36:16 +00:00
giovanni ff630a1ed0 add export po and marketing 2026-04-22 19:22:29 +07:00
giovanni 91d51bf1b8 adjust softdelete daily checklist; add empty kandang 2026-04-22 16:24:31 +07:00
Giovanni Gabriel Septriadi 2a141a96d1 Merge branch 'codex/recording' into 'development'
Codex/recording

See merge request mbugroup/lti-api!435
2026-04-22 05:58:42 +00:00
giovanni f51fa0a16c adjust repo hpp v2 2026-04-22 12:57:41 +07:00
Adnan Zahir 9b9f5e257e Merge branch 'codex/bulk-approve-marketings-expenses' into 'development'
fix: DTO mismatch marketings

See merge request mbugroup/lti-api!434
2026-04-22 11:49:44 +07:00
Adnan Zahir adabd43f38 fix: DTO mismatch marketings 2026-04-22 11:41:27 +07:00
Adnan Zahir 640b6b382b Merge branch 'codex/bulk-approve-marketings-expenses' into 'development'
fix: DTO adjustment for bulk approve

See merge request mbugroup/lti-api!433
2026-04-22 10:11:56 +07:00
Adnan Zahir c8ea370e4b fix: DTO adjustment for bulk approve 2026-04-22 09:58:54 +07:00
giovanni fec7bb5825 adjust 2026-04-22 01:44:37 +07:00
giovanni 091f706276 init adjustment recording 2026-04-21 22:43:18 +07:00
Adnan Zahir e91c45ee50 fix: internal server error because of date parsing 2026-04-21 21:41:54 +07:00
Adnan Zahir 5e7c51e9c2 feat: export input progress report for expenses, marketings, purchases, and recordings 2026-04-21 21:24:19 +07:00
Adnan Zahir 0d04397bd5 feat: bulk approve endpoint for marketings and expenses 2026-04-21 20:06:37 +07:00
giovanni ded8be198a fix perhitunga sapronak 2026-04-21 19:30:03 +07:00
giovanni c5bb0ef577 adjust bulk update daily checklist 2026-04-21 13:47:20 +07:00
giovanni 916f1980e9 add api bulk update status daily checklist; change hpp real to estimate 2026-04-20 16:08:43 +07:00
giovanni e679193f18 fix 2026-04-20 10:09:40 +07:00