Compare commits

...

2282 Commits

Author SHA1 Message Date
randy-ar 359cdb2534 fix(FE): adding margin on data state skeleton 2026-01-30 11:24:42 +07:00
randy-ar 8a64780135 fix(FE): adding margin on data state skeleton 2026-01-30 11:20:47 +07:00
randy-ar 3b7836c8ba Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into fix/debt-supplier 2026-01-30 11:03:04 +07:00
randy-ar ba1d462a0a fix(FE): adding skeleton state data on null or unfiltered 2026-01-30 11:02:18 +07:00
Adnan Zahir 352688054e Merge branch 'fix/adjustment-uniformity-ui' into 'development'
[FIX/FE] Pixel Perfect Uniformity UI

See merge request mbugroup/lti-web-client!279
2026-01-30 10:44:22 +07:00
rstubryan 06c4631ca5 refactor(FE): Refactor filter modal into form and adjust UI 2026-01-30 10:37:11 +07:00
rstubryan 2b6676b4eb Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into fix/adjustment-uniformity-ui 2026-01-30 10:17:13 +07:00
rstubryan 14c208f494 refactor(FE): Add border class to UniformityChart cards 2026-01-30 10:15:07 +07:00
rstubryan 27ab373ebb refactor(FE): Add subtle border to UniformityChart cards 2026-01-30 10:14:13 +07:00
Rivaldi A N S ab4e9fbd39 Merge branch 'fix/refresh-session-issue' into 'development'
[FIX/FE] Refresh Session Issue

See merge request mbugroup/lti-web-client!281
2026-01-30 03:08:55 +00:00
ValdiANS dd586f07d2 fix: only refresh session when user data is available 2026-01-30 10:03:03 +07:00
rstubryan 9d70f94b33 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into fix/adjustment-uniformity-ui 2026-01-30 09:58:34 +07:00
rstubryan 5ebeeeedb3 refactor(FE): Make UniformityBarChartSkeleton more responsive 2026-01-30 09:56:30 +07:00
rstubryan a9ff4579b0 refactor(FE): Adjust 2xl grid layout in UniformityChart 2026-01-30 09:46:10 +07:00
rstubryan a1fe08fdeb refactor(FE): Use text-base for UniformityChart headings 2026-01-30 09:38:38 +07:00
rstubryan fc81fa9ad3 refactor(FE): Fix bg class syntax in uniformity skeletons 2026-01-30 09:22:52 +07:00
randy-ar e980320d00 fix(FE): fixing report finance filter ui 2026-01-29 20:59:16 +07:00
randy-ar 5509f52464 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into fix/debt-supplier 2026-01-29 20:19:25 +07:00
randy-ar 0ed6c246b1 fix(FE): fix badge and table pdf 2026-01-29 20:18:42 +07:00
randy-ar c7818cefbb fix(FE): adjust ui debt supplier pixel perfect figma 2026-01-29 18:24:43 +07:00
Rivaldi A N S b004877584 Merge branch 'fix/adjustment-transfer-stock-form' into 'development'
[HOTFIX/FE] Require Delivery Fields if Supplier Chosen

See merge request mbugroup/lti-web-client!280
2026-01-29 10:30:29 +00:00
rstubryan a51a020dfa refactor(FE): Replace Button with static icon tiles in skeletons 2026-01-29 17:07:56 +07:00
rstubryan a3670271de Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into fix/adjustment-uniformity-ui 2026-01-29 16:54:09 +07:00
rstubryan adaac46236 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into fix/adjustment-transfer-stock-form 2026-01-29 16:53:47 +07:00
Rivaldi A N S 49e843f3b2 Merge branch 'fix/dashboard' into 'development'
[FIX/FE] Fixing UI Dashboard

See merge request mbugroup/lti-web-client!277
2026-01-29 09:38:30 +00:00
randy-ar b9ed7df063 fix(FE): fixing rounded value 2026-01-29 16:33:02 +07:00
rstubryan 60d5551dff fix(FE): Require delivery fields if supplier chosen 2026-01-29 16:17:57 +07:00
rstubryan db33247d6c refactor(FE): Use English copy for bulk reject modal 2026-01-29 15:41:05 +07:00
rstubryan aab8e0c5ce refactor(FE): Remove unused imports and accessorKey props 2026-01-29 15:37:53 +07:00
rstubryan 6c6634fa1d refactor(FE): Rename column header 'No' to 'Number' 2026-01-29 15:35:32 +07:00
rstubryan e93a9c8011 refactor(FE): Add divider above Next button in UniformityForm 2026-01-29 15:33:00 +07:00
rstubryan b8031448ff refactor(FE): Adjust checkbox alignment and column padding 2026-01-29 15:24:30 +07:00
randy-ar c63df91e08 fix(FE): fixing rounded value 2026-01-29 15:10:18 +07:00
rstubryan 0e43957e6e refactor(FE): Replace Badge with StatusBadge in uniformity views 2026-01-29 14:58:09 +07:00
rstubryan dada6a542f refactor(FE): Add badge color helpers for status and weight 2026-01-29 14:57:25 +07:00
randy-ar b305d43ce6 fix(FE): fixing classname using dynamic value 2026-01-29 14:56:52 +07:00
randy-ar 8d5b195691 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into fix/dashboard 2026-01-29 14:51:40 +07:00
randy-ar 6c2baca807 fix(FE): fixing classname using dynamic value 2026-01-29 14:50:16 +07:00
rstubryan d9a1d340bb refactor(FE): Reduce vertical spacing in Uniformity components 2026-01-29 14:32:52 +07:00
rstubryan 8511a75842 refactor(FE): Refactor uniformity drawer styles and layout 2026-01-29 14:24:58 +07:00
rstubryan 4452b6fd03 refactor(FE): Add spacing to UniformityTableSkeleton 2026-01-29 14:10:36 +07:00
rstubryan 1ed83351e0 refacto(FE): Refine UniformityTableSkeleton styles and icon 2026-01-29 14:09:38 +07:00
rstubryan 9817864c3d refactor(FE): Reduce UniformityBarChartSkeleton min height 2026-01-29 14:04:35 +07:00
rstubryan 564d6d0da1 refactor(FE): Add wrapperContent and refactor uniformity charts 2026-01-29 13:58:42 +07:00
rstubryan 2c8160f816 refactor(FE): Add padding to UniformityChart card bodies 2026-01-29 12:00:10 +07:00
rstubryan 23402370b8 refactor(FE): Add rounded corners to uniformity components 2026-01-29 11:57:44 +07:00
rstubryan e3d929435a refactor(FE): Refine empty-state styling in uniformity skeletons 2026-01-29 11:53:06 +07:00
rstubryan ef3797e724 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into fix/adjustment-uniformity-ui 2026-01-29 11:31:33 +07:00
Rivaldi A N S cddb1422f6 Merge branch 'fix/adjustment-transfer-stock-form' into 'development'
[FIX/FE] Adjustment Transfer Stock Form and Adjustment Select Option

See merge request mbugroup/lti-web-client!278
2026-01-29 04:30:47 +00:00
rstubryan f28aeda74c refactor(FE): Move Error List Alert below form fields 2026-01-29 11:29:19 +07:00
rstubryan 75dfd96934 refactor(FE): Replace Badge with simple span and rename adornment prop 2026-01-29 11:09:30 +07:00
rstubryan 079d69dffb refactor(FE): Simplify SelectInput control styling 2026-01-29 11:05:06 +07:00
rstubryan 711536975c refactor(FE): Apply innerProps and className to CustomControl 2026-01-29 10:58:49 +07:00
rstubryan 97bf785fe9 refactor(FE): Support inputPrefix/inputSuffix on SelectInput 2026-01-29 10:27:47 +07:00
ValdiANS dce913815e chore: adjust styling in Dashboard related components 2026-01-29 10:23:58 +07:00
rstubryan 737d8e943c refactor(FE): Make delivery fields nullable and optional 2026-01-29 09:48:43 +07:00
rstubryan 0bdf27de2c refactor(FE): Make delivery fields optional in movement types 2026-01-29 09:47:30 +07:00
randy-ar 9cff99cba9 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into fix/dashboard 2026-01-28 17:56:35 +07:00
randy-ar 46cfc2539e fix(FE): remove unused import 2026-01-28 17:55:57 +07:00
randy-ar 34f93f8dcc fix(FE): refactor UI Dashboard pixel perfect figma 2026-01-28 17:54:55 +07:00
rstubryan 1a800a1157 refactor(FE): Refine drawer header and uniformity form styles 2026-01-28 16:14:26 +07:00
rstubryan 3c96855b86 refactor(FE): Replace Card with section in UniformityTable 2026-01-28 15:59:18 +07:00
rstubryan 607bf28121 refactor(FE): Refactor Uniformity header and add filter badge 2026-01-28 15:10:36 +07:00
rstubryan d8361be28f refactor(FE): Replace UniformityTable with Uniformity page 2026-01-28 14:45:48 +07:00
Rivaldi A N S 031d51947a Merge branch 'fix/error-list-position' into 'development'
[FIX/FE] Adjust Error List Position to Bottom

See merge request mbugroup/lti-web-client!276
2026-01-28 07:27:41 +00:00
rstubryan 554037bfe5 refactor(FE): Move expense form error alerts below fields 2026-01-28 14:20:41 +07:00
rstubryan 9f93200bd5 refactor(FE): Move form error alerts to bottom of forms 2026-01-28 14:14:44 +07:00
Rivaldi A N S 70fcbf795b Merge branch 'dev/hotfix/restu' into 'development'
[FIX/FE] Refactor Prefix and Suffix Size Based on Latest Field Input

See merge request mbugroup/lti-web-client!275
2026-01-28 06:59:03 +00:00
rstubryan 406befc21b refactor(FE): Refine input component styles and error UI 2026-01-28 13:43:46 +07:00
Rivaldi A N S 558f219e8b Merge branch 'dev/hotfix/restu' into 'development'
[HOTFIX/FE] Fix Edit Realization Restriction Issue Based on Approval Line

See merge request mbugroup/lti-web-client!273
2026-01-28 06:07:37 +00:00
rstubryan 8671f37ada refactor(FE): Treat kandang_id as optional and use expense id 2026-01-28 12:19:36 +07:00
rstubryan 15dc04bb95 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/hotfix/restu 2026-01-28 11:58:13 +07:00
Rivaldi A N S f801378ad2 Merge branch 'fix/daily-checklist' into 'development'
[FIX/FE] Daily Checklist

See merge request mbugroup/lti-web-client!272
2026-01-28 04:52:44 +00:00
rstubryan 73e8697097 refactor(FE): Allow editing at approval steps 5 and 6 2026-01-28 11:51:07 +07:00
ValdiANS b3f6f36c00 fix: reset employee when changing phase 2026-01-28 11:50:55 +07:00
Rivaldi A N S b9c4f44e3f Merge branch 'feat/create-pdf-component' into 'development'
[FEAT/FE] Create PDF Table Component

See merge request mbugroup/lti-web-client!270
2026-01-28 04:39:33 +00:00
rstubryan 5a7b750203 chore(FE): Remove PdfContainer component 2026-01-28 11:24:22 +07:00
rstubryan bb30b6cb21 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/create-pdf-component 2026-01-28 11:22:59 +07:00
rstubryan 0cc857378f refactor(FE): Add icons to PurchasesPerSupplierTab controls 2026-01-28 11:18:51 +07:00
rstubryan e68e5a6d51 refactor(FE): Refine Purchases per Supplier styles and page size 2026-01-28 11:10:37 +07:00
rstubryan c20b1c5942 refactor(FE): Refactor PDF exports to use PdfTable 2026-01-28 11:04:06 +07:00
rstubryan 0a5efbe383 refactor(FE): Omit right border for last PDF table column 2026-01-28 11:03:17 +07:00
Rivaldi A N S 2e769b234d Merge branch 'fix/transfer-to-laying' into 'development'
[FIX/FE] Transfer to Laying

See merge request mbugroup/lti-web-client!269
2026-01-28 03:30:50 +00:00
ValdiANS f87736154a fix: only fetch initial value if the modal action is action for form 2026-01-28 10:29:15 +07:00
rstubryan ca0d379c2c refactor(FE): Rename initialBalanceRow to firstRow 2026-01-28 10:00:01 +07:00
Rivaldi A N S 87492876e5 Merge branch 'fix/daily-checklist' into 'development'
[FIX/FE] Daily Checklist

See merge request mbugroup/lti-web-client!267
2026-01-28 02:56:58 +00:00
rstubryan 3d8d0d9e4d feat(FE): Add PDF table index exports 2026-01-28 09:50:13 +07:00
rstubryan 956f1ce500 refactor(FE): Refactor PdfTable to use PdfThead/PdfTbody/PdfTfoot 2026-01-28 09:49:26 +07:00
ValdiANS a11b648bf9 Merge branch 'development' into fix/daily-checklist 2026-01-28 09:42:16 +07:00
ValdiANS 31581e963f fix: set empty daily checklist phase if phase is not selected 2026-01-28 09:39:32 +07:00
rstubryan c63882fbd7 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/create-pdf-component 2026-01-28 09:14:49 +07:00
Rivaldi A N S ab84f59929 Merge branch 'fix/transfer-to-laying' into 'development'
[FIX/FE] Transfer to Laying

See merge request mbugroup/lti-web-client!266
2026-01-27 12:00:09 +00:00
ValdiANS 5fe0236686 feat: implement export to excel 2026-01-27 18:58:47 +07:00
ValdiANS 8f6597e7df feat: add exportToExcel method 2026-01-27 18:58:03 +07:00
Rivaldi A N S c4f4775a48 Merge branch 'fix/transfer-to-laying' into 'development'
[FIX/FE] Transfer to Laying

See merge request mbugroup/lti-web-client!265
2026-01-27 11:21:43 +00:00
ValdiANS 81e5a180ba feat: create ProjectFlockMaxQuantity type 2026-01-27 18:18:15 +07:00
ValdiANS 1d65cf0d08 feat: create getMaxTargetQty and getMappedFlockKandangsMaxTargetQty method 2026-01-27 18:18:06 +07:00
ValdiANS 4ef5ee7142 fix: get real max quantity in target project flock kandang 2026-01-27 18:17:50 +07:00
ValdiANS 19a90c9045 feat: add search input 2026-01-27 18:17:34 +07:00
ValdiANS fcbb34624d fix: get real max quantity in target project flock kandang 2026-01-27 18:17:13 +07:00
ValdiANS 68ccb66e5c chore: update TextInput styling 2026-01-27 18:16:41 +07:00
ValdiANS a094eb94a5 chore: render see more button conditionally 2026-01-27 18:16:34 +07:00
rstubryan 4db2bc187a Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/create-pdf-component 2026-01-27 18:15:31 +07:00
Rivaldi A N S e8ff69b43f Merge branch 'fix/transfer-to-laying' into 'development'
[FIX/FE] Transfer to Laying

See merge request mbugroup/lti-web-client!264
2026-01-27 10:06:20 +00:00
ValdiANS b03a47ddc6 refactor: delete unnecessary page and component 2026-01-27 17:03:06 +07:00
Rivaldi A N S 62a78b8619 Merge branch 'dev/hotfix/restu' into 'development'
[FIX/FE] Change Required Field to Optional on Delivery Supplier Field (Transfer Stock)

See merge request mbugroup/lti-web-client!263
2026-01-27 10:02:42 +00:00
ValdiANS 7f43ef6c56 chore: adjust Approvals type 2026-01-27 16:59:32 +07:00
ValdiANS 51ad37cc48 feat: add getApprovalLineHistory method 2026-01-27 16:59:19 +07:00
ValdiANS 9a00d4b98e refactor: adjust APPROVAL_WORKFLOWS structure 2026-01-27 16:59:10 +07:00
ValdiANS 6528899aaf chore: adjust maxTotalQuantity error message 2026-01-27 16:58:48 +07:00
ValdiANS f94c8ba799 chore: adjust detail link and add transfer_number column 2026-01-27 16:58:37 +07:00
ValdiANS df4b513739 chore: add required mark 2026-01-27 16:58:15 +07:00
ValdiANS 50477d0850 feat: create TransferToLayingDetailModal component 2026-01-27 16:57:46 +07:00
ValdiANS 79f0e2b7b7 chore: add loading state for table 2026-01-27 16:57:35 +07:00
ValdiANS 63c3818766 chore: update TextInput styling 2026-01-27 16:57:18 +07:00
ValdiANS f6a360ee2b chore: update TextArea styling 2026-01-27 16:57:05 +07:00
ValdiANS aa39478318 feat: create ApprovalStepsV2 component 2026-01-27 16:56:57 +07:00
ValdiANS 02fbd677fc chore: add readOnly prop and adjust SelectInput styling 2026-01-27 16:54:44 +07:00
ValdiANS 98608576b9 chore: adjust DateInput styling 2026-01-27 16:53:17 +07:00
ValdiANS 80d9dd689a feat: add TransferToLayingDetailModal component in Transfer to Laying page 2026-01-27 16:53:04 +07:00
ValdiANS 0d1907f729 chore: update base content and warning color 2026-01-27 16:52:46 +07:00
rstubryan 3aab90d3d6 refactor(FE): Remove min validation on supplier_id 2026-01-27 16:27:09 +07:00
rstubryan 6f96f20b49 refactor(FE): Format PdfTfoot props and inline Text 2026-01-27 16:24:43 +07:00
rstubryan 142ce7fe3a feat(FE): Add PDF table components for report export 2026-01-27 16:23:29 +07:00
Rivaldi A N S b7085f5d2a Merge branch 'fix/adjustment-transfer-stock' into 'development'
[FIX/FE] Adjustment Transfer Stock's Issues and Purchase Table

See merge request mbugroup/lti-web-client!262
2026-01-27 06:44:36 +00:00
rstubryan 628facb23d Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2026-01-27 13:23:51 +07:00
rstubryan 27c112e479 refactor(FE): Use index-only keys for product/delivery rows 2026-01-27 12:01:53 +07:00
Rivaldi A N S b19340536a Merge branch 'fix/daily-checklist' into 'development'
[FIX/FE] Daily Checklist

See merge request mbugroup/lti-web-client!260
2026-01-26 15:30:22 +00:00
ValdiANS 163d225dba fix: set limit to 100 when fetching phase activities 2026-01-26 22:28:49 +07:00
Rivaldi A N S f07db1be7a Merge branch 'fix/transfer-to-laying' into 'development'
[FIX/FE] Transfer to Laying

See merge request mbugroup/lti-web-client!259
2026-01-26 15:23:25 +00:00
ValdiANS 4323040bd3 feat: use TransferToLayingConfirmationModal and remove unnecessary code 2026-01-26 22:21:11 +07:00
ValdiANS 97a753133e chore: adjust secondayButton onClick 2026-01-26 22:20:19 +07:00
ValdiANS 273810804d chore: adjust secondayButton onClick 2026-01-26 22:20:03 +07:00
ValdiANS 2be417ac0a chore: set error in input and use TransferToLayingConfirmationModal component 2026-01-26 21:23:55 +07:00
ValdiANS f98e9d6930 feat: create TransferToLayingConfirmationModal component 2026-01-26 21:22:57 +07:00
rstubryan 4c336f81c7 refactor(FE): Allow supplier to be optional in movement form 2026-01-26 21:21:40 +07:00
ValdiANS 1389cb7ed6 chore: render button only if primary or secondary button is used 2026-01-26 20:57:50 +07:00
ValdiANS a7958166bf chore: change circle success color 2026-01-26 20:57:27 +07:00
ValdiANS 34f01abb32 chore: add new props (withPagination, getRowCanExpand, renderSubComponent, expanded, and getSubRows) 2026-01-26 20:57:05 +07:00
ValdiANS 66c537ec10 chore: change loading text to loading spinner 2026-01-26 20:56:12 +07:00
rstubryan 2847f50bf7 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2026-01-26 17:32:49 +07:00
rstubryan 7b4d69b0b0 refactor(FE): Clarify duplicate recording error message 2026-01-26 16:48:16 +07:00
Rivaldi A N S 37ab614a97 Merge branch 'fix/finance' into 'development'
[FIX/FE] Adding Select Input Injection Type for Negative or Positive Value

See merge request mbugroup/lti-web-client!257
2026-01-26 09:16:38 +00:00
randy-ar 7c73e8e5c6 fix(FE): fixing negative value in index table 2026-01-26 16:13:43 +07:00
randy-ar 85f4a5deaa fix(FE): adding select injection type for positive and negative value 2026-01-26 16:08:23 +07:00
rstubryan 4011d26193 refactor(FE): Make approval and action buttons responsive 2026-01-26 13:45:32 +07:00
rstubryan afb0c40fd2 refactor(FE): Add Status Approval column to PurchaseTable 2026-01-26 13:37:06 +07:00
rstubryan 2a03eae8a2 refactor(FE): Remove section padding on small+ screens 2026-01-26 13:35:45 +07:00
rstubryan e9238e2bb5 feat(FE): Persist search in UI store and reset on exit 2026-01-26 11:45:57 +07:00
Rivaldi A N S 40eaa729ef Merge branch 'fix/adjustment-recording-and-uniformity' into 'development'
[FIX/FE] Adjustment Recording, Uniformity and Transfer Stock

See merge request mbugroup/lti-web-client!256
2026-01-26 04:09:42 +00:00
rstubryan 47e51e0105 refactor(FE): Remove redundant input bg class from TextInputs 2026-01-26 09:51:37 +07:00
rstubryan 56326cc8d2 refactor(FE): Disable product select until kandang chosen 2026-01-26 09:41:50 +07:00
rstubryan 860a2d988e Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/hotfix/restu 2026-01-26 09:26:34 +07:00
Rivaldi A N S 79701fbcfe Merge branch 'hotfix/finance' into 'development'
[HOTFIX/FE] Fixing Injection Balance Negative value

See merge request mbugroup/lti-web-client!255
2026-01-26 01:44:07 +00:00
rstubryan 8b1e43cdb9 refactor(FE): Set week using chick_in_date and earliest record 2026-01-25 18:00:53 +07:00
rstubryan 4768a7d6fd Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/hotfix/restu 2026-01-25 17:46:05 +07:00
randy-ar caba77d871 fix(FE): fixing bank undefined in detail page 2026-01-25 14:11:47 +07:00
randy-ar 37c0c1cf42 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into hotfix/finance 2026-01-24 14:53:57 +07:00
randy-ar 1d06c6f02a fix(FE): fixing injection payload negative not send properly 2026-01-24 14:52:54 +07:00
Rivaldi A N S ae206b9426 Merge branch 'fix/transfer-to-laying' into 'development'
[FIX/FE] Transfer to Laying

See merge request mbugroup/lti-web-client!252
2026-01-24 07:03:07 +00:00
ValdiANS d3d3859021 fix: set different key in useSWR for getting flockSourceKandangsAvailability 2026-01-24 14:01:39 +07:00
Rivaldi A N S 447ef81871 Merge branch 'fix/transfer-to-laying' into 'development'
[FIX/FE] Transfer to Laying

See merge request mbugroup/lti-web-client!251
2026-01-24 06:35:57 +00:00
ValdiANS 2507f733fb chore: fetch flock source kandang available qty in TransferToLayingFormModal 2026-01-24 13:35:09 +07:00
rstubryan 2d6e8480f5 refactor(FE): Show detailed stock usage and remove limit check 2026-01-24 13:27:17 +07:00
Rivaldi A N S 9d0fdb346d Merge branch 'fix/transfer-to-laying' into 'development'
[FIX/FE] Transfer to Laying

See merge request mbugroup/lti-web-client!250
2026-01-24 06:11:43 +00:00
ValdiANS 08f3372b46 chore: access available_qty optionally 2026-01-24 13:10:51 +07:00
rstubryan 6307cdc0dc refactor(FE): Send selected record date to next-day API 2026-01-24 12:53:54 +07:00
rstubryan 52213fc8c4 refactor(FE): Add optional location and flock ids 2026-01-24 12:51:01 +07:00
Rivaldi A N S 826e83b025 Merge branch 'fix/transfer-to-laying' into 'development'
[FIX/FE] Transfer to Laying

See merge request mbugroup/lti-web-client!247
2026-01-24 05:50:00 +00:00
ValdiANS c300bdcb0f fix: adjust wording 2026-01-24 12:49:16 +07:00
Rivaldi A N S 84a7b0e50f Merge branch 'fix/transfer-to-laying' into 'development'
[FIX/FE] Transfer to Laying

See merge request mbugroup/lti-web-client!246
2026-01-24 05:47:12 +00:00
ValdiANS 839bf4daac fix: get flock source data if ID exist in query 2026-01-24 12:45:38 +07:00
ValdiANS 38955b96de chore: show Bank name conditionally 2026-01-24 12:29:23 +07:00
Rivaldi A N S 542992eaab Merge branch 'fix/transfer-to-laying' into 'development'
[FIX/FE] Transfer To Laying

See merge request mbugroup/lti-web-client!245
2026-01-24 04:24:04 +00:00
ValdiANS 982d0294b6 Merge branch 'development' into fix/transfer-to-laying 2026-01-24 11:22:48 +07:00
ValdiANS 42ebf1015f chore: adjust getFilledTransferToLayingFormInitialValues function to set max quantity for flock destination kandang 2026-01-24 11:21:31 +07:00
ValdiANS 4991b1160f chore: remove unnecessary code and adjust edit link 2026-01-24 11:21:02 +07:00
ValdiANS 71a430c99c feat: create TransferToLayingFormModal component 2026-01-24 11:20:24 +07:00
ValdiANS db1e224c3b chore: adjust TextInput styling 2026-01-24 11:20:11 +07:00
ValdiANS bb74b90790 chore: adjust TextArea styling 2026-01-24 11:19:58 +07:00
ValdiANS a890ed571b chore: adjust SelectInputRadio styling 2026-01-24 11:19:50 +07:00
ValdiANS 2d81b0dfba chore: adjust DateInput styling 2026-01-24 11:19:41 +07:00
ValdiANS ab390ab461 feat: add className prop 2026-01-24 11:19:33 +07:00
ValdiANS 335b254a60 feat: add onBackdropClick and position prop 2026-01-24 11:19:24 +07:00
ValdiANS 5e53f8764e chore: update href type 2026-01-24 11:19:04 +07:00
ValdiANS f0051b58bb feat: add TransferToLayingFormModal in Transfer To Laying page 2026-01-24 11:18:52 +07:00
rstubryan 8c73a8f61a refactor(FE): Include selected record date in next-day API 2026-01-24 11:17:13 +07:00
Rivaldi A N S 6636648813 Merge branch 'fix/purchase-limitation' into 'development'
[FIX/FE] Fix Limitation on useSelect (Purchase Request)

See merge request mbugroup/lti-web-client!242
2026-01-24 02:13:07 +00:00
rstubryan 151af5707d refactor(FE): Enable supplier select infinite loading 2026-01-24 09:10:40 +07:00
rstubryan 716f064858 refactor(FE): Limit supplier useSelect results to 100 2026-01-24 09:03:19 +07:00
Rivaldi A N S be87bc7c1d Merge branch 'dev/hotfix/restu' into 'development'
[FIX/FE] Hotfix Issues on Transfer Stock, Customer Control Payment and Uniformity

See merge request mbugroup/lti-web-client!241
2026-01-24 01:26:39 +00:00
ValdiANS 111531b803 Merge branch 'development' into fix/transfer-to-laying 2026-01-23 23:07:51 +07:00
ValdiANS d59cf359ee chore: adjust TransferToLayingsTable component styling 2026-01-23 23:05:09 +07:00
ValdiANS 2f7ae0ae66 feat: create TransferToLayingFilter type 2026-01-23 23:04:18 +07:00
ValdiANS 8cc7f2f526 feat: add findMenuPath helper function 2026-01-23 23:04:04 +07:00
ValdiANS 25074edaa1 feat: create tailwind.css file 2026-01-23 23:03:46 +07:00
ValdiANS 0b1349ca8d feat: create TransferToLayingFilterModal component 2026-01-23 23:03:34 +07:00
ValdiANS 6c70dc93ce chore: pass the rest of the props to ConfirmationModal 2026-01-23 23:03:13 +07:00
ValdiANS ed3d525c06 chore: adjust ConfirmationModal component styling 2026-01-23 23:02:49 +07:00
ValdiANS af9c4bbdb9 chore: adjust SelectInputCheckbox styling 2026-01-23 23:02:25 +07:00
ValdiANS 5a88718454 chore: adjust SelectInput styling 2026-01-23 23:02:12 +07:00
ValdiANS d1a0cdc1b9 chore: adjust DateInput styling 2026-01-23 23:01:59 +07:00
ValdiANS 196db657e8 feat: create StatusBadge component 2026-01-23 23:01:43 +07:00
ValdiANS 51c3277b6c feat: add selectedBodyRowClassName class name 2026-01-23 23:01:33 +07:00
ValdiANS abc35314a0 chore: adjust Navbar styling and add breadcrumb to navbar 2026-01-23 23:01:07 +07:00
ValdiANS 146a63fc70 chore: remove unnecessary code and remove title from Navbar prop 2026-01-23 23:00:44 +07:00
ValdiANS d46652cb68 feat: add Breadcrumb component 2026-01-23 23:00:15 +07:00
ValdiANS b46f06a739 chore: remove padding 2026-01-23 22:59:54 +07:00
ValdiANS 6cc5e5e931 chore: adjust color variable and add shadow-button-soft custom shadow 2026-01-23 22:59:44 +07:00
rstubryan 7b82888aa6 refactor(FE): Update styling and imports in CustomerPaymentTab 2026-01-23 21:53:59 +07:00
rstubryan 762fb08568 refactor(FE): Replace hardcoded blue with bg-primary 2026-01-23 21:48:57 +07:00
rstubryan b7c0a80a04 refactor(FE): Validate end_date is not before start_date 2026-01-23 21:45:09 +07:00
rstubryan 143674533a refactor(FE): Remove redundant ID fields and require filters and update
date labels to 'Tanggal mulai' and 'Tanggal akhir
2026-01-23 21:40:54 +07:00
rstubryan b046b64ed2 refactor(FE): Add Formik-based filter with validation 2026-01-23 21:32:10 +07:00
rstubryan 9f6fec5a3c refactor(FE): Set uniformity week from recording data 2026-01-23 20:55:48 +07:00
rstubryan e386d2a389 chore(FE-Cleanup): Clean up unused code and add memoization 2026-01-23 18:12:44 +07:00
rstubryan cdef3e797e Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/hotfix/restu 2026-01-23 17:34:10 +07:00
rstubryan 6af2609f44 refactor(FE): Use useSelect to fetch product warehouses 2026-01-23 16:38:34 +07:00
rstubryan 6f5540eb91 refactor(FE): Reset deliveries when products change 2026-01-23 16:26:25 +07:00
rstubryan 5c286128e4 refactor(FE): Exclude falsy product_id in product filter 2026-01-23 16:13:36 +07:00
rstubryan df875eda1d refactor(FE): Exclude selected products from product options 2026-01-23 16:05:59 +07:00
Rivaldi A N S ae2b27521e Merge branch 'fix/production-result' into 'development'
[FIX/FE] Production Result

See merge request mbugroup/lti-web-client!240
2026-01-23 09:01:27 +00:00
ValdiANS d026a3b5ae chore: round export number to excel 2026-01-23 15:59:46 +07:00
ValdiANS ed9a8021c1 feat: add safeRound helper function 2026-01-23 15:59:31 +07:00
rstubryan 31d9c5e38d Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/hotfix/restu 2026-01-23 15:37:32 +07:00
Rivaldi A N S e749faedca Merge branch 'fix/production-result' into 'development'
[FIX/FE] Production Result

See merge request mbugroup/lti-web-client!239
2026-01-23 08:37:32 +00:00
rstubryan 27c696c797 refactor(FE): Use filter to remove products and deliveries 2026-01-23 15:37:06 +07:00
ValdiANS 28b58d9cac fix: fix exportProductionResultToExcel method 2026-01-23 15:36:16 +07:00
rstubryan 1d0d42dc16 refactor(FE): Include products in MovementForm effect deps 2026-01-23 13:45:55 +07:00
rstubryan 1b3dd34add refactor(FE): Filter products by available stock and format qty 2026-01-23 13:21:12 +07:00
rstubryan 1d29f62bf2 refactor(FE): Fix delivery dependency tracking and init 2026-01-23 13:10:54 +07:00
rstubryan e35f857057 fix(FE): Include deliveries in deps for cost handlers 2026-01-23 12:58:33 +07:00
rstubryan bcc2f71623 refactor(FE): Manage product and delivery quantity error toasts 2026-01-23 12:52:54 +07:00
rstubryan 359f0f7b01 refactor(FE): Move EKSPEDISI flag to supplier select 2026-01-23 11:10:08 +07:00
rstubryan 6a9f672d27 refactor(FE): Reduce font weight and size for payment badge 2026-01-23 11:05:42 +07:00
rstubryan 8c976b6d0b refactor(FE): Center PDF status and refine payment badge styling 2026-01-23 10:54:15 +07:00
Rivaldi A N S e00a81cebb Merge branch 'hotfix/finance' into 'development'
[HOTFIX/FE] Fixing Form Component State

See merge request mbugroup/lti-web-client!238
2026-01-23 03:36:49 +00:00
rstubryan a82860cb68 refactor(FE): Add initial balance row and normalize empty values 2026-01-23 10:34:53 +07:00
randy-ar 52a18dac24 fix(FE): fixing submit button disable and implement store search filter 2026-01-23 10:30:50 +07:00
randy-ar c2272ee5e0 hotfix(FE): fixing select input edit supplier in edit transaction 2026-01-22 16:20:40 +07:00
Rivaldi A N S c012f39a38 Merge branch 'fix/dashboard' into 'development'
[FIX/FE] Fixing Store State Filter Dashboard

See merge request mbugroup/lti-web-client!235
2026-01-22 09:06:26 +00:00
Rivaldi A N S 0f72a14fde Merge branch 'dev/hotfix/restu' into 'development'
[FIX/FE] Add Tooltip, Support Comma on Recording Egg Values (Total Berat) and Add Global State Search for Table

See merge request mbugroup/lti-web-client!234
2026-01-22 09:05:40 +00:00
randy-ar 1c35c7db32 fix(FE): fixing filter store state on reset 2026-01-22 16:01:39 +07:00
rstubryan 1f6ce36976 refactor(FE): Move table slice into UI store and persist search 2026-01-22 15:58:56 +07:00
rstubryan 756701722a feat(FE): Persist Recording search across navigation 2026-01-22 15:24:04 +07:00
rstubryan 8e48c4d7cf Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/hotfix/restu 2026-01-22 14:48:38 +07:00
Rivaldi A N S 282f651d96 Merge branch 'hotfix/marketing' into 'development'
[HOTFIX/FE] Sales Product Calculation

See merge request mbugroup/lti-web-client!233
2026-01-22 07:48:32 +00:00
rstubryan 49abb129e3 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/hotfix/restu 2026-01-22 14:48:13 +07:00
rstubryan 9d6148e877 refactor(FE): Add tooltip and allow 3-decimal weight input 2026-01-22 14:46:38 +07:00
randy-ar d914eb86f2 hotfix: fix sales calculation 2026-01-22 14:43:07 +07:00
randy-ar e8a6bf05c3 hotfix: fix sales calculation 2026-01-22 14:38:34 +07:00
randy-ar ffa0b23b82 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into hotfix/marketing 2026-01-22 14:20:42 +07:00
rstubryan 49e9e958fa refactor(FE): Use local state for record date and disable
reinitialization
2026-01-22 14:20:16 +07:00
randy-ar b17ccd502e hotfix: fix sales calculation 2026-01-22 14:19:48 +07:00
Rivaldi A N S 1a7b969c3f Merge branch 'dev/hotfix/restu' into 'development'
[FIX/FE] Fix Aging/Umur on Closing Detail (Penjualan's Tab)

See merge request mbugroup/lti-web-client!232
2026-01-22 06:13:38 +00:00
rstubryan eca8bd7026 refactor(FE): Display raw age instead of using formatNumber 2026-01-22 11:36:02 +07:00
rstubryan 1e421e4230 refactor(FE): Show age as days and weeks in table 2026-01-22 11:34:29 +07:00
rstubryan 9cffa53122 feat(FE): Show age with week in sales report table 2026-01-22 11:26:47 +07:00
Rivaldi A N S 2ff217efcb Merge branch 'fix/dashboard' into 'development'
[FIX/FE] Fixing Select Input Component UI

See merge request mbugroup/lti-web-client!231
2026-01-21 09:21:28 +00:00
Rivaldi A N S 475467cca6 Merge branch 'fix/debt-supplier' into 'development'
[FIX/FE] Fixing Debt Supplier Export Excel and Select Input

See merge request mbugroup/lti-web-client!230
2026-01-21 09:19:54 +00:00
randy-ar d0f6e965f0 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into fix/dashboard 2026-01-21 15:19:27 +07:00
randy-ar 9a1be88bce fix(FE): fixing dashboard select input UI component 2026-01-21 15:18:37 +07:00
Rivaldi A N S 76fb5a2625 Merge branch 'fix/daily-checklist' into 'development'
[FIX/FE] Daily Checklist

See merge request mbugroup/lti-web-client!227
2026-01-21 07:44:46 +00:00
Rivaldi A N S b75ed86949 Merge branch 'dev/hotfix/restu' into 'development'
[FIX/FE] Adjustment Recording Logic

See merge request mbugroup/lti-web-client!226
2026-01-21 07:42:39 +00:00
ValdiANS 426b6bfc85 chore: update chart and chart text color 2026-01-21 14:38:21 +07:00
randy-ar c7ffae68d8 fix(FE): adding color to negative value excel and change select UI 2026-01-21 14:27:59 +07:00
ValdiANS 362ae16c7d chore: set empty string for phase_id filter if ALL phase is selected 2026-01-21 14:19:58 +07:00
ValdiANS 149b14e0f8 fix: add form validation for configuration form 2026-01-21 14:18:14 +07:00
rstubryan 4d7bbaf771 feat(FE): Show product UOM suffix in recording form 2026-01-21 14:15:09 +07:00
rstubryan 99fc3f8cae refactor(FE): Standardize unit labels and number formatting 2026-01-21 13:45:12 +07:00
rstubryan 507f53ace8 refactor(FE): Use projectFlockKandangId for next-day recording 2026-01-21 13:29:35 +07:00
rstubryan fd4b584ccd refactor(FE): Use kilograms for egg weight fields 2026-01-21 13:23:31 +07:00
Rivaldi A N S f73672f65c Merge branch 'fix/daily-checklist' into 'development'
[FIX/FE] Daily Checklist

See merge request mbugroup/lti-web-client!225
2026-01-21 06:13:23 +00:00
ValdiANS b62424af18 chore: rename updated_at column title to 'Diperbarui' 2026-01-21 13:08:05 +07:00
Rivaldi A N S 951d2bca0a Merge branch 'fix/daily-checklist' into 'development'
[FIX/FE] Daily Checklist

See merge request mbugroup/lti-web-client!224
2026-01-21 05:40:07 +00:00
ValdiANS 4081a326e3 feat: add edit button 2026-01-21 12:38:30 +07:00
ValdiANS 0dbcb83c54 feat: set default value for date, kandang ID, and category from url query 2026-01-21 12:37:53 +07:00
ValdiANS 248d4f75d8 chore: rename daily checklist submenu to 'Formulir' 2026-01-21 12:36:40 +07:00
ValdiANS 4b2e00d91a chore: reorder activities in the correct order 2026-01-21 11:16:50 +07:00
ValdiANS d679b5b54e fix: show 'Umum' activity and fix select all phase bug 2026-01-21 11:15:57 +07:00
Rivaldi A N S b2fa4786b2 Merge branch 'dev/hotfix/restu' into 'development'
[FEAT/FE] Install ExcelJS and Refactor XLSX Export (Negative Color)

See merge request mbugroup/lti-web-client!223
2026-01-21 04:05:33 +00:00
rstubryan aaca46356a Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/hotfix/restu 2026-01-21 10:55:00 +07:00
rstubryan 1f03222e42 feat(FE): Color negative accounts receivable red in XLSX export 2026-01-21 10:54:41 +07:00
rstubryan c472375f38 feat(FE): Use ExcelJS for customer payment export 2026-01-21 10:52:58 +07:00
Rivaldi A N S 469542bd2e Merge branch 'fix/daily-checklist' into 'development'
[FIX/FE] Daily Checklist

See merge request mbugroup/lti-web-client!222
2026-01-21 03:45:17 +00:00
ValdiANS 98e1623c19 Merge branch 'development' into fix/daily-checklist 2026-01-21 10:43:08 +07:00
ValdiANS 480e8a3226 Merge branch 'development' into fix/daily-checklist 2026-01-21 10:42:37 +07:00
ValdiANS 7317eb7129 chore: remove time_type default value and check activity form time type validity 2026-01-21 10:41:27 +07:00
ValdiANS c4f8051fba chore: set selected phase to null if category change 2026-01-21 10:19:46 +07:00
Rivaldi A N S 7be811f2b1 Merge branch 'dev/hotfix/restu' into 'development'
[FE/FIX] Adjustment Detail Closing (Tab Penjualan) Flock and Kandang

See merge request mbugroup/lti-web-client!221
2026-01-21 03:07:55 +00:00
rstubryan 5053ce35df refactor(FE): Add sales/actual price fields and summary 2026-01-21 10:01:08 +07:00
Rivaldi A N S 9bd4df3f4c Merge branch 'fix/daily-marketing-report' into 'development'
[FIX/FE] Daily Marketing Report

See merge request mbugroup/lti-web-client!220
2026-01-21 02:45:11 +00:00
ValdiANS 6c4672e38e chore: add flock name to ClosingsTable 2026-01-21 09:43:13 +07:00
ValdiANS c695afa1e7 chore: rename total_sales_price to average_sales_price in SalesSummary 2026-01-21 09:40:22 +07:00
ValdiANS 93513c4a3a chore: add flock name in ClosingsTable 2026-01-21 09:36:36 +07:00
ValdiANS ead338fa0f chore: rename total_average_weight to average_weight_kg in SalesSummary 2026-01-21 09:31:21 +07:00
Rivaldi A N S afbb007309 Merge branch 'fix/transfer-to-laying' into 'development'
[FIX/FE] Transfer to Laying

See merge request mbugroup/lti-web-client!219
2026-01-20 11:03:38 +00:00
ValdiANS 732fe85cde Merge branch 'development' into fix/transfer-to-laying 2026-01-20 17:37:06 +07:00
ValdiANS 43fe8ad1b3 feat: create PopoverContent component 2026-01-20 17:33:38 +07:00
ValdiANS d53afb6b74 feat: create PopoverButton component 2026-01-20 17:11:18 +07:00
ValdiANS e13f3358f4 chore: set maxQuantity min to 0 2026-01-20 17:09:57 +07:00
ValdiANS 26d89c35a5 chore: adjust TransferToLayingsTable styling 2026-01-20 17:07:24 +07:00
ValdiANS 7a45926c49 feat: adjust SalesSummary type 2026-01-20 17:04:41 +07:00
ValdiANS 0439c21ec6 chore: change button variant 2026-01-20 16:44:42 +07:00
ValdiANS 696ec3a69c feat: add total average weight and total sales price in table footer 2026-01-20 16:35:12 +07:00
ValdiANS 6b2f95b9a3 chore: adjust SidebarMenu styling 2026-01-20 16:33:35 +07:00
ValdiANS 324b6b69e2 chore: use TABLE_DEFAULT_STYLING for default styling 2026-01-20 16:31:05 +07:00
ValdiANS 876217d1af chore: adjust MainDrawer styling 2026-01-20 16:30:04 +07:00
ValdiANS 7a2bdb25e4 chore: change className.drawerContent to className.drawerSidebarContent 2026-01-20 16:29:03 +07:00
ValdiANS 1a3ea5be8c chore: add roboto font 2026-01-20 16:15:38 +07:00
ValdiANS 572e5233b4 chore: add roboto font 2026-01-20 16:13:29 +07:00
ValdiANS 6ece591d2b chore: update daisyUI version 2026-01-20 16:11:45 +07:00
Rivaldi A N S 122bdbbf54 Merge branch 'fix/finance' into 'development'
[FIX/FE] Fixing Form State in Module Finance

See merge request mbugroup/lti-web-client!218
2026-01-20 08:52:47 +00:00
Rivaldi A N S 5eb1296391 Merge branch 'fix/marketing' into 'development'
[FIX/FE] Fixing Edit Product Sales Order per Row

See merge request mbugroup/lti-web-client!217
2026-01-20 08:51:42 +00:00
Rivaldi A N S 3cc85a894f Merge branch 'fix/master-data' into 'development'
[FIX/FE] Fixing Unit in Production Standard

See merge request mbugroup/lti-web-client!216
2026-01-20 08:50:16 +00:00
randy-ar 71e6ac9c63 fix(FE): fixing url encode for filters 2026-01-20 15:34:33 +07:00
randy-ar 596e2d0095 fix(FE): change nominal to absolute value, change form state initial balance, and changes filter options 2026-01-20 15:22:35 +07:00
randy-ar 4cb8343f74 fix(FE): fixing edit product SO per row 2026-01-20 15:00:50 +07:00
randy-ar fc785bc63c fix(FE): fixing unit production standard 2026-01-20 14:39:44 +07:00
Rivaldi A N S defbcd9867 Merge branch 'fix/marketing' into 'development'
[FIX/FE] Adding Button Edit and Delete per Product on Marketing Form

See merge request mbugroup/lti-web-client!213
2026-01-20 04:36:51 +00:00
randy-ar f69fc08ef8 feat(FE): adding delete per product row delivery order 2026-01-20 11:06:53 +07:00
randy-ar 41bf12846d Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into fix/marketing 2026-01-20 10:44:22 +07:00
randy-ar bbb9c5f190 feat(FE): adding edit and delete per product row sales order 2026-01-20 10:43:13 +07:00
Rivaldi A N S de11534e20 Merge branch 'dev/hotfix/restu' into 'development'
[FIX/FE] Adjustment Recording and Purchase Order

See merge request mbugroup/lti-web-client!212
2026-01-20 03:35:40 +00:00
rstubryan 8b0a6f054b refactor(FE): Format zero transport per item as currency 2026-01-20 10:31:32 +07:00
rstubryan 46b819c200 refactor(FE): Use approval step_name or action for status 2026-01-20 10:27:16 +07:00
rstubryan 72356917ff refactor(FE): Show dash for missing transport per item 2026-01-20 10:23:40 +07:00
rstubryan 28a32cb6c4 refactor(FE): Move travel document button into receipt section 2026-01-20 10:21:22 +07:00
rstubryan 0e179f1643 refactor(FE): Use location type guard for warehouse access 2026-01-20 10:08:37 +07:00
rstubryan 6319b6d5fe refactor(FE): Guard warehouse before accessing location 2026-01-20 10:07:39 +07:00
Rivaldi A N S a538c3ea90 Merge branch 'dev/hotfix/restu' into 'development'
[FIX/FE] Adjustment Recording, Biaya and HPP Harian Kandang (Report)

See merge request mbugroup/lti-web-client!211
2026-01-20 02:09:43 +00:00
rstubryan cbc54eb501 refactor(FE): Use name_with_periode in HppPerKandang cell 2026-01-19 20:57:16 +07:00
rstubryan 67f7a68f1b refactor(FE): Use ProjectFlockKandangApi for kandang select 2026-01-19 20:52:37 +07:00
rstubryan b1981867ff refactor(FE): Make depletion and egg fields optional 2026-01-19 17:52:19 +07:00
rstubryan 8a84542c60 refactor(FE): Rename expense item note to notes 2026-01-19 17:27:49 +07:00
rstubryan f091b4be43 refactor(FE): Show kandangs table for add-request and selection 2026-01-19 17:26:41 +07:00
rstubryan 6e4c214821 refactor(FE): Remove Warehouse column from RecordingTable 2026-01-19 17:21:48 +07:00
Rivaldi A N S aa6d205491 Merge branch 'dev/hotfix/restu' into 'development'
[FIX/FE] Data Refactor and UI Adjustment (Closing (Penjualan), Transfer Stock, Laporan (Kontrol Pembayaran Customer dan HPP Harian Kandang), Biaya, Recording)

See merge request mbugroup/lti-web-client!210
2026-01-19 09:15:25 +00:00
rstubryan 2e6e11984e Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/hotfix/restu 2026-01-19 16:04:40 +07:00
Rivaldi A N S 0824225080 Merge branch 'fix/dateinput' into 'development'
[FIX/FE] Fixing Dateinput Component

See merge request mbugroup/lti-web-client!209
2026-01-19 09:04:19 +00:00
rstubryan e4ae1566f1 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/hotfix/restu 2026-01-19 16:00:39 +07:00
rstubryan 0f21731008 feat(FE): Add Lokasi and Kandang columns in RecordingTable 2026-01-19 16:00:27 +07:00
randy-ar 9b2b5d8307 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into fix/dateinput 2026-01-19 15:50:06 +07:00
randy-ar ff6f6136cc fix(FE): fixing component date input, remove alert native function & remove console.error 2026-01-19 15:49:31 +07:00
Rivaldi A N S 4ad2b54128 Merge branch 'fix/recording' into 'development'
[FIX/FE] Fixing Recording Form

See merge request mbugroup/lti-web-client!208
2026-01-19 08:38:25 +00:00
randy-ar 7b939f57af Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into fix/recording 2026-01-19 15:28:48 +07:00
randy-ar 18f3295562 fix(FE): fixing initial state in form recording & refactor formik message errors list 2026-01-19 15:28:16 +07:00
rstubryan 9c540e7cd8 refactor(FE): Add guards for latest_approval and move search 2026-01-19 15:27:49 +07:00
rstubryan eefec93811 refactor(FE): Add Kandang and Location to Recording type 2026-01-19 14:59:26 +07:00
Rivaldi A N S 04e54044e9 Merge branch 'fix/sapronak-closing-report' into 'development'
[FIX/FE] Sapronak Closing Report

See merge request mbugroup/lti-web-client!207
2026-01-19 07:49:05 +00:00
ValdiANS e143668f82 feat: create getAllIncomingSapronakSummaryFetcher and getAllOutgoingSapronakSummaryFetcher method 2026-01-19 14:46:29 +07:00
ValdiANS 949b5cbc12 feat: create Closing Sapronak Summary type 2026-01-19 14:44:35 +07:00
ValdiANS 0f64baca23 feat: show Closing Sapronak Summary table 2026-01-19 14:42:04 +07:00
ValdiANS d9c154997d feat: create Closing Sapronak Summary component 2026-01-19 14:41:20 +07:00
rstubryan b3f8fc451d feat(FE): Add Rekapitulasi sheet to Excel export 2026-01-19 14:37:23 +07:00
rstubryan da040a4f7e refactor(FE): Format style objects in HppPerkandangExport 2026-01-19 14:36:21 +07:00
rstubryan 200290a0b3 refactor(FE): Remove header cell bottom and right borders in PDF export 2026-01-19 14:27:27 +07:00
rstubryan 366864582f feat(FE): Add TOTAL row to HppPerkandang PDF export 2026-01-19 14:14:04 +07:00
ValdiANS 876d564f26 fix: refactor confirmationModalDeleteClickHandler function 2026-01-19 14:06:04 +07:00
ValdiANS 979f803d75 chore: rename title 2026-01-19 14:05:08 +07:00
rstubryan f4166f4dbd refactor(FE): Keep select menus open and show selected options 2026-01-19 13:41:15 +07:00
rstubryan 56d4eca034 refactor(FE): Validate weight max is not less than min 2026-01-19 13:13:23 +07:00
rstubryan 24ff7a080f refactor(FE): Reset products when source warehouse changes 2026-01-19 13:03:07 +07:00
rstubryan ee1f759a37 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/hotfix/restu 2026-01-19 10:54:46 +07:00
rstubryan 23c758b0cf refactor(FE): Prevent selecting same source and destination 2026-01-19 10:47:12 +07:00
rstubryan 1c002a1b95 refactor(FE): Stop resetting deliveries on product change 2026-01-19 10:44:18 +07:00
rstubryan fb980c38c9 refactor(FE): Toast warehouse duplicate error on validation 2026-01-19 10:42:20 +07:00
rstubryan dc2c2228a8 refactor(FE): Extract and memoize form event handlers 2026-01-19 10:28:08 +07:00
rstubryan 6def4e0fcd refactor(FE): Extract DeliveryDocumentSchema for reuse 2026-01-19 10:16:46 +07:00
rstubryan aaaa126c42 refactor(FE): Display zero and negative aging days 2026-01-19 09:32:59 +07:00
rstubryan 70a15d3044 refactor(FE): Rename customer_id to customer_ids in API and UI 2026-01-19 09:19:47 +07:00
Rivaldi A N S 5c8e97ebf9 Merge branch 'fix/dashboard' into 'development'
[FIX/FE] Fixing Export PDF, Data Types and Filter State

See merge request mbugroup/lti-web-client!206
2026-01-19 02:12:21 +00:00
rstubryan f8ae023c45 refactor(FE): Only render kandang table when selected 2026-01-19 00:17:11 +07:00
rstubryan d03414f7ab refactor(FE): Refactor expense form handlers and schema 2026-01-19 00:07:00 +07:00
rstubryan 3cda11c66e refactor(FE): Filter warehouse options by EKSPEDISI flag 2026-01-18 23:43:31 +07:00
randy-ar 55b50d4184 feat(FE): add state filter dashboard with store 2026-01-18 19:30:54 +07:00
randy-ar a9c22d778b refactor(FE): export charts with hidden html renderer and adding package html-to-image 2026-01-18 18:57:10 +07:00
randy-ar c576933ba2 fix(FE): update dashboard line chart and types 2026-01-18 16:15:18 +07:00
rstubryan b66054c9a2 refactor(FE): Use nonstock_id and make select clearable 2026-01-17 21:43:49 +07:00
rstubryan ccf535cbd9 refactor(FE): Improve expense form validation messages 2026-01-17 21:30:03 +07:00
rstubryan df550abc46 refactor(FE): Simplify recording approval line steps 2026-01-17 21:04:29 +07:00
rstubryan 0aa96b9c46 refactor(FE): Remove max-width constraints, use two-column grid 2026-01-17 20:53:39 +07:00
rstubryan 4391fe1de7 refactor(FE): Capitalize payment status text 2026-01-17 20:37:43 +07:00
rstubryan 6377557ef0 refactor(FE): Reset products and deliveries on warehouse change 2026-01-17 20:33:13 +07:00
rstubryan 4d319ca9c8 refactor(FE): Comment out age column in SalesReportTable 2026-01-17 20:25:23 +07:00
rstubryan 93c886551d Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/hotfix/restu 2026-01-17 20:19:51 +07:00
Rivaldi A N S d31c1deaa2 Merge branch 'hotfix/finance' into 'development'
[HOTFIX/FE] FIxing Test Scenario in Finance Module

See merge request mbugroup/lti-web-client!205
2026-01-17 09:55:02 +00:00
Rivaldi A N S aad08593c7 Merge branch 'hot-fix/marketing-disabled-edit-customer' into 'development'
[HOTFIX/FE] Disabled Select input customer

See merge request mbugroup/lti-web-client!204
2026-01-17 09:54:41 +00:00
randy-ar 36da05890a hotfix(FE): fixing failed test scenario in module finance 2026-01-17 16:45:56 +07:00
rstubryan a82c5e5593 refactor(FE): Rename price to unit_price in customer payments 2026-01-17 16:16:34 +07:00
randy-ar 08715e39c2 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into hot-fix/marketing-disabled-edit-customer 2026-01-17 15:59:49 +07:00
randy-ar 138ad6a7c9 hotfix(FE): change select input component to disabled 2026-01-17 15:59:08 +07:00
Rivaldi A N S 9ae5bdd969 Merge branch 'dev/hotfix/restu' into 'development'
[HOTFIX/FE] Fix Recording Record Date and Purchase Order Staff Edit Mode

See merge request mbugroup/lti-web-client!202
2026-01-17 06:12:01 +00:00
rstubryan d19b1e885e refactor(FE): Compute item total on qty change and limit reset 2026-01-17 12:59:41 +07:00
rstubryan f4abfd4279 refactor(FE): Dismiss toast notifications on unmount 2026-01-17 12:54:16 +07:00
rstubryan 1152b6d2c3 refactor(FE): Disable Submit button when duplicate error shown 2026-01-17 12:45:11 +07:00
rstubryan 0cdbff6954 refactor(FE): Validate recording date and handle null location 2026-01-17 12:32:55 +07:00
rstubryan f32b77c552 refactor(FE): Add location, project_flock and kandang fields 2026-01-17 12:24:32 +07:00
rstubryan cd9fa31ad7 refactor(FE): Disable form fields in edit mode 2026-01-17 12:11:30 +07:00
rstubryan 4c4c70e10f refactor(FE): Validate duplicates by selected record date 2026-01-17 12:03:32 +07:00
Rivaldi A N S 67d695303e Merge branch 'hot-fix/project-flock-status' into 'development'
[FIX/FE] Fix Approval Status Badge

See merge request mbugroup/lti-web-client!200
2026-01-17 04:15:40 +00:00
Rivaldi A N S b85bace073 Merge branch 'hot-fix/master-data-flock' into 'development'
[FIX/FE] Show server error message

See merge request mbugroup/lti-web-client!199
2026-01-17 04:15:14 +00:00
randy-ar 835ba077d8 fix(FE): change status badge kandang aktif 2026-01-17 11:08:25 +07:00
randy-ar 13abc6d7ce fix(FE): change status badge 2026-01-17 11:02:22 +07:00
randy-ar a26919f037 fix(FE): show server error 2026-01-17 10:49:41 +07:00
Rivaldi A N S e6cbb3013d Merge branch 'hot-fix/project-flock-kandang-options' into 'development'
[FIX/FE] Fix Limit Data Kandang in Project Form

See merge request mbugroup/lti-web-client!197
2026-01-17 02:53:03 +00:00
randy-ar c55081f358 fix(FE): fix limit fetch data kandang 2026-01-17 09:48:37 +07:00
Rivaldi A N S ff9ad8237c Merge branch 'hot-fix/closing-finance-kandang' into 'development'
[FIX/FE] Hotfix Closing Finance Kandang

See merge request mbugroup/lti-web-client!195
2026-01-16 15:02:10 +00:00
randy-ar f371d06386 fix(FE): add depedency to useMemo rows data 2026-01-16 21:55:39 +07:00
randy-ar 79cb89b9a0 fix(FE): delete console log debug 2026-01-16 21:11:46 +07:00
randy-ar 9a3617edf1 fix(FE): hot fix closing finance per kandang 2026-01-16 21:04:23 +07:00
Rivaldi A N S 80dfbcb858 Merge branch 'feat/closing-overhead-kandang' into 'development'
[FIX/FE] Fixing Slicing UI Closing Overhead Kandang

See merge request mbugroup/lti-web-client!194
2026-01-16 12:01:48 +00:00
Rivaldi A N S db51619fbe Merge branch 'feat/closing-finance-kandang' into 'development'
[FEAT/FE] Refactor Response Data Closing Finance

See merge request mbugroup/lti-web-client!193
2026-01-16 12:01:29 +00:00
Rivaldi A N S 6395a32f43 Merge branch 'fix/data-refactor-and-ui-adjustment' into 'development'
[FIX/FE] Data Refactor and UI Adjustment (Recording, Purchase, Finance, Marketing & Sales Report)

See merge request mbugroup/lti-web-client!192
2026-01-16 12:00:37 +00:00
Rivaldi A N S 3c6f7ce0d3 Merge branch 'fix/finance-select-input' into 'development'
[FIX/FE] Implement Lazy Loading Select Input

See merge request mbugroup/lti-web-client!191
2026-01-16 12:00:09 +00:00
randy-ar 01b8841e3c fix(FE): adjust ui closing overhead kandang 2026-01-15 21:14:55 +07:00
randy-ar 40e8f52fe4 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into feat/closing-overhead-kandang 2026-01-15 20:16:11 +07:00
randy-ar 8c6a87c011 feat(FE): adding closing finance per kandang 2026-01-15 20:08:21 +07:00
rstubryan a17089f4bb refactor(FE): Relax expedition vendor validation 2026-01-15 19:37:55 +07:00
rstubryan 45700be730 refactor(FE): Improve vehicle number validation message and set
expedition flag on supplier
2026-01-15 19:32:09 +07:00
rstubryan 228e79bb31 refactor(FE): Make vehicle/expedition/transport fields optional 2026-01-15 19:29:03 +07:00
rstubryan 87bf474cf6 refactor(FE): Add customer address as card subtitle 2026-01-15 18:01:15 +07:00
rstubryan b25418b51e Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2026-01-15 17:54:56 +07:00
rstubryan 0a24c4541f refactor(FE): Make feed and doc supplier arrays nullable 2026-01-15 17:53:18 +07:00
rstubryan 7d3a4c1ecc refactor(FE): Use memoized IDs and badges for standards 2026-01-15 17:47:03 +07:00
rstubryan 8fe51c976b refactor(FE): Show additional flock info in recording form 2026-01-15 17:29:09 +07:00
randy-ar 5a4e3ab5ab Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into feat/closing-finance-kandang 2026-01-15 17:23:57 +07:00
randy-ar a1bbe4e2d7 fix(FE): implement lazy loading select button on marketing index 2026-01-15 17:03:25 +07:00
Rivaldi A N S 6c8e901a99 Merge branch 'fix/master-data-delete-error-message' into 'development'
[FIX/FE] Master Data Delete Error Message

See merge request mbugroup/lti-web-client!190
2026-01-15 09:57:28 +00:00
ValdiANS a2e04dad9f chore: implement delete error message toast 2026-01-15 16:55:16 +07:00
randy-ar 73100aa1ce fix(FE): implement lazy loading select button on project flock index 2026-01-15 16:53:39 +07:00
randy-ar e349b9dfa4 fix(FE): implement lazy loading select button on finance module 2026-01-15 16:48:11 +07:00
rstubryan 4a9cbdc219 refactor(FE): Use initialValues total_chick_qty for edit/detail 2026-01-15 16:41:24 +07:00
rstubryan 76c1b2f628 refactor(FE): Derive current total chick qty from flock data 2026-01-15 16:35:32 +07:00
rstubryan 0a5414a3ac refactor(FE): Add bottom margin to production standards text 2026-01-15 16:28:32 +07:00
rstubryan c7b4361cb6 feat(FE): Add Production Standard modal and table 2026-01-15 16:24:45 +07:00
rstubryan 00e0bc387b Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2026-01-15 16:17:22 +07:00
rstubryan 4285e2e269 refactor(FE): Enable backdrop close and set FCR table pageSize 2026-01-15 16:16:32 +07:00
Rivaldi A N S 9df64eeafa Merge branch 'fix/master-data-nonstock' into 'development'
[FIX/FE] Master Data Nonstock

See merge request mbugroup/lti-web-client!188
2026-01-15 09:15:10 +00:00
Rivaldi A N S 34901aa11c Merge branch 'fix/master-data-production-standard' into 'development'
[FIX/FE] Fixing Error Message and Fixing UI

See merge request mbugroup/lti-web-client!186
2026-01-15 09:14:26 +00:00
ValdiANS b2ce9c93b7 chore: remove unnecessary data 2026-01-15 16:13:54 +07:00
Rivaldi A N S 0c4448f396 Merge branch 'fix/master-data-nonstock' into 'development'
[FIX/FE] Master Data Nonstock

See merge request mbugroup/lti-web-client!187
2026-01-15 09:12:26 +00:00
ValdiANS 7114470c13 chore: access correct UOM id 2026-01-15 16:11:12 +07:00
rstubryan 0de4f9d745 feat(FE): Display FCR standards table in RecordingForm 2026-01-15 16:07:17 +07:00
randy-ar a6fe07de07 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into fix/master-data-production-standard 2026-01-15 16:06:13 +07:00
randy-ar 438082c94c fix(FE): fixing error message on submit and fixing ui 2026-01-15 16:05:05 +07:00
Rivaldi A N S 081048f0c5 Merge branch 'fix/closing-report-per-kandang' into 'development'
[FIX/FE] Closing Report Per Kandang

See merge request mbugroup/lti-web-client!185
2026-01-15 09:02:18 +00:00
ValdiANS fce2cfee73 feat: implement closing production data per kandang 2026-01-15 15:56:47 +07:00
ValdiANS bd64694c73 feat: implement closing sapronak per kandang 2026-01-15 15:56:30 +07:00
rstubryan 105d23e4f7 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2026-01-15 15:50:28 +07:00
rstubryan 68f9e27b5f refactor(FE): Reorder fields in RecordingForm 2026-01-15 15:48:18 +07:00
rstubryan d786b7b5ba feat(FE): Add warehouse display and standard detail modals 2026-01-15 15:41:11 +07:00
rstubryan 23e8487a97 refactor(FE): Show zero values in RecordingForm 2026-01-15 15:21:16 +07:00
Rivaldi A N S 02b97117eb Merge branch 'feat/FE/US-81/production-result-report' into 'development'
[FEAT/FE][US#81] Production Result Report PDF

See merge request mbugroup/lti-web-client!184
2026-01-15 08:15:49 +00:00
Rivaldi A N S 0f6e224870 Merge branch 'fix/project-flock-select-options' into 'development'
[FIX/FE] Implementasi Select Lazy Loading Form Project Flock

See merge request mbugroup/lti-web-client!183
2026-01-15 08:14:58 +00:00
ValdiANS e15b7e11d3 feat: create ProductionResultReportPDF component 2026-01-15 15:14:33 +07:00
ValdiANS 8f55ced55a feat: add export to pdf functionality 2026-01-15 15:14:17 +07:00
ValdiANS 781a5ca0d9 chore: use real permission for daily checklist menu 2026-01-15 15:14:04 +07:00
rstubryan ac84841b05 feat(FE): Add production metric columns and table styling 2026-01-15 15:06:41 +07:00
rstubryan a08ab7abaf feat(FE): Add Periode and Gudang columns and show week 2026-01-15 14:47:49 +07:00
randy-ar 1d689da546 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into fix/project-flock-select-options 2026-01-15 14:45:40 +07:00
Rivaldi A N S 96f96f6c5a Merge branch 'fix/marketing' into 'development'
[FIX/FE] Fixing Module Marketing Change UI Layout

See merge request mbugroup/lti-web-client!178
2026-01-15 07:43:31 +00:00
Rivaldi A N S a403800fb0 Merge branch 'fix/debt-supplier' into 'development'
[FIX/FE] Adjust UI Debt Supplier

See merge request mbugroup/lti-web-client!177
2026-01-15 07:43:03 +00:00
randy-ar 49b7ca4be5 fix(FE): resolve conflict 2026-01-15 14:39:06 +07:00
rstubryan dd080b1d19 refactor(FE): Add record_date and DateInput to recording form 2026-01-15 14:08:09 +07:00
rstubryan 63461173e5 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2026-01-15 13:52:45 +07:00
rstubryan 9d7140beb6 refactor(FE): Use egg production as remaining columns 2026-01-15 13:52:21 +07:00
rstubryan 817420ee62 refactor(FE): Rename Ayam labels to Telur in HPP reports 2026-01-15 13:35:00 +07:00
rstubryan f3b1091890 refactor(FE): Add infinite scroll to flock selects 2026-01-15 12:12:03 +07:00
rstubryan c9bace04ec refactor(FE): Use absolute import for Badge 2026-01-15 12:07:55 +07:00
rstubryan dc3b4f1850 refactor(FE): Use useSelect for ProjectFlock with pagination 2026-01-15 12:05:34 +07:00
Rivaldi A N S 27a398a1c8 Merge branch 'fix/master-data-product' into 'development'
[FIX/FE] Master Data Product

See merge request mbugroup/lti-web-client!181
2026-01-15 05:03:53 +00:00
Rivaldi A N S 9a87f1c404 Merge branch 'feat/closing-finance-kandang' into 'development'
[FEAT/FE] Closing Finance Kandang

See merge request mbugroup/lti-web-client!176
2026-01-15 05:00:43 +00:00
Rivaldi A N S fc1a0d6a3f Merge branch 'fix/dashboard' into 'development'
[FIX/FE] Adding Export Button and Fixing Filter

See merge request mbugroup/lti-web-client!175
2026-01-15 05:00:07 +00:00
ValdiANS 6a7990e722 fix: make suppliers optional 2026-01-15 11:59:25 +07:00
rstubryan 294c843bd4 refactor(FE): Use useSelect for project flock filter 2026-01-15 11:58:38 +07:00
rstubryan 12f22833c9 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2026-01-15 11:48:17 +07:00
Rivaldi A N S d46355f7f0 Merge branch 'fix/master-data-product' into 'development'
[FIX/FE] Master Data Product

See merge request mbugroup/lti-web-client!180
2026-01-15 04:47:21 +00:00
ValdiANS bf38178969 chore: update product type 2026-01-15 11:46:19 +07:00
ValdiANS 790b590668 feat: use real permission for daily checklist 2026-01-15 11:46:10 +07:00
ValdiANS 3952704643 chore: fix typo in placeholder 2026-01-15 11:45:51 +07:00
ValdiANS 57a148b6cf feat: add price per supplier input in product form 2026-01-15 11:45:31 +07:00
randy-ar 8a7245f5dd Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into feat/closing-finance-kandang 2026-01-15 11:14:09 +07:00
rstubryan b02a3c5eee refactor(FE): Add onMenuScrollToBottom to product selects 2026-01-15 10:51:33 +07:00
rstubryan a1301121ac refactor(FE): Refactor selects to use useSelect hook 2026-01-15 10:44:27 +07:00
rstubryan 3bc5030a3d refactor(FE): Use useSelect for warehouse options 2026-01-15 10:17:08 +07:00
rstubryan 4b88b684af refactor(FE): Load locations by area and disable location select 2026-01-15 10:12:52 +07:00
rstubryan cf332b5346 refactor(FE): Add load-on-scroll for expedition vendor select 2026-01-15 10:00:56 +07:00
Rivaldi A N S 94c6d82967 Merge branch 'feat/select-input-lazy-loading' into 'development'
[FEAT/FE] SelectInput Lazy Loading Implementation

See merge request mbugroup/lti-web-client!179
2026-01-15 02:56:09 +00:00
ValdiANS c75563491f feat: implement lazy loading in SelectInput 2026-01-15 09:48:02 +07:00
ValdiANS 3827204f13 chore: make basePath nullable 2026-01-15 09:47:11 +07:00
randy-ar 76e15d13ad fix(FE): adding filter information and supplier category on export pdf 2026-01-15 00:52:29 +07:00
randy-ar 5e7f55000a fix(FE): add sales person, refactor calculate total weight and price, add uom information and implement lazy load select 2026-01-15 00:32:55 +07:00
rstubryan 427c8aec34 feat(FE): Join array fields into comma-separated strings 2026-01-14 22:28:45 +07:00
rstubryan f1dba4012a refactor(FE): Update customer payment types and exports 2026-01-14 22:17:24 +07:00
rstubryan a72fbec5ce refactor(FE): Remove CN and PPN columns and bold receivables 2026-01-14 22:02:48 +07:00
rstubryan d8e134d404 feat(FE): Add customer payment permission to finance route 2026-01-14 21:59:03 +07:00
rstubryan 359326e575 refactor(FE): Rename 'Populasi Awal' column to 'Populasi Ayam' 2026-01-14 21:45:52 +07:00
rstubryan dbe9b26818 feat(FE): Adjust recording form grid and add chick count 2026-01-14 21:42:36 +07:00
rstubryan b290f7692a refactor(FE): Show current chick total in recording form 2026-01-14 21:39:38 +07:00
randy-ar 7a6bee57c2 fix(FE): fix report excel debt supplier change debt_price to balance 2026-01-14 19:20:16 +07:00
randy-ar b52a414eb0 fix(FE): adjust slicing ui debt supplier 2026-01-14 19:11:38 +07:00
rstubryan 4137683d05 refactor(FE): Hide 'hari' for zero or negative aging days 2026-01-14 17:55:38 +07:00
randy-ar 9237d4e731 fix(FE): implement lazy load select project flock 2026-01-14 17:10:42 +07:00
rstubryan efde742518 refactor(FE): Highlight negative accounts receivable values 2026-01-14 17:03:40 +07:00
rstubryan 916de1432b refactor(FE): Adjust column span in CustomerPaymentTab 2026-01-14 16:59:45 +07:00
rstubryan e134f0994b refactor(FE): Remove credit_note and ppn fields 2026-01-14 16:57:52 +07:00
randy-ar f22ba83dd0 feat(FE): hit api to endpoint closing finance kandang 2026-01-14 16:44:50 +07:00
randy-ar 3cb11f6158 fix(FE): add empty state overlay on chart null value 2026-01-14 16:27:13 +07:00
rstubryan c5baff6f33 refactor(FE): Update column headers in CustomerPaymentTab 2026-01-14 15:55:20 +07:00
rstubryan ab2175d903 refactor(FE): Simplify table cells and render initial balance row 2026-01-14 15:46:03 +07:00
randy-ar 524036a6bf fix(FE): implement lazy load options select 2026-01-14 15:43:53 +07:00
randy-ar 6c320ce59a Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into fix/dashboard 2026-01-14 15:37:44 +07:00
randy-ar cb8a1a17ac feat(FE): adding export feature on dashboard 2026-01-14 15:36:21 +07:00
rstubryan 08c28f4077 refactor(FE): Rename payment fields and add initial balance row 2026-01-14 15:14:33 +07:00
rstubryan 66fa65e4bb refactor(FE): Disable sales and filter_by until backend ready 2026-01-14 14:29:40 +07:00
rstubryan 01e94b57c1 refactor(FE): Disable row selection for approved recordings 2026-01-14 14:14:48 +07:00
rstubryan 8d586e7cb4 refactor(FE): Switch FinanceApi to production and remove import 2026-01-14 13:53:45 +07:00
Rivaldi A N S 447a953ed3 Merge branch 'feat/customer-control-ui-adjustment' into 'development'
[FEAT/FE] Customer Control UI Adjustment (Kontrol Pembayaran Customer)

See merge request mbugroup/lti-web-client!174
2026-01-14 06:36:33 +00:00
rstubryan 141d695a7d feat(FE): Load more select options on scroll 2026-01-14 13:10:51 +07:00
rstubryan ae35d42484 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2026-01-14 12:00:50 +07:00
rstubryan 3f285a74bc refactor(FE): Append title classes to Card and style customer card 2026-01-14 11:56:09 +07:00
Rivaldi A N S c81f7faf93 Merge branch 'feat/select-input-lazy-loading' into 'development'
[FEAT/FE] Implement SelectInput lazy loading

See merge request mbugroup/lti-web-client!173
2026-01-14 04:53:27 +00:00
Rivaldi A N S c81b250cbb Merge branch 'fix/debt-supplier' into 'development'
[FIX/FE] Fixing Debt Supplier Report Ledger

See merge request mbugroup/lti-web-client!172
2026-01-14 04:51:20 +00:00
randy-ar fc71defa08 feat(FE): adding button filter component 2026-01-14 11:43:10 +07:00
ValdiANS 54e05b7150 feat: implement lazy loading in SelectInput component in master data form 2026-01-14 11:36:57 +07:00
rstubryan d28fa77405 feat(FE): Fetch sales from UserApi and use sales_id param 2026-01-14 11:35:10 +07:00
rstubryan 53277b5893 refactor(FE): Use customerOptions type for filterCustomer state 2026-01-14 11:16:33 +07:00
rstubryan 97d131be12 refactor(FE): Cleanup types and remove pagination 2026-01-14 11:06:29 +07:00
rstubryan 3937c27c77 feat(FE): Show active filter count on Filter button 2026-01-14 10:49:21 +07:00
randy-ar bdf84c3802 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into fix/debt-supplier 2026-01-14 10:41:24 +07:00
randy-ar ba679865c4 fix(FE): fixing laporan ledger debt supplier 2026-01-14 10:40:54 +07:00
ValdiANS 8d7adbbd27 feat: implement lazy loading in SelectInput 2026-01-14 10:35:51 +07:00
rstubryan adb8d0f69e feat(FE): Add checkbox multi-select and components prop 2026-01-14 10:04:51 +07:00
Rivaldi A N S e6eac6b62d Merge branch 'fix/marketing-report' into 'development'
[FIX/FE] Daily Marketing Report

See merge request mbugroup/lti-web-client!171
2026-01-14 02:32:18 +00:00
Rivaldi A N S e87f9087e1 Merge branch 'fix/data-refactor-and-ui-adjustment' into 'development'
[FIX/FE] Data Refactor and UI Adjustment (Closing, Biaya, Finance Report, Sales Report, Recording)

See merge request mbugroup/lti-web-client!170
2026-01-14 02:30:03 +00:00
ValdiANS c4b505047c chore: add MARKETING_DATE_FILTER_TYPE_OPTIONS constant 2026-01-14 09:29:27 +07:00
ValdiANS fee9328699 chore: adjust table columns accessorKey for filter 2026-01-14 09:29:15 +07:00
ValdiANS b90fdabc4b feat: date filter type 2026-01-14 09:28:47 +07:00
ValdiANS a5d2d85572 chore: hide AWG std and AWG act 2026-01-14 09:28:16 +07:00
rstubryan 4560073f6a refactor(FE): Add record_date to recording payloads 2026-01-14 00:02:44 +07:00
rstubryan a205e57d39 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2026-01-13 16:49:12 +07:00
rstubryan 582b971c09 refactor(FE): Change endpoint path to reports 2026-01-13 16:47:58 +07:00
Rivaldi A N S 54ce9e5458 Merge branch 'feat/closing-overhead-kandang' into 'development'
[FEAT/FE] Closing Overhead Kandang

See merge request mbugroup/lti-web-client!169
2026-01-13 09:47:01 +00:00
rstubryan 8481b77c90 refactor(FE): Adjust cumulative depletion table layout 2026-01-13 16:21:41 +07:00
rstubryan e77a43300a refactor(FE): Nest project_flock in Recording and update UI 2026-01-13 16:01:30 +07:00
rstubryan 34d7310cc9 refactor(FE): Style accounts receivable in red and adjust badge 2026-01-13 15:32:39 +07:00
randy-ar 8998d815a5 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into feat/closing-overhead-kandang 2026-01-13 15:23:27 +07:00
randy-ar e5ec0f8deb feat(FE): closing report overhead per kandang 2026-01-13 15:20:36 +07:00
rstubryan 60eaec261d refactor(FE): Render payment notes as Badge and highlight balance 2026-01-13 15:20:27 +07:00
rstubryan 92bfef850a refactor(FE): Enhance customer payment PDF export and filters 2026-01-13 14:31:30 +07:00
rstubryan 502564da0a refactor(FE): Exclude step 6 and include step 4 in edit check 2026-01-13 13:43:34 +07:00
rstubryan 8b99be34ae Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2026-01-13 13:36:13 +07:00
rstubryan a781431683 refactor(FE): Rename Type column header to Jenis 2026-01-13 13:35:56 +07:00
Rivaldi A N S d34413fa3a Merge branch 'fix/debt-supplier' into 'development'
[FIX/FE] Delete Dummy Data and Separate Service API File

See merge request mbugroup/lti-web-client!168
2026-01-13 06:29:00 +00:00
randy-ar b9212d1241 fix(FE): delete dummy data and separate service api file 2026-01-13 12:03:45 +07:00
Rivaldi A N S 6a58be8c67 Merge branch 'fix/form-error-message' into 'development'
[FIX/FE] Form Error Message

See merge request mbugroup/lti-web-client!167
2026-01-13 04:35:43 +00:00
Rivaldi A N S d4b8d25bd5 Merge branch 'fix/debt-supplier-and-project-flock' into 'development'
[FIX/FE] Refactor data response debt supplier and fix Floating Action Button Project Flock

See merge request mbugroup/lti-web-client!166
2026-01-13 04:33:15 +00:00
Rivaldi A N S 19c4e0fd4b Merge branch 'dev/randy' into 'fix/debt-supplier-and-project-flock'
[FIX/FE] Refactor data response debt supplier and fix Floating Action Button Project Flock

See merge request mbugroup/lti-web-client!165
2026-01-13 04:29:21 +00:00
ValdiANS 9ffa60b935 fix: use AlertErrorList for showing error message list 2026-01-13 11:25:10 +07:00
randy-ar 77a7b6ccf8 fix(FE): change options value debt supplier 2026-01-13 11:23:17 +07:00
Rivaldi A N S 55376e9631 Merge branch 'feat/closing-kandang-hpp-ekspedisi-dan-penjualan' into 'development'
[FEAT/FE] Add Closing (Kandang) HPP Expedition (Ekspedisi) dan Sales (Penjualan)

See merge request mbugroup/lti-web-client!164
2026-01-13 04:15:46 +00:00
randy-ar 0ac14fe342 fix(FE): fixing floating action button project flock and change page size 2026-01-13 11:11:10 +07:00
rstubryan 06accca19e feat(FE): Support per-kandang sales fetching 2026-01-13 11:00:36 +07:00
rstubryan 0f5ac917d2 feat(FE): Support fetching HPP ekspedisi by kandang 2026-01-13 10:57:40 +07:00
randy-ar 00eed01cea Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into dev/randy 2026-01-13 10:47:32 +07:00
randy-ar 6702dd7dc6 fix(FE): fixing response data debt supplier 2026-01-13 10:46:52 +07:00
Rivaldi A N S a526772e02 Merge branch 'fix/marketing-report' into 'development'
[FIX/FE] Daily Marketing Report

See merge request mbugroup/lti-web-client!163
2026-01-13 03:38:56 +00:00
ValdiANS b486d25a8b chore: access sales.name 2026-01-13 10:34:54 +07:00
Rivaldi A N S b73b452621 Merge branch 'fix/marketing-report' into 'development'
[FIX/FE] Daily Marketing Report

See merge request mbugroup/lti-web-client!162
2026-01-13 03:27:14 +00:00
ValdiANS 4f4787e088 chore: create DailyMarketingReportResponse 2026-01-13 10:22:19 +07:00
ValdiANS f32024d19a chore: use DailyMarketingReportResponse 2026-01-13 10:21:31 +07:00
ValdiANS 3b666a924f chore: add total hpp price per kg footer 2026-01-13 10:21:22 +07:00
ValdiANS 021df11600 chore: add total props in DailyMarketingReportPDFProps and adjust data type 2026-01-13 10:20:23 +07:00
ValdiANS d306fad40c chore: use DailyMarketingReportResponse type 2026-01-13 10:19:22 +07:00
Rivaldi A N S ebc12638ff Merge branch 'fix/adjustment-closing-tab-and-finance-report' into 'development'
[FIX/FE] Adjustment Finance Report (Kontrol Pembayaran Customer)

See merge request mbugroup/lti-web-client!161
2026-01-13 02:30:22 +00:00
rstubryan 437dd75934 feat(FE): Add 5MB file size validation for document uploads 2026-01-13 08:42:07 +07:00
rstubryan e1c0701629 refactor(FE): Adapt customer payment report types and exports 2026-01-12 21:39:22 +07:00
rstubryan 96a5eb1be5 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2026-01-12 17:45:30 +07:00
rstubryan 7add41ea5a refactor(FE): Map approval 6 to green and export FinanceApi 2026-01-12 17:45:15 +07:00
Rivaldi A N S 548dfd19e5 Merge branch 'feat/FE/daily-checklist' into 'development'
[FEAT/FE] Daily Checklist

See merge request mbugroup/lti-web-client!160
2026-01-12 10:42:20 +00:00
ValdiANS f0a6dd4a5a Merge branch 'development' into feat/FE/daily-checklist 2026-01-12 17:37:20 +07:00
Rivaldi A N S 7159114733 Merge branch 'fix/submit-form' into 'development'
[FIX/FE] Create Custom Hooks for Formik Error List

See merge request mbugroup/lti-web-client!159
2026-01-12 10:35:24 +00:00
Rivaldi A N S e300a60b5a Merge branch 'dev/randy' into 'fix/submit-form'
[FIX/FE] Create Custom Hooks for Formik Error List

See merge request mbugroup/lti-web-client!158
2026-01-12 10:34:36 +00:00
ValdiANS 4cbd83a6fa feat: add document_urls property in DetailDailyChecklist type 2026-01-12 17:32:34 +07:00
ValdiANS b39202111e feat: create Document type 2026-01-12 17:32:07 +07:00
ValdiANS a891608d13 feat: add uploadImage and exportDailyChecklistReportToExcel method 2026-01-12 17:31:55 +07:00
ValdiANS aff05c6b1a feat: add export to excel 2026-01-12 17:31:35 +07:00
ValdiANS 70eac011f3 chore: remove export button 2026-01-12 17:31:07 +07:00
ValdiANS 10e843aebf chore: refresh phase after modifying activity 2026-01-12 17:31:00 +07:00
ValdiANS a24f51dad3 feat: show existing document 2026-01-12 17:30:44 +07:00
ValdiANS 9245285fe2 feat: add upload document in daily checklist 2026-01-12 17:30:30 +07:00
randy-ar eb1337292b Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into dev/randy 2026-01-12 17:19:53 +07:00
randy-ar aa114c164b fix(FE): create hooks for formik error list and integrate alert error list for finance and master data modules 2026-01-12 17:19:16 +07:00
randy-ar 0f9849c0ac fix(FE): fixing sapronak calculation get kandangId state 2026-01-12 15:38:07 +07:00
randy-ar 36b167dafb fix(FE): add production standard in detail project flock 2026-01-12 15:13:02 +07:00
ValdiANS 1002c6c437 feat: create Daily Checklist Configuration type 2026-01-12 14:42:41 +07:00
ValdiANS 25352659f3 feat: create Daily Checklist Configuration Api Service 2026-01-12 14:42:33 +07:00
ValdiANS dfac7f84ff feat: create MasterConfigurationContent component 2026-01-12 14:42:14 +07:00
ValdiANS c099314bdb feat: add route permission for daily checklist master configuration 2026-01-12 14:42:02 +07:00
ValdiANS 404019f181 feat: add Konfigurasi menu 2026-01-12 14:41:46 +07:00
ValdiANS 8afd8c6382 feat: create master daily checklist configuration page 2026-01-12 14:41:34 +07:00
Rivaldi A N S ef4ad07547 Merge branch 'fix/adjustment-submission-form-biaya' into 'development'
[FIX/FE] Submission Form Biaya Handling

See merge request mbugroup/lti-web-client!157
2026-01-12 07:41:15 +00:00
rstubryan 31aa8e7652 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into fix/adjustment-submission-form-biaya 2026-01-12 14:33:42 +07:00
Rivaldi A N S 994967e940 Merge branch 'dev/randy' into 'development'
[FEAT/FE] Report Sapronak Calculation per Kandang

See merge request mbugroup/lti-web-client!156
2026-01-12 07:30:47 +00:00
rstubryan 90eef08f9b refactor(FE): Enable sales tab and fetch sales data 2026-01-12 14:30:34 +07:00
rstubryan def2167803 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into fix/adjustment-submission-form-biaya 2026-01-12 14:13:09 +07:00
rstubryan bf834cf79b refactor(FE): Allow null for select fields and track id fields 2026-01-12 14:12:12 +07:00
randy-ar 470add1563 fix(FE): fix report debt supplier filters date type 2026-01-12 14:11:45 +07:00
randy-ar 114658f198 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into dev/randy 2026-01-12 14:01:35 +07:00
randy-ar d01bfe33a8 fix(FE): fix pagination report debt supplier 2026-01-12 14:01:03 +07:00
Rivaldi A N S 47ba16b20a Merge branch 'fix/finance-and-recording-adjustment' into 'development'
[FIX/FE] Adjust Biaya and Recording

See merge request mbugroup/lti-web-client!155
2026-01-12 06:46:30 +00:00
randy-ar d6c6211937 feat(FE): report sapronak calculation per kandang 2026-01-12 13:44:03 +07:00
ValdiANS 536b1c5b01 chore: uninstall supabase 2026-01-12 13:05:16 +07:00
ValdiANS f84fcb78b8 chore: delete supabase related code 2026-01-12 13:04:46 +07:00
ValdiANS aec5c89979 feat: create Daily Checklist Report type 2026-01-12 12:56:42 +07:00
ValdiANS f46a0610f5 feat: integrate Daily Checklist Report to API 2026-01-12 12:55:31 +07:00
randy-ar d879acc001 feat(FE): workaround general information closing kandang 2026-01-12 12:44:28 +07:00
rstubryan 8516929056 refactor(FE): Rename hand_* to hen_* and egg_mesh to egg_mass 2026-01-12 11:56:52 +07:00
rstubryan 595f2b5e9b refactor(FE): Require approval step 5 for realization 2026-01-12 11:32:17 +07:00
rstubryan 6a4e8776bd refactor(FE): Update approval steps and PDF nominal logic 2026-01-12 11:19:01 +07:00
rstubryan ec16c6c47e refactor(FE): Add Unit VP approval and rename Manager 2026-01-12 11:11:11 +07:00
rstubryan 2b2dd0a026 feat(FE): Add 5MB file size check and show form errors 2026-01-12 10:56:02 +07:00
ValdiANS a8c12d0c92 feat(FE): create type for daily checklist dashboard 2026-01-12 10:47:00 +07:00
ValdiANS 334bd08e60 feat: integrate Daily Checklist Dashboard to API integration 2026-01-12 10:46:19 +07:00
Rivaldi A N S ddd9a3d2da Merge branch 'feat/finance-debt-supplier-report' into 'development'
[FEAT/FE] Debt Supplier Report

See merge request mbugroup/lti-web-client!154
2026-01-12 02:55:53 +00:00
Rivaldi A N S 2b1d5290f3 Merge branch 'dev/randy' into 'feat/finance-debt-supplier-report'
[FEAT/FE] Debt Supplier Report

See merge request mbugroup/lti-web-client!153
2026-01-12 02:55:10 +00:00
randy-ar 935588b30e feat(FE): API integration debt supplier report 2026-01-11 21:07:01 +07:00
randy-ar 677025b4a2 feat(FE): API integration debt supplier report 2026-01-11 21:02:58 +07:00
randy-ar 0da9f9d651 feat(FE): API integration dashboard 2026-01-11 19:15:22 +07:00
randy-ar c752cad057 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into dev/randy 2026-01-11 00:16:49 +07:00
randy-ar cdfb59a70b feat(FE): adding report debt supplier report with temporary data types and dummy data 2026-01-11 00:16:12 +07:00
Rivaldi A N S 91fcbffab6 Merge branch 'feat/dashboard' into 'development'
[FEAT/FE] Slicing UI Dashboard and Integrate With Dummy Data

See merge request mbugroup/lti-web-client!152
2026-01-10 07:34:57 +00:00
Rivaldi A N S 33e3b86b82 Merge branch 'dev/randy' into 'feat/dashboard'
[FEAT/FE] Slicing UI Dashboard and Integrate With Dummy Data

See merge request mbugroup/lti-web-client!151
2026-01-10 07:33:05 +00:00
randy-ar a012707bae chore(FE): pull development 2026-01-10 08:11:45 +07:00
randy-ar 00bc644ea9 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into dev/randy 2026-01-10 08:10:18 +07:00
randy-ar 126346dc52 feat(FE): slicing ui dashboard, API integration with dummy data and form validation 2026-01-10 08:09:29 +07:00
randy-ar 777b06c690 feat(FE): slicing UI dashboard and define data types 2026-01-09 16:48:38 +07:00
Rivaldi A N S 1f96100390 Merge branch 'dev/restu' into 'development'
[FEAT/FE] Add Customer Payment Control Report Page

See merge request mbugroup/lti-web-client!150
2026-01-09 09:30:35 +00:00
rstubryan 7e5898a253 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2026-01-09 15:37:49 +07:00
Rivaldi A N S 86651d3f3f Merge branch 'feat/FE/daily-checklist' into 'development'
[FEAT/FE] Daily Checklist

See merge request mbugroup/lti-web-client!149
2026-01-09 08:35:03 +00:00
ValdiANS ebd3e14f0e Merge branch 'development' into feat/FE/daily-checklist 2026-01-09 15:32:27 +07:00
ValdiANS e9a1f4298f chore: add activity_count 2026-01-09 15:30:58 +07:00
ValdiANS cc8f258c41 feat: create Daily Checklist type 2026-01-09 15:30:45 +07:00
ValdiANS f60a07bc5b feat: create Daily Checklist API Service 2026-01-09 15:30:37 +07:00
ValdiANS 6dc93b1065 chore: add activity_count 2026-01-09 15:28:29 +07:00
ValdiANS 76c68d0d79 chore: make select scrollable 2026-01-09 15:23:56 +07:00
rstubryan f1ed22ff22 refactor(FE): Format numbers and currencies in payment XLSX 2026-01-09 15:16:54 +07:00
rstubryan d478ef5e22 refactor(FE): Remove date_type filter and hardcode filter_by 2026-01-09 15:08:21 +07:00
rstubryan 6643fe5a60 refactor(FE): Move filters into modal and refactor filter state 2026-01-09 14:58:41 +07:00
rstubryan 7a6b003cb9 feat(FE): Add Customer Payment report with export features 2026-01-09 14:42:23 +07:00
rstubryan e6cee4a93a feat(FE): Add finance report API and customer payment types 2026-01-09 14:41:21 +07:00
rstubryan c61ef5471b feat(FE): Add finance report route and menu link 2026-01-09 14:40:27 +07:00
ValdiANS c9c618e3f8 feat: integrate DetailDailyChecklistContent component to API 2026-01-09 14:13:14 +07:00
ValdiANS ceb7cb6b2d feat: integrate ListDailyChecklistContent component to API 2026-01-09 14:12:36 +07:00
ValdiANS f765895988 feat: integrate DailyChecklistContent component to API 2026-01-09 14:12:12 +07:00
ValdiANS b1715172db chore: update react and react-dom to safe version 2026-01-09 14:10:31 +07:00
Rivaldi A N S d84b2583d8 Merge branch 'dev/restu' into 'development'
[FEAT/FE] Refactor Closing (Keuangan) & Takeout Closing (Penjualan)

See merge request mbugroup/lti-web-client!148
2026-01-09 06:24:06 +00:00
rstubryan f38cebc0d9 refactor(FE): Limit Location select options to 100 2026-01-09 13:02:20 +07:00
rstubryan 7951754722 refactor(FE): Generate HPP table from static rows with defaults 2026-01-09 12:46:19 +07:00
rstubryan 4fc689898f refactor(FE): Use optional chaining for summary_hpp fields 2026-01-09 12:33:21 +07:00
rstubryan 69d7f65b76 refactor(FE): Disable sales tab and related data fetching 2026-01-09 12:31:53 +07:00
Rivaldi A N S b626c2805f Merge branch 'dev/restu' into 'development'
[FEAT/FE] Add Uniformity Chart Data (Ideal and Outside Range)

See merge request mbugroup/lti-web-client!147
2026-01-09 03:51:22 +00:00
rstubryan 97c16ce596 refactor(FE): Initialize and use current gauge week index 2026-01-09 10:46:05 +07:00
rstubryan 88e3ec7bbc refactor(FE): Reduce default query limit to 100 2026-01-09 09:48:54 +07:00
rstubryan 3ce30115f8 refactor(FE): Add validation and error messages to filter modal 2026-01-09 09:30:51 +07:00
rstubryan 4fdfe63dc9 refactor(FE): Remove document_path from movement payload 2026-01-09 09:24:46 +07:00
rstubryan badb1e141a refactor(FE): Deduplicate delivery documents by filename 2026-01-09 08:29:21 +07:00
rstubryan c894f26d18 refactor(FE): Handle ideal/outside ranges in uniformity tooltip 2026-01-08 13:52:23 +07:00
rstubryan 3b9599d169 refactor(FE): Set peer flag in package-lock.json 2026-01-08 13:51:28 +07:00
rstubryan 9a9a9c0cb5 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2026-01-08 13:18:22 +07:00
Rivaldi A N S b69126ed84 Merge branch 'feat/FE/daily-checklist' into 'development'
[FEAT/FE] Daily Checklist

See merge request mbugroup/lti-web-client!146
2026-01-08 06:18:03 +00:00
rstubryan 91b0bf7c27 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2026-01-08 13:15:31 +07:00
Rivaldi A N S 1b2a45f9ac Merge branch 'feat/FE/refactor-submission-form' into 'development'
[FEAT/FE] Refactor Submission Form (Alert Error and Submit Button) & Adjust Uniformity Page

See merge request mbugroup/lti-web-client!145
2026-01-08 06:13:10 +00:00
rstubryan cb62416552 refactor(FE): Increase file upload limit to 5 MB 2026-01-08 12:40:35 +07:00
rstubryan d2781b0a89 refactor(FE): Validate Uniformity form and show error list 2026-01-08 12:38:07 +07:00
rstubryan 325f3f1bd8 refactor(FE): Display form error list in purchase forms 2026-01-08 12:35:16 +07:00
rstubryan 346c731c42 refactor(FE): Display Formik validation errors in alert list 2026-01-08 12:31:25 +07:00
rstubryan 61766d3255 refactor(FE): Show validation error list before submit 2026-01-08 12:27:26 +07:00
rstubryan 0898892f15 feat(FE): Show unique form errors and improve product form 2026-01-08 11:11:58 +07:00
rstubryan 3dd4a9cebc refactor(FE): Reset submission flag when clearing uniformity filters 2026-01-08 10:51:47 +07:00
rstubryan 549e15499c feat(FE): Add CV field and section bottom margin 2026-01-08 10:42:07 +07:00
rstubryan a4a07f2ce9 refactor(FE): Remove on-demand weight fetch and show empty state 2026-01-08 10:39:21 +07:00
rstubryan 6930696692 refactor(FE): Lazy-load uniformity details and show spinner 2026-01-08 10:37:17 +07:00
rstubryan 7df9559f35 refactor(FE): Move sampling and result tables to UniformityDetail 2026-01-08 10:29:08 +07:00
rstubryan eeeb0a404c Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/refactor-submission-form 2026-01-08 10:23:50 +07:00
rstubryan b3c4a438ad refactor(FE): Use chart_data for Uniformity and add week nav 2026-01-08 10:17:31 +07:00
ValdiANS a9e6f7155e Merge branch 'development' into feat/FE/daily-checklist 2026-01-08 10:04:32 +07:00
ValdiANS 3d94474d7c chore: add supabase client 2026-01-08 09:56:29 +07:00
ValdiANS 4872a53a25 chore: adjust styling for search input 2026-01-08 09:56:05 +07:00
rstubryan 662dec38bc refactor(FE): Add with_chart param to date filter 2026-01-08 09:51:10 +07:00
Rivaldi A N S 9f0cefe91c Merge branch 'dev/randy' into 'development'
[FEAT/FE] Adding helper function for alert list error formik

See merge request mbugroup/lti-web-client!144
2026-01-08 02:50:32 +00:00
rstubryan 3cb6bfcf52 feat(FE): Add chart data types to Uniformity API types 2026-01-08 09:47:33 +07:00
ValdiANS 7d4869fbdc feat: create type for Phase 2026-01-08 09:41:50 +07:00
ValdiANS 4ae36ee3f0 feat: create type for Phase Activity 2026-01-08 09:41:44 +07:00
ValdiANS 21acb09f0c feat: create type for Master Employee 2026-01-08 09:41:24 +07:00
ValdiANS f17bc1493b feat: create Phase API Service 2026-01-08 09:41:01 +07:00
ValdiANS 6943cd3903 feat: create Phase Activity API Service 2026-01-08 09:40:53 +07:00
ValdiANS 14b63dd0f1 feat: create Employee API Service 2026-01-08 09:40:40 +07:00
ValdiANS db4d9ad38c feat: integrate MasterEmployeeContent component to API 2026-01-08 09:40:02 +07:00
ValdiANS 06dd9a3609 feat: integrate MasterAktivitasContent component to API 2026-01-08 09:39:50 +07:00
ValdiANS 5ba58c92d4 feat: add daily checklist route permissions 2026-01-08 09:39:21 +07:00
ValdiANS d44de5a363 feat: add daily checklist menu 2026-01-08 09:39:02 +07:00
ValdiANS b70ae164e1 feat: format pathname 2026-01-08 09:38:42 +07:00
ValdiANS f89236bb5e feat: create Daily Checklist Report page 2026-01-08 09:38:32 +07:00
ValdiANS 4759a82034 feat: create Master Data Employee page 2026-01-08 09:38:22 +07:00
ValdiANS 866bd90b3d feat: create Master Activity page 2026-01-08 09:38:09 +07:00
ValdiANS b0dfc7f31c feat: create Detail Daily Checklist page 2026-01-08 09:37:57 +07:00
ValdiANS 561a9fe186 feat: add layout file for detail of daily checklist list page 2026-01-08 09:37:35 +07:00
rstubryan dbdfd2c50b refactor(FE): Remove location, project_flock and kandang fields 2026-01-08 09:37:05 +07:00
ValdiANS afc102e618 feat: create Daily Checklist List page 2026-01-08 09:36:54 +07:00
ValdiANS 7736fce5bb feat: create Daily Checklist Dashboard page 2026-01-08 09:36:43 +07:00
ValdiANS 04dcf110a3 feat: create Daily Checklist page 2026-01-08 09:35:58 +07:00
ValdiANS 53bca6170f feat: add SonnerToaster 2026-01-08 09:35:46 +07:00
ValdiANS 20e27dccc1 chore: import figma-make theme styling 2026-01-08 09:34:52 +07:00
rstubryan 965dc01e86 feat(FE): Add location, project flock, and kandang fields 2026-01-08 09:27:51 +07:00
randy-ar 64a0a9c8a8 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into dev/randy 2026-01-08 09:25:20 +07:00
randy-ar 0ed30e184b feat(FE): implement alert error list in marketing module 2026-01-08 09:19:55 +07:00
randy-ar 13205ca80a feat(FE): adding alert errors message for project flock and fixing bug approval status in chickin 2026-01-08 08:59:27 +07:00
rstubryan 0d6e229ee5 refactor(FE): Allow null for document_path in schema 2026-01-07 18:11:12 +07:00
rstubryan 319afa3faf refactor(FE): Require positive IDs in movement form schema 2026-01-07 18:01:26 +07:00
rstubryan 6da6cf699f refactor(FE): Require warehouse IDs to be at least 1 2026-01-07 17:50:44 +07:00
rstubryan ca830f8e3d Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/refactor-submission-form 2026-01-07 17:42:35 +07:00
rstubryan 22be41058f refactor(FE): Normalize Tailwind classnames in MovementForm 2026-01-07 17:35:55 +07:00
rstubryan c4debcecce refactor(FE): Add default empty product and delivery rows 2026-01-07 16:18:02 +07:00
rstubryan 6fdff6706d refactor(FE): Clear file input on form reset 2026-01-07 15:54:16 +07:00
rstubryan d5b4111ae4 refactor(FE): Remove travel_document_path field and handling 2026-01-07 15:46:58 +07:00
Rivaldi A N S 2df86e7be8 Merge branch 'fix/chickins-approval' into 'development'
[FIX/FE] Fix chickins approval

See merge request mbugroup/lti-web-client!143
2026-01-07 08:27:40 +00:00
Rivaldi A N S 6efe44ba55 Merge branch 'dev/randy' into 'fix/chickins-approval'
[FIX/FE] Fix chickins approval

See merge request mbugroup/lti-web-client!142
2026-01-07 08:24:59 +00:00
randy-ar c766f53753 fix(FE): fix chickins approvals status 2026-01-07 15:16:40 +07:00
rstubryan 38dfeec892 refactor(FE): Move movement error to top and remove isValid check 2026-01-07 15:11:36 +07:00
rstubryan cf8ed9ccad refactor(FE): Use expedition vendor id fallback in mapping 2026-01-07 15:06:43 +07:00
rstubryan 90c61cbdf6 refactor(FE): Only disable submit button during submission 2026-01-07 15:01:57 +07:00
rstubryan bfcdb9883d refactor(FE): Move purchase order error alert below heading 2026-01-07 14:53:24 +07:00
rstubryan b0a1b837d0 refactor(FE): Move error alert to top of purchase forms 2026-01-07 14:45:38 +07:00
rstubryan 09ae619829 refactor(FE): Stop blocking Submit on form validity 2026-01-07 14:41:54 +07:00
rstubryan 59f4528841 refactor(FE): Stop disabling Submit when form is invalid 2026-01-07 14:39:43 +07:00
rstubryan d049f6c34f refactor(FE): Tighten product form validation and layout 2026-01-07 14:21:37 +07:00
rstubryan 8b7ed9e46b refactor(FE): Move error alert above form 2026-01-07 14:09:47 +07:00
rstubryan e6172be81e refactor(FE): Allow submit when invalid and move error alert 2026-01-07 14:08:04 +07:00
rstubryan 324b9b14ef refactor(FE): Move form error above fields 2026-01-07 14:07:02 +07:00
rstubryan a10c20394d Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/refactor-submission-form 2026-01-07 14:01:45 +07:00
rstubryan ff2d53a0b7 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2026-01-07 14:01:30 +07:00
Rivaldi A N S 42d8896ab7 Merge branch 'fix/FE/route-permission' into 'development'
[FIX/FE] Format pathname for route permission

See merge request mbugroup/lti-web-client!141
2026-01-07 06:57:59 +00:00
ValdiANS 50d499005d fix: format pathname 2026-01-07 13:57:00 +07:00
Rivaldi A N S b421bc48d0 Merge branch 'fix/FE/US-340/marketing-report' into 'development'
[FIX/FE] Adjust marketing report endpoint

See merge request mbugroup/lti-web-client!140
2026-01-07 06:03:34 +00:00
ValdiANS f7986149e8 fix: adjust marketing report endpoint 2026-01-07 13:01:32 +07:00
rstubryan 309a9ecc86 refactor(FE): Increase upload file size limit to 5 MB 2026-01-07 11:38:28 +07:00
ValdiANS d30979f5cd feat: add figma-make style 2026-01-07 11:21:28 +07:00
Rivaldi A N S 43cd3abe02 Merge branch 'dev/randy' into 'development'
[FIX/FE] Adding current stock information in SO and DO marketing

See merge request mbugroup/lti-web-client!139
2026-01-07 04:19:55 +00:00
ValdiANS 770f363c60 feat: add figma make components 2026-01-07 10:59:12 +07:00
ValdiANS 88c6c863e7 feat: install dependencies for components from figma make 2026-01-07 10:58:09 +07:00
randy-ar ba84e718cb Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into dev/randy 2026-01-07 10:52:12 +07:00
Rivaldi A N S fed2bf7878 Merge branch 'dev/restu' into 'development'
[HOTFIX/FE][US#281-391] Adjustment Uniformity, Purchase and Expense

See merge request mbugroup/lti-web-client!138
2026-01-07 02:15:53 +00:00
rstubryan 6f90bd604a feat(FE): Enforce 2MB file limit and improve FileInput 2026-01-06 20:38:51 +07:00
rstubryan fa199e4879 refactor(FE): Support add/edit type and use ProductPrice for add 2026-01-06 20:25:09 +07:00
rstubryan 46c06ea548 refactor(FE): Support add/edit type and use ProductPrice for add 2026-01-06 20:24:29 +07:00
rstubryan fd868eaa0c refactor(FE): Add ProductPrice and SellingPrice fields to types 2026-01-06 20:12:47 +07:00
rstubryan 8dfccf25d8 refactor(FE): Truncate delivery document name in MovementForm 2026-01-06 19:32:13 +07:00
randy-ar 5d8dfca3b5 fix(FE): shows delivery number when status marketing is delivery in marketing detail page 2026-01-06 16:06:26 +07:00
randy-ar aee0ad8a20 feat(FE): adding stok information in form repeater SO and DO 2026-01-06 14:42:52 +07:00
rstubryan 2fa086bb32 refactor(FE): Prefer latest_approval action and add file_name 2026-01-06 14:01:01 +07:00
randy-ar 0af612703a fix(FE): remove pullet table, change doc table to conditional data base on project flock category 2026-01-06 13:46:18 +07:00
rstubryan f22c4e4798 refactor(FE): Adjust expense status badge colors 2026-01-06 13:32:59 +07:00
randy-ar 841aadc107 fix(FE): fixing issue reject modal show up when creating project flock 2026-01-06 13:29:05 +07:00
rstubryan f31a80340b refactor(FE): Check delete API response before showing toast 2026-01-06 11:04:54 +07:00
rstubryan 727fd2ad43 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2026-01-06 10:46:24 +07:00
rstubryan a4275f4b66 refactor(FE): Support UniformityDetail in confirmation preview 2026-01-06 10:46:05 +07:00
Rivaldi A N S 9ac5e0ee76 Merge branch 'dev/restu' into 'development'
[HOTFIX/FE][US#439-281-352-391] Fix Issue Based on UAT Revision and Taiga

See merge request mbugroup/lti-web-client!137
2026-01-06 03:30:14 +00:00
rstubryan 24499d110a refactor(FE): Refactor Uniformity charts to use API data 2026-01-06 08:36:23 +07:00
rstubryan c24aebe02d refactor(FE): Highlight ideal ranges in Uniformity charts 2026-01-05 15:29:52 +07:00
rstubryan fd32b55ad9 refactor(FE): Provide defaults for missing info_umum fields 2026-01-05 15:13:00 +07:00
rstubryan d2b19cbd7b refactor(FE): Force form remount on initialValues change 2026-01-05 15:07:09 +07:00
rstubryan 2c29cffa45 refactor(FE): Remove overflow-visible class from table wrapper 2026-01-05 14:50:10 +07:00
rstubryan 476cf2fa29 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2026-01-05 13:47:41 +07:00
Rivaldi A N S 1797498df2 Merge branch 'dev/randy' into 'development'
[FIX/FE][US#304] Adjust Permission for Finance and Marketing

See merge request mbugroup/lti-web-client!135
2026-01-05 06:47:30 +00:00
randy-ar f7d1beffcf Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into dev/randy 2026-01-05 13:46:45 +07:00
rstubryan ac6e7c6d36 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2026-01-05 13:46:33 +07:00
rstubryan d7ef86e24b refactor(FE): Add default page/limit to location and flock queries 2026-01-05 13:46:21 +07:00
Rivaldi A N S 3dff72b0f0 Merge branch 'feat/FE/US-335/production-data-report' into 'development'
[FEAT/FE][US#335] Production Data Report

See merge request mbugroup/lti-web-client!136
2026-01-05 06:46:17 +00:00
ValdiANS eea76e77a8 chore: update displayed data 2026-01-05 13:42:20 +07:00
randy-ar 11f9a685a8 fix(FE): permission for balance injection in finance detail page 2026-01-05 13:42:01 +07:00
ValdiANS c863ebc2af chore: update ClosingProductionData type 2026-01-05 13:41:16 +07:00
randy-ar e8aea0a27e fix(FE): resolve merge conflict 2026-01-05 13:13:37 +07:00
randy-ar 79cf777b11 fix(FE): merge with branch development 2026-01-05 13:11:03 +07:00
randy-ar 203782c258 fix(FE): adjust permission finance 2026-01-05 13:05:10 +07:00
Rivaldi A N S 0a0a1a23f9 Merge branch 'feat/FE/US-81/production-result-report' into 'development'
[FEAT/FE][US#81] Production Result Report

See merge request mbugroup/lti-web-client!134
2026-01-05 04:34:21 +00:00
ValdiANS f9f4c5b67c Merge branch 'development' into feat/FE/US-81/production-result-report 2026-01-05 11:30:28 +07:00
ValdiANS 98107373e8 Merge branch 'development' into feat/FE/US-81/production-result-report 2026-01-05 11:30:04 +07:00
ValdiANS 9838cf347b feat(FE-443,444): create exportProductionResultToExcel method 2026-01-05 11:27:38 +07:00
ValdiANS f183ee5c7a chore: update permission name 2026-01-05 11:23:47 +07:00
ValdiANS 2ab2cd6d99 chore: adjust header column styling 2026-01-05 11:19:59 +07:00
ValdiANS 1571d79685 chore: disabled export button if filter is not selected yet 2026-01-05 11:18:19 +07:00
ValdiANS 5e3648b385 chore: update permission name from lti.finance.transaction to lti.finance.transactions 2026-01-05 11:11:34 +07:00
rstubryan 62b05bf9c0 refactor(FE): Add week navigation to UniformityGaugeChart 2026-01-05 09:11:54 +07:00
rstubryan 7579cd5533 refactor(FE): Remove Kandang prop and center Uniformity gauge 2026-01-05 08:56:09 +07:00
rstubryan 174e5ed1a3 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2026-01-05 08:36:15 +07:00
kris c6e9e98ce1 Update .gitlab-ci.yml file 2026-01-03 12:42:09 +00:00
randy-ar 9562ce7b40 fix(FE): remove bypass permission in marketing detail and form page 2026-01-02 15:11:06 +07:00
rstubryan 57fa67c05a refactor(FE): Support MovementDocument in movement form 2026-01-02 14:22:57 +07:00
Rivaldi A N S eadb08879d Merge branch 'fix/FE/redirect-to-sso' into 'development'
[FIX/FE] Redirect to SSO

See merge request mbugroup/lti-web-client!133
2026-01-02 07:10:30 +00:00
Rivaldi A N S 50b8b77f22 Merge branch 'dev/randy' into 'development'
[FIX/FE][US#284] Fix sapronak calculation data types

See merge request mbugroup/lti-web-client!132
2026-01-02 06:55:56 +00:00
ValdiANS 045913d05f chore: lint 2026-01-02 13:28:46 +07:00
ValdiANS b53c8b99a0 chore: refresh user session when user first enter the web 2026-01-02 12:40:07 +07:00
randy-ar f23d369e02 fix(FE): integrate search filter marketing 2026-01-02 10:15:50 +07:00
randy-ar d6b8b10183 fix(FE): remove bypass permission and integrate table filter 2026-01-02 10:04:56 +07:00
rstubryan 1c77deeee7 refactor(FE): Move Movement FormData into API service 2026-01-02 10:00:14 +07:00
rstubryan 6a3d2c0dcd refactor(FE): Drop refresh prop and simplify UniformityTable 2026-01-02 09:07:30 +07:00
rstubryan b1f4b4dc4b refactor(FE): Refresh uniformities on successful mutation 2026-01-02 09:03:42 +07:00
rstubryan a518895096 refactor(FE): Conditionally render sampling and result sections 2026-01-02 08:47:08 +07:00
randy-ar 046fb74cab fix(FE-284): adjust data types for sapronak calculation 2025-12-31 15:18:17 +07:00
kris 00f09364b1 Update .gitlab-ci.yml file 2025-12-31 07:44:43 +00:00
kris 02c5cddc94 Update .gitlab-ci.yml file 2025-12-31 07:32:33 +00:00
kris 9f079c1e52 Update .gitlab-ci.yml file 2025-12-31 07:26:27 +00:00
rstubryan c32074d72c Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2025-12-31 14:12:56 +07:00
kris 7d46e3dc2e Update .gitlab-ci.yml file 2025-12-31 06:57:40 +00:00
rstubryan e7b53efa4b Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2025-12-31 13:57:28 +07:00
Rivaldi A N S aebb9a0b28 Merge branch 'hotfix-finance-and-production' into 'development'
[HOTFIX/FE][US][TASK] Hotfix bypass permission di marketing

See merge request mbugroup/lti-web-client!131
2025-12-31 06:42:53 +00:00
randy-ar 4ec62c936e hotfix(FE): bypass permission marketing 2025-12-31 13:32:11 +07:00
randy-ar f7ae1f835f Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into hotfix-finance-and-production 2025-12-31 13:29:09 +07:00
randy-ar 3769309ce3 hotfix(FE): bypass permission marketinh 2025-12-31 13:28:27 +07:00
randy-ar 15b3151c5f fix(FE): fix perhitungan sapronak 2025-12-31 13:18:22 +07:00
Rivaldi A N S b0707db551 Merge branch 'hotfix/master-data' into 'development'
[HOTFIX/FE] Master Data Warehouse

See merge request mbugroup/lti-web-client!130
2025-12-31 06:12:22 +00:00
randy-ar 1a8d794a66 fix(FE): fix finance party select 2025-12-31 13:10:58 +07:00
ValdiANS 1b7e8a342f fix: fix onInputChange of kandang select input 2025-12-31 13:10:58 +07:00
rstubryan f08fae4f77 refactor(FE): Enable reinitialize and map expedition vendor 2025-12-31 13:00:48 +07:00
randy-ar 6cd09a413d fix(FE): fix delete reseponse project flock 2025-12-31 12:25:08 +07:00
Rivaldi A N S 84eb34a9dd Merge branch 'dev/restu' into 'development'
[HOTFIX/FE] Fix Issue Purchase Expedition Vendor Name

See merge request mbugroup/lti-web-client!129
2025-12-31 05:16:54 +00:00
rstubryan 37317ed95c fix(FE): Make expedition_vendor optional and nullable 2025-12-31 11:58:45 +07:00
rstubryan 201c9249cc fix(FE): Make expedition_vendor optional and nullable 2025-12-31 11:58:14 +07:00
rstubryan 46dfacae23 refactor(FE-Fix): Use optional chaining for expedition vendor name 2025-12-31 11:53:40 +07:00
Rivaldi A N S d856b35e24 Merge branch 'feat/FE/US-281/TASK-316-317-slicing-ui-and-integrate-api-daily-recording-growing-uniformity-page' into 'development'
[FEAT/FE][US#281/TASK-316-317] Uniformity Page and Adjustment Purchase Accept Issue

See merge request mbugroup/lti-web-client!128
2025-12-31 04:29:45 +00:00
rstubryan 28c94e3e1d refactor(FE): Show expedition vendor name in order detail 2025-12-31 11:21:35 +07:00
rstubryan a1e8f582ba refactor(FE-316,317,438): Move Uniformity feature under production
namespace
2025-12-31 11:17:26 +07:00
rstubryan f3f552bd16 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-281/TASK-316-317-slicing-ui-and-integrate-api-daily-recording-growing-uniformity-page 2025-12-31 11:02:37 +07:00
rstubryan 5af00faa32 feat(FE): Add travel document upload to purchase form 2025-12-31 11:02:06 +07:00
Rivaldi A N S f0dcb6b8ca Merge branch 'feat/FE/refresh-user-session' into 'development'
[FEAT/FE] Refresh user session

See merge request mbugroup/lti-web-client!127
2025-12-31 03:47:29 +00:00
rstubryan e32b9ddcb2 feat(FE-316): Display created uniformity in confirmation preview 2025-12-31 10:37:21 +07:00
ValdiANS 57ef4109f7 feat: refresh user session 2025-12-31 10:34:07 +07:00
rstubryan ef3611e7fc refactor(FE-316): Rename document_name to file_name and add standard 2025-12-31 10:20:59 +07:00
rstubryan 0090961ec0 refactor(FE-316): Support localized uniformity statuses and fields 2025-12-31 10:17:39 +07:00
rstubryan 640cf26970 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-281/TASK-316-317-slicing-ui-and-integrate-api-daily-recording-growing-uniformity-page 2025-12-31 10:03:37 +07:00
Rivaldi A N S d1d0692e2e Merge branch 'feat/FE/US-281-439/TASK-440-441-recording-page-and-form-adjustment' into 'development'
[FEAT/FE][US#281-439/TASK-440-441] Recording Page and Form Adjustment

See merge request mbugroup/lti-web-client!125
2025-12-31 03:01:09 +00:00
rstubryan 6b13794ee5 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-281-439/TASK-440-441-recording-page-and-form-adjustment 2025-12-31 09:44:10 +07:00
rstubryan 8e88355894 refactor(FE-441): Refactor RecordingForm layout and labels 2025-12-31 09:43:05 +07:00
Rivaldi A N S 1b98e5d4d8 Merge branch 'feat/FE/US-81/production-result-report' into 'development'
[FEAT/FE][US#81] Production Result Report

See merge request mbugroup/lti-web-client!126
2025-12-31 02:42:23 +00:00
rstubryan d8daf09844 refactorF(FE-441): Display formatted fcr_std in RecordingForm 2025-12-31 09:20:49 +07:00
ValdiANS 0bb9aee139 chore: set dummy permission 2025-12-31 09:09:55 +07:00
Rivaldi A N S 306b8d3bf3 Merge branch 'hotfix/dashboard-permission' into 'development'
[HOTFIX/FE][US#390] Hotfix temporary permission for dashboard and finance

See merge request mbugroup/lti-web-client!124
2025-12-31 02:06:42 +00:00
rstubryan 2bf764a05c refactor(FE-441): Display '-' for empty/zero numeric fields 2025-12-31 09:02:15 +07:00
rstubryan 6c3285f624 refactor(FE-441): Make recording metrics grid responsive 2025-12-31 08:54:15 +07:00
rstubryan afb79b0589 feat(FE-441): Format and display intake, hand house, and totals 2025-12-31 08:50:51 +07:00
rstubryan 4f571f1c16 feat(FE-441): Show laying metrics and extend ProductionMetrics 2025-12-31 08:40:56 +07:00
rstubryan 81ca60a09b Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-281-439/TASK-440-441-recording-page-and-form-adjustment 2025-12-31 08:22:40 +07:00
randy-ar 23453eb8f5 hotfix(FE): change temporary permission for dashboard, finance and master data standard 2025-12-30 23:52:13 +07:00
Rivaldi A N S 3dc32da834 Merge branch 'feat/FE/US-81/production-result-report' into 'development'
[FEAT/FE][US#81/TASK-442] Production Result Report

See merge request mbugroup/lti-web-client!123
2025-12-30 16:02:58 +00:00
ValdiANS f089492830 chore: adjust closing data type 2025-12-30 22:49:39 +07:00
rstubryan 3412994d15 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-281/TASK-316-317-slicing-ui-and-integrate-api-daily-recording-growing-uniformity-page 2025-12-30 22:43:23 +07:00
ValdiANS 6eaa92dfd4 Merge branch 'development' into feat/FE/US-81/production-result-report 2025-12-30 22:30:56 +07:00
rstubryan 8d668429e1 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-281-439/TASK-440-441-recording-page-and-form-adjustment 2025-12-30 22:29:28 +07:00
rstubryan 8d1a3b665e refactor(FE-440): Use styled HTML tables for FCR and mortality 2025-12-30 22:29:15 +07:00
ValdiANS 7b99bae197 feat(FE-443): create ProductionResult type 2025-12-30 22:27:59 +07:00
ValdiANS dad169d854 feat(FE-443): create ProductionResultReportApiService 2025-12-30 22:27:33 +07:00
ValdiANS f985c041e4 chore: create getAll method in BaseApiService 2025-12-30 22:26:43 +07:00
ValdiANS 5326eff293 feat(FE-442): add laporan hasil produksi route permission 2025-12-30 22:26:29 +07:00
ValdiANS d66bd8c606 feat(FE-442): add Laporan Hasil Produksi menu 2025-12-30 22:25:53 +07:00
ValdiANS ea5ad20684 feat(FE-442): create ProductionResultProjectFlockKandangTable component 2025-12-30 22:25:27 +07:00
ValdiANS 23ee8828f0 feat(FE-442): create ProductionResultContent component 2025-12-30 22:24:22 +07:00
ValdiANS 0dd2edfe01 feat(FE-442): create Production Result Report page 2025-12-30 22:22:23 +07:00
Rivaldi A N S 6edc278bdf Merge branch 'feat/FE/US-391/TASK-435-436-expense-adjustment' into 'development'
[FEAT/FE][US#391/TASK-435-436] Expense Adjustment

See merge request mbugroup/lti-web-client!122
2025-12-30 15:21:09 +00:00
Rivaldi A N S f81c49becb Merge branch 'dev/randy' into 'development'
[FIX/FE][US#337-390] Fix issue in finance and adding dummy dashboard

See merge request mbugroup/lti-web-client!121
2025-12-30 15:20:45 +00:00
rstubryan 03a9451fc8 feat(FE-441): Add FCR and mortality tables to detail view 2025-12-30 22:18:51 +07:00
rstubryan cc0b051a0a refactor(FE-440): Remove body_weights handling from recording forms 2025-12-30 21:55:37 +07:00
rstubryan 865438e3fb refactor(FE-436): Check kandang_id before showing kandang name 2025-12-30 21:26:40 +07:00
rstubryan d39b71e759 refactor(FE-436): Use fallback when kandang name missing 2025-12-30 21:21:35 +07:00
rstubryan 5e6b03ef08 refactor(FE-435,436): Use location name as fallback for expense titles 2025-12-30 21:17:37 +07:00
rstubryan c291ba3246 refactor(FE-435,436): Use S3 public base URL for document links 2025-12-30 20:52:12 +07:00
randy-ar ab2e7db9d0 fix(FE): error null in marketing 2025-12-30 20:32:23 +07:00
rstubryan 13c1a82142 refactor(FE-435,436): Select Nominal Biaya by approval step 2025-12-30 20:19:05 +07:00
rstubryan 6185fafb57 refactor(FE-435): Multiply qty by price when summing expenses 2025-12-30 19:56:31 +07:00
randy-ar 2ab7c10d5d feat(FE): adding column standard fcr in master data standar production 2025-12-30 19:53:50 +07:00
randy-ar bc6ebcfeda fix(FE): add optional chaining for sapronak calculation in closing odule 2025-12-30 19:34:32 +07:00
randy-ar 10fb9fc990 feat(FE-390): slicing UI and API integration for production dashboard 2025-12-30 19:30:52 +07:00
randy-ar 28639516d5 feat(FE-390): slicing UI and API integration for production dashboard 2025-12-30 19:29:42 +07:00
rstubryan 2bf0f2874e refactor(FE-435): Allow realizations without kandang 2025-12-30 19:28:38 +07:00
rstubryan a81a61135f refactor(FE-435,436): Exclude null kandang_id from expense payload 2025-12-30 19:03:26 +07:00
rstubryan d2e88c2061 refactor(FE-435,436): Allow optional kandang and location expenses 2025-12-30 18:53:46 +07:00
rstubryan 8f4f3d93b8 refactor(FE-435,436): Add location_id to expense form and payload 2025-12-30 18:38:59 +07:00
rstubryan 7daca04cc1 refactor(FE-435): Add required asterisks to table headers 2025-12-30 17:54:03 +07:00
rstubryan 2c5168badf Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2025-12-30 17:31:28 +07:00
rstubryan 73f4b486c0 refactor(FE-438): Increase vertical margin in table skeleton 2025-12-30 16:46:43 +07:00
rstubryan ed7ee1a268 refactor(FE-316): Refine Filter Modal layout and styles 2025-12-30 16:42:19 +07:00
rstubryan 4e7b91a7b4 refactor(FE-316): Add commented local API URL to UniformityApi 2025-12-30 16:07:35 +07:00
rstubryan 7c0581728e feat(FE-316): Use population instead of available_quantity 2025-12-30 14:41:06 +07:00
rstubryan 52cb440cb3 refactor(FE-316): Rename documents to document in uniformity 2025-12-30 13:35:24 +07:00
rstubryan 7c64870fed refactor(FE-316): Add submission state to apply filters 2025-12-30 11:46:43 +07:00
rstubryan 7290f242f4 feat(FE-438): Add Excel and PDF export for Uniformity table 2025-12-30 11:37:08 +07:00
rstubryan 9be09ae281 refactor(FE-438): Make filter modal and controls responsive 2025-12-30 10:55:43 +07:00
rstubryan 32088b916f refactor(FE-438): Refine Filter modal UI and controls 2025-12-30 10:39:37 +07:00
rstubryan f51236fcfc refactor(FE-316): Use single-select filters, add PF-Kandang lookup 2025-12-30 10:23:01 +07:00
rstubryan c385c42c8f feat(FE-316): Support multi-select filters in UniformityTable 2025-12-30 10:17:46 +07:00
rstubryan 02dc624036 feat(FE-316): Add filter modal and query params for Uniformity 2025-12-30 10:11:51 +07:00
rstubryan 4e5f9c710c refactor(FE-316): Replace bulk delete with single-item delete 2025-12-30 09:50:09 +07:00
randy-ar 2712821f4e fix(FE-337): fix finance input and transaction type 2025-12-30 09:25:54 +07:00
rstubryan d6849a48d2 refactor(FE-316): Rename file to documents in uniformity feature 2025-12-30 09:21:38 +07:00
rstubryan 2e44371c6c feat(FE-316): Add withpopulation query param to kandang lookup 2025-12-30 09:05:50 +07:00
rstubryan 98ae56a1aa feat(FE-438): Load uniformity details on demand 2025-12-29 22:22:09 +07:00
rstubryan 7fcab4d295 feat(FE-316): Add tooltip and remove control to file upload 2025-12-29 21:24:13 +07:00
rstubryan 550bcc426b refactor(FE-316): Rename fileName to file_name in uniformity forms 2025-12-29 21:04:25 +07:00
rstubryan 844ac01b70 refactor(FE-316): Clamp subtitle text and update export filename 2025-12-29 20:58:12 +07:00
rstubryan 9ef232bac5 refactor(FE-316): Polish Uniformity template and upload UI 2025-12-29 20:50:53 +07:00
rstubryan 34ec650a01 refactor(FE-316): Clarify instructions in uniformity template 2025-12-29 20:42:38 +07:00
rstubryan 1d27781c02 feat(FE-316): Add instruction sheet and format data sheet 2025-12-29 19:43:32 +07:00
rstubryan e81c0a3baf feat(FE-316): Add uniformity Excel template generator 2025-12-29 19:34:17 +07:00
rstubryan be0bdcd299 feat(FE-316): Show required data count in upload area 2025-12-29 17:52:26 +07:00
randy-ar 7e73c99074 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into dev/randy 2025-12-29 16:35:11 +07:00
randy-ar 0f86ba0f2d fix(FE): adjust options in master data product 2025-12-29 15:52:43 +07:00
randy-ar 10a37fde75 fix(FE): fix delete and update button row in master data production standards 2025-12-29 15:01:42 +07:00
rstubryan 6ad1a3349b refactor(FE-316): Extract Uniformity confirmation preview component 2025-12-29 14:53:29 +07:00
rstubryan 3bb5d5e5a5 refactor(FE-316): Change upload file hint to .xlsx 2025-12-29 14:44:38 +07:00
rstubryan 3279fb30ce refactor(FE-316): Update template label to XLSX 2025-12-29 14:43:54 +07:00
rstubryan 34eae71b44 refactor(FE-316): Guard unsubscribe call with optional chaining 2025-12-29 14:43:11 +07:00
rstubryan 4f168b51c7 refactor(FE-316): Centralize uniformity types and add typings 2025-12-29 14:32:17 +07:00
rstubryan ded1cc1f62 refactor(FE-316): Extract uniformity slice and add types 2025-12-29 14:24:23 +07:00
rstubryan 39f2fc48a8 refactor(FE): Remove unnecessary comments in useEffect 2025-12-29 14:16:28 +07:00
rstubryan a72b22da6e Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-281/TASK-316-317-slicing-ui-and-integrate-api-daily-recording-growing-uniformity-page 2025-12-29 14:15:29 +07:00
rstubryan dc4e569453 refactor(FE-438): Remove unused view handler and simplify catch 2025-12-29 14:03:14 +07:00
rstubryan 17a6cee1e3 refactor(FE-438): Fix Uniformity component sample data and imports 2025-12-29 14:01:37 +07:00
rstubryan 5e32724d40 refactor(FE-438): Show approve/reject only when step is CREATED 2025-12-29 13:51:32 +07:00
randy-ar cd3a5ad441 feat(FE): adding production standard select options for project flock 2025-12-29 13:50:23 +07:00
rstubryan 11bd8b27b5 refactor(FE-438): Remove CV field from Uniformity preview 2025-12-29 13:46:27 +07:00
rstubryan 9a1a6a7e41 refactor(FE-316): Add cursor to buttons and enlarge close icon 2025-12-29 13:43:28 +07:00
rstubryan d02f919b76 refactor(FE-438): Rename uniformityDetails prop to uniformity_details 2025-12-29 13:37:18 +07:00
rstubryan 4529ee50e3 refactor(FE-316, 438): Move uniformity types into shared types file 2025-12-29 13:30:16 +07:00
randy-ar cd42bd6bc0 fix(FE): change hatchery to optional in master data supplier 2025-12-29 13:26:39 +07:00
rstubryan 4ed1e4f8b5 refactor(FE-438): Fix Uniformity gauge skeleton sizing 2025-12-29 13:22:18 +07:00
randy-ar ea7f8a68f4 fix(FE): change select option warehouse marketing to correct data warehouses 2025-12-29 13:19:16 +07:00
rstubryan 11a63f76b7 refactor(FE-438): Use shared DetailOptionType for result tables 2025-12-29 13:18:44 +07:00
rstubryan cd41d5daab refactor(FE-438): Extract uniformity status and weight helpers 2025-12-29 13:16:39 +07:00
rstubryan 9f2fcbf154 refactor(FE-438): Add uniformity details preview drawer 2025-12-29 12:08:30 +07:00
rstubryan 70d9b4d8ed feat(FE-438): Add approval badge to uniformity detail 2025-12-29 09:23:25 +07:00
rstubryan 39f70bd71b refactor(FE-438): Remove unused code from UniformityDetail 2025-12-28 21:25:45 +07:00
rstubryan 817f8a7010 refactor(FE-438): Update UniformityDetail header 2025-12-28 21:22:11 +07:00
rstubryan 2276df2790 feat(FE-438): Handle approve/reject via URL and add buttons 2025-12-28 21:19:38 +07:00
rstubryan 8ec76af012 feat(FE-438): Add Uniformity detail view and navigation 2025-12-28 20:58:59 +07:00
rstubryan 9f0dc8c644 refactor(FE-438): Localize modal buttons and stub uniformity details 2025-12-28 18:48:00 +07:00
rstubryan 2d0c8dbd3f refactor(FE-438): Refactor ConfirmationModal icon and update usages 2025-12-28 17:46:27 +07:00
rstubryan 8224dbf8ec refactor(FE-438): Rework confirmation modals and add bulk approve 2025-12-28 17:08:47 +07:00
rstubryan 6e4462e217 feat(FE-438): Add approve/reject flows to UniformityTable 2025-12-28 16:58:29 +07:00
rstubryan b1ccad081d refactor(FE-438): Add icon position/size and subtitle to modal 2025-12-28 16:44:01 +07:00
rstubryan c0a818af7e feat(FE-438): Add bulk approve/reject/delete and FAB 2025-12-28 14:32:14 +07:00
Rivaldi A N S e0371b0884 Merge branch 'feat/FE/US-388/master-data-uniformity-standard' into 'development'
[FEAT/FE][US#388] Master Data Standar Produksi

See merge request mbugroup/lti-web-client!118
2025-12-28 07:15:27 +00:00
rstubryan 8a6f78ef84 feat(FE-316): Show details table in success confirmation modal 2025-12-28 14:06:30 +07:00
rstubryan b2c09bb7c7 refactor(FE-316): Reset uniformity state on drawer close 2025-12-28 13:56:32 +07:00
rstubryan c550922974 refactor(FE-316): Use real data and formatting in uniformity results 2025-12-28 13:52:59 +07:00
Rivaldi A N S 432d837aaf Merge branch 'dev/randy' into 'feat/FE/US-388/master-data-uniformity-standard'
[FEAT/FE][US#388] Master Data Standar Produksi

See merge request mbugroup/lti-web-client!116
2025-12-28 05:23:38 +00:00
rstubryan b24fb54856 refactor(FE-316): Update uniformity payload/fields and file handling 2025-12-28 11:50:14 +07:00
rstubryan f37eea687a feat(FE-316): Show success modal after creating uniformity 2025-12-28 10:17:29 +07:00
randy-ar 77b05c6440 chore(FE): delete dummy data 2025-12-28 04:39:40 +07:00
randy-ar 731bec5a94 feat(FE-337): slicing ui form finance and API integration 2025-12-28 04:28:02 +07:00
randy-ar 6ea25aa3b1 feat(FE-331): implement permission guard in project flock, chickin and closing kandang 2025-12-28 01:00:20 +07:00
randy-ar d4f4505405 feat(FE-331): implement permission guard in project flock, chickin and closing kandang 2025-12-28 00:56:39 +07:00
randy-ar bd653851e2 feat(FE-331): implement permission guard in master data productions standards 2025-12-28 00:23:50 +07:00
rstubryan c8f47c741a feat(FE-316): Add status badges and result summary tables 2025-12-27 23:15:19 +07:00
rstubryan 78486be3ea refactor(FE-316): Remove RequirePermission and update header buttons 2025-12-27 22:45:44 +07:00
rstubryan fe04bf5692 refactor(FE-316): Hide back icon and divider in uniformity forms 2025-12-27 22:39:03 +07:00
rstubryan 3c29b8bc77 refactor(FE-316): Show selected file name in preview subtitle 2025-12-27 22:32:12 +07:00
rstubryan 45d65024db refactor(FE-316): Extract uniformity state into separate store 2025-12-27 21:51:13 +07:00
rstubryan fd2077c68b refactor(FE-316): Add fileName to Uniformity form data 2025-12-27 21:36:34 +07:00
rstubryan 819b709f7e feat(FE-316): Add Uniformity result drawer and flow 2025-12-27 21:25:06 +07:00
rstubryan 549a710a8d feat(FE-316): Save and preview uniformity verification 2025-12-27 21:00:07 +07:00
rstubryan ec8ae7561d feat(FE-316): Add verifyUniformity and split payload types 2025-12-27 19:09:03 +07:00
rstubryan 5f68c05acc refactor(FE-316,438): Wrap Uniformity actions with permission checks 2025-12-27 18:05:25 +07:00
randy-ar b9b349aa7a fix(FE): resolve git pull merge development 2025-12-27 16:49:16 +07:00
rstubryan 0a447f93c1 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-281/TASK-316-317-slicing-ui-and-integrate-api-daily-recording-growing-uniformity-page 2025-12-27 16:48:00 +07:00
Rivaldi A N S 6ec6323bbc Merge branch 'feat/FE/US-304/permission-guard' into 'development'
[FEAT/FE][US#304] Permission Guard

See merge request mbugroup/lti-web-client!115
2025-12-27 09:41:13 +00:00
randy-ar c44e63bd2b fix(FE): fix page responsive in project flock dan marketing modules 2025-12-27 16:36:07 +07:00
ValdiANS 500c30c2bc feat(FE-331): implement permission guard in transfer to laying 2025-12-27 16:05:50 +07:00
ValdiANS 507c4005af feat(FE-331): implement permission guard in recording 2025-12-27 14:34:59 +07:00
randy-ar d49bca1d40 feat(FE): api integration production standards 2025-12-27 13:46:19 +07:00
rstubryan e4d75dad68 refactor(FE-316): Rename CreateUniformityPayload to
VerifyUniformityPayload
2025-12-27 09:17:09 +07:00
rstubryan 4f22024c82 refactor(FE-316): Rename ExpandedDrawerForm to UniformityPreviewForm 2025-12-27 09:12:31 +07:00
rstubryan 751c27b73e feat(FE-316): Add delete button to ExpandedDrawerForm header 2025-12-27 09:05:12 +07:00
rstubryan 0d77aa4a5f feat(FE-438): Display date and week in Uniformity table 2025-12-27 08:57:01 +07:00
rstubryan 6fde6b180a feat(FE-316): Add isNextStep flag for expanded drawer flow 2025-12-27 08:37:05 +07:00
randy-ar 663c1dea14 feat(FE): add master data production standard, slicing form and index table 2025-12-27 03:23:03 +07:00
rstubryan 4aab54981e refactor(FE-316): Use single file field and remove unused IDs 2025-12-26 23:05:25 +07:00
rstubryan 04c987b86b refactor(FE-316): Remove toggleExpandedDrawer from drawer slice 2025-12-26 22:57:28 +07:00
rstubryan 800739bd4f refactor(FE-316): Add expanded drawer content and dynamic width 2025-12-26 22:50:41 +07:00
rstubryan e0ee846106 refactor(FE-438): Center text in UniformityForm placeholder 2025-12-26 22:39:36 +07:00
rstubryan 84b49d2ac6 refactor(FE-438): Normalize ID handling and simplify callbacks 2025-12-26 22:35:42 +07:00
rstubryan ec95ddbddd refactor(FE-438): Add min validators and file error handling 2025-12-26 22:05:36 +07:00
rstubryan 6d2057842d refactor(FE-438): Remove sm: prefix from drawer-end class 2025-12-26 21:52:10 +07:00
rstubryan 1843a47d59 refactor(FE-438): Replace FileInput with custom file upload UI 2025-12-26 21:50:59 +07:00
ValdiANS 9e0d3e2bbf feat(FE-331): implement permission guard in project flock 2025-12-26 21:08:00 +07:00
rstubryan e6a38c3f65 refactor(FE-438): Scope Drawer classes to sm breakpoint 2025-12-26 20:29:18 +07:00
rstubryan f58cb43801 refacotr(FE-438): Unsubscribe validate subscription and close drawer 2025-12-26 19:17:12 +07:00
rstubryan 517e8c758c refactor(FE-438): Add Project Flock selection and lookup 2025-12-26 17:12:40 +07:00
rstubryan 97c5917401 refactor(FE-438): Unsubscribe immediately after validation 2025-12-26 16:21:42 +07:00
ValdiANS 4be719b9d8 feat(FE-331): implement permission guard in purchase 2025-12-26 16:21:22 +07:00
rstubryan 31a9828661 refactor(FE-316): Use useSelect for location options 2025-12-26 16:15:33 +07:00
rstubryan 580c357667 feat(FE-316): Add Uniformity form with validation and upload 2025-12-26 16:08:04 +07:00
ValdiANS 1152cd2bef chore(FE-331): update report permission 2025-12-26 15:46:06 +07:00
rstubryan f1227c9dcb feat(FE-438): Add UniformityTable skeleton for empty state 2025-12-26 10:58:27 +07:00
rstubryan 5f3c3be1f3 refactor(FE-438): Use skeleton class in UniformityBarChartSkeleton 2025-12-26 10:55:24 +07:00
rstubryan ae00f49e64 feat(FE-438): Add gauge skeleton and use in UniformityChart 2025-12-26 10:36:29 +07:00
rstubryan d9322cc17d refactor(FE-438): Make left legend skeleton DRY and widen gaps 2025-12-26 10:13:17 +07:00
rstubryan f5f154883b feat(FE-438): Add UniformityBarChartSkeleton and use it 2025-12-26 09:49:18 +07:00
rstubryan 8c21883aa9 refactor(FE-316): Move UniformityStat to chart folder 2025-12-26 08:38:54 +07:00
randy-ar 4ddd1dc8e3 feat(FE-337): slicing ui form add finance 2025-12-24 18:45:33 +07:00
rstubryan 879702d31d refactor(FE-316): Add expandable secondary drawer panel 2025-12-24 17:53:14 +07:00
randy-ar 8c95dc8327 feat(FE-350): add filtering table 2025-12-24 16:44:53 +07:00
rstubryan f0eb3fcf52 refactor(FE-316): Remove overflow-visible class from table wrapper 2025-12-24 16:38:50 +07:00
ValdiANS df6c1ae49d feat(FE-331): implement permission guard in marketing 2025-12-24 15:43:45 +07:00
ValdiANS 42a56a08d7 chore(FE-331): update /marketing/detail/ permission name 2025-12-24 15:31:50 +07:00
rstubryan 871f0403ad feat(FE-316): Disable tooltip cursor in uniformity bar chart 2025-12-24 11:46:13 +07:00
rstubryan b57a0fcc90 feat(FE-316): Add gradient fill and refine bar chart axes 2025-12-24 11:44:29 +07:00
rstubryan 6ef9c1338f Merge branch 'feat/FE/US-281/TASK-316-317-slicing-ui-and-integrate-api-daily-recording-growing-uniformity-page' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-281/TASK-316-317-slicing-ui-and-integrate-api-daily-recording-growing-uniformity-page 2025-12-24 11:24:24 +07:00
rstubryan ea4dd29bbf feat(FE-316): Add axis labels and responsive sizing to bar chart 2025-12-24 11:23:37 +07:00
rstubryan d591c89cac feat(FE-316): Add axis labels and responsive sizing to bar chart 2025-12-24 11:22:47 +07:00
rstubryan 22d24af41c feat(FE-316): Add info icon to Card titles 2025-12-24 11:11:35 +07:00
ValdiANS 6ed7dcfa6d feat(FE-331): implement permission guard in expense 2025-12-24 11:08:37 +07:00
ValdiANS dda29e10d1 chore: change "Biaya Operasional" menu text to "Biaya" 2025-12-24 11:07:40 +07:00
rstubryan 20d124504b refactor(FE-316): Use CSS background classes for status badges 2025-12-24 10:57:02 +07:00
rstubryan b9c1989cae refactor(FE-316): Refactor Uniformity table and status helpers 2025-12-24 10:51:12 +07:00
rstubryan 5fae7752f2 feat(FE): Add status indicator to Badge and use theme types 2025-12-24 10:32:39 +07:00
ValdiANS 9d9b9d93db feat(FE-331): implement permission guard in closing 2025-12-24 09:41:48 +07:00
ValdiANS f41899dbc9 feat(FE-331): add /report route to ROUTE_PERMISSIONS 2025-12-24 09:24:16 +07:00
rstubryan 9e5d878e82 feat(FE-316,317): Add accessorKey and id for UniformityTable columns 2025-12-23 22:15:33 +07:00
rstubryan 035f187bac refactor(FE-316,317): Extract Uniformity table columns to constant 2025-12-23 22:12:24 +07:00
rstubryan cb78ec4990 feat(FE-316,317): Enhance UniformityTable with selection and actions 2025-12-23 21:58:28 +07:00
rstubryan 3a2fac013e feat(FE-317): Add uniformity field to Uniformity type 2025-12-23 21:57:44 +07:00
rstubryan 3b2e11fd41 feat(FE-317): Add Uniformity API service and types 2025-12-23 21:21:25 +07:00
rstubryan 414d617341 refactor(FE-316): Adjust UniformityChart responsive grid 2025-12-23 20:10:28 +07:00
rstubryan 0774200aa5 refactor(FE-316): Extract Uniformity charts into components 2025-12-23 18:52:05 +07:00
rstubryan 5dd64b9907 feat(FE-316): Add Gauge and Detail Card to Uniformity Chart 2025-12-23 18:33:47 +07:00
rstubryan 8fc5d42bb8 refactor(FE-316): Fix header markup and comment out UniformityStat 2025-12-23 17:52:29 +07:00
randy-ar 36ff6d04ee feat(FE-337): init slicing UI and define data types 2025-12-23 17:38:16 +07:00
rstubryan f23a0144b0 refactor(FE-316): Replace tooltip with custom uniformity design 2025-12-23 16:40:37 +07:00
ValdiANS de63b6721a feat(FE-331): implement permission guard in inventory 2025-12-23 16:40:32 +07:00
ValdiANS a200dac23c chore(FE-331): fix inventory route path 2025-12-23 16:39:08 +07:00
rstubryan 09dd907f88 feat(FE-316): Add Uniformity page and form component 2025-12-23 16:11:02 +07:00
rstubryan 33b8d0a8b0 feat(FE-316): Add Uniformity page and layout components 2025-12-23 16:10:12 +07:00
rstubryan 398282b3bf feat(FE-316): Add Uniformity page components 2025-12-23 16:09:29 +07:00
rstubryan 035482accc feat(FE-317): Add Uniformity menu item to main drawer 2025-12-23 16:03:36 +07:00
ValdiANS fcfd2fb576 Merge branch 'feat/FE/US-304/permission-guard' into feat/FE/US-304/permission-guard-master-data 2025-12-23 15:55:50 +07:00
ValdiANS 2c28d0a831 Merge branch 'feat/FE/US-304/permission-guard' into feat/FE/US-304/permission-guard-master-data 2025-12-23 15:53:05 +07:00
rstubryan 907afbb062 chore(FE): Add Recharts deps and run tsc in pre-commit 2025-12-23 15:51:26 +07:00
ValdiANS addfaff692 feat(FE-331): implement permission guard in master data 2025-12-23 12:10:07 +07:00
ValdiANS ecdbb764d5 feat(FE-331): only show menu if user has the permission 2025-12-23 12:09:49 +07:00
ValdiANS a3be3de338 feat(FE-331): return PermissionNotFound component if user is not permitted 2025-12-23 12:09:06 +07:00
ValdiANS 9e895af62a chore: refresh user data every 13 minutes 2025-12-23 12:08:39 +07:00
ValdiANS 1f9992c1c8 feat(FE-331): add permissions to MAIN_DRAWER_LINKS 2025-12-23 12:08:16 +07:00
ValdiANS 574fb3b371 feat(FE-331): create ROUTE_PERMISSION constant 2025-12-23 12:07:55 +07:00
ValdiANS 4643a39c3e feat(FE-331): create RequirePermission helper component 2025-12-23 12:07:38 +07:00
ValdiANS 88b8767ca4 chore: lint 2025-12-23 12:07:24 +07:00
ValdiANS de19cc5de2 feat(FE-331): create PermissionNotFound component 2025-12-23 12:07:14 +07:00
rstubryan b9dad3094c Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2025-12-23 11:08:36 +07:00
Adnan Zahir a4b9b3fd2f Merge branch 'feat/FE/US-334/expedition-hpp-report' into 'development'
[FEAT/FE][US#334] Slicing and Integrate API Expedition HPP Report Table

See merge request mbugroup/lti-web-client!111
2025-12-23 10:57:59 +07:00
Adnan Zahir b91a199d13 Merge branch 'feat/FE/US-339/purchase-report' into 'development'
[FEAT/FE][US#339] Slicing and Integrate API Purchase Report Page

See merge request mbugroup/lti-web-client!109
2025-12-23 10:57:46 +07:00
rstubryan ff427d13cc Merge branch 'feat/FE/US-334/expedition-hpp-report' of gitlab.com:mbugroup/lti-web-client into dev/restu 2025-12-23 10:55:03 +07:00
rstubryan 8295943b82 Merge branch 'feat/FE/US-339/purchase-report' of gitlab.com:mbugroup/lti-web-client into dev/restu 2025-12-23 10:53:44 +07:00
rstubryan a3169d582d Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2025-12-23 10:52:24 +07:00
rstubryan bf16d259bd Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-334/expedition-hpp-report 2025-12-23 10:43:56 +07:00
rstubryan 5ae299a4b5 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-339/purchase-report 2025-12-23 10:31:32 +07:00
Adnan Zahir c840f881bb Merge branch 'feat/FE/US-352/daily-kandang-hpp-report' into 'development'
[FEAT/FE][US#352] HPP Harian Per Kandang Report

See merge request mbugroup/lti-web-client!114
2025-12-23 10:20:10 +07:00
Adnan Zahir 6f16cf6deb Merge branch 'feat/FE/US-338/expense-report' into 'development'
[FEAT/FE][US#338] Expense Report

See merge request mbugroup/lti-web-client!110
2025-12-23 10:19:43 +07:00
Adnan Zahir 5b4bc136f2 Merge branch 'feat/FE/US-336/finance-report' into 'development'
[FEAT/FE][US#336] Reporting Closing Finance

See merge request mbugroup/lti-web-client!108
2025-12-23 10:19:02 +07:00
rstubryan dd6c6263e7 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2025-12-23 09:32:08 +07:00
rstubryan 346d655406 refactor(FE): Upgrade xlsx and add HPP per kandang tab 2025-12-23 09:25:26 +07:00
rstubryan 5ff132070c Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-352/daily-kandang-hpp-report 2025-12-23 09:24:17 +07:00
randy-ar 398a09bf3b Merge branch 'development' into 'feat/FE/US-336/finance-report'
# Conflicts:
#   src/config/constant.ts
2025-12-23 02:22:41 +00:00
randy-ar 4e1315a027 Merge branch 'development' into 'feat/FE/US-338/expense-report'
# Conflicts:
#   src/components/pages/closing/ClosingDetail.tsx
2025-12-23 02:21:47 +00:00
Adnan Zahir dcf2acc799 Merge branch 'feat/FE/US-333/overhead-report' into 'development'
[FEAT/FE][US#333] Reporting Closing Overhead

See merge request mbugroup/lti-web-client!107
2025-12-22 17:45:56 +07:00
randy-ar 67a3ce2906 fix(FE): resolve conflict with branch development 2025-12-22 16:53:06 +07:00
randy-ar 1d28e80b66 fix(FE): resolve conflict with branch development 2025-12-22 16:45:18 +07:00
randy-ar 9dae6f1e95 fix(FE): resolve merge conflict with branch development 2025-12-22 16:34:49 +07:00
rstubryan 5d03b68576 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2025-12-22 15:48:43 +07:00
Adnan Zahir 4bc9926356 Merge branch 'feat/FE/US-335/production-data-report' into 'development'
[FEAT/FE][US#335] Production Data Report

See merge request mbugroup/lti-web-client!106
2025-12-22 15:38:54 +07:00
ValdiANS ea32056ca8 feat(FE-347): adjust getProductionData method 2025-12-22 15:29:39 +07:00
ValdiANS ddfdfe4d91 Merge branch 'development' into feat/FE/US-335/production-data-report 2025-12-22 15:28:01 +07:00
ValdiANS 7ea16d6a8a Merge branch 'development' into feat/FE/US-335/production-data-report 2025-12-22 15:23:15 +07:00
ValdiANS 206d6c0b4e Merge branch 'development' into feat/FE/US-335/production-data-report 2025-12-22 15:15:04 +07:00
Adnan Zahir 382721059a Merge branch 'feat/FE/US-340/marketing-report' into 'development'
[FEAT/FE][US#340] Marketing Report

See merge request mbugroup/lti-web-client!103
2025-12-22 14:47:12 +07:00
Rivaldi A N S 6a71828167 Merge branch 'feat/FE/US-352/TASK-355-356-357-slicing-and-integrate-kandang-hpp-daily-report-page' into 'feat/FE/US-352/daily-kandang-hpp-report'
[FEAT/FE][US#352/TASK-355-356-357] Slicing and Integrate API Hpp Harian Per Kandang Report

See merge request mbugroup/lti-web-client!113
2025-12-20 03:53:12 +00:00
rstubryan a5e79570c5 refactor(FE-356): Clarify 'Sisa Kg' label to specify Ayam 2025-12-20 10:30:11 +07:00
rstubryan 804aa700d3 feat(FE-356): Display egg production and HPP in PDF export 2025-12-20 10:26:18 +07:00
rstubryan 982a5d0d11 feat(FE-356): Display egg production and HPP in PDF export 2025-12-20 10:25:40 +07:00
rstubryan 478e9eb541 refactor(FE-356): Use summaryTotal and memoize per-weight summary 2025-12-20 10:18:50 +07:00
rstubryan 9e0631a415 feat(FE-355,357): Use summary totals and show egg metrics 2025-12-20 10:13:48 +07:00
rstubryan 18ca7d8a59 refactor(FE-357): Reference summary.total in footers 2025-12-20 09:50:19 +07:00
rstubryan eb8a1567c6 refactor(FE-355): Render weight-range summaries as table rows 2025-12-20 09:47:50 +07:00
rstubryan a0e63ea2d4 refactor(FE-355): Use flexRender and prepend default row in table 2025-12-20 09:37:42 +07:00
rstubryan 1ac35691ff refactor(FE-355): Move td classes into tr with [&_td] utilities 2025-12-20 09:32:35 +07:00
Rivaldi A N S f9aa254c18 Merge branch 'dev/randy' into 'feat/FE/US-338/expense-report'
[FIX/FE][US#338] Fixing Export PDF Using jspdf Library

See merge request mbugroup/lti-web-client!112
2025-12-20 02:17:37 +00:00
rstubryan c8effe4473 feat(FE-355,357): Render per-weight-range summary rows 2025-12-20 09:17:31 +07:00
rstubryan c230c8000b refactor(FE-355,356,257): Use API summary per_weight_range for HPP
reports
2025-12-20 08:52:34 +07:00
randy-ar a7267370a0 fix(FE): fix export report expense & fix report closing table view & fix project flock form set disable inofrmasi umum on edit 2025-12-19 17:20:02 +07:00
rstubryan daddebc0a6 refactor(FE-357): Refactor HppPerKandang types and add BaseMetadata 2025-12-19 16:30:06 +07:00
rstubryan 856d1f5c0c feat(FE): Filter supplier options by SAPRONAK category 2025-12-19 14:05:50 +07:00
rstubryan da5a577fde refactor(FE-357): Add key to summary table row 2025-12-19 13:46:02 +07:00
rstubryan c36d1ee153 feat(FE-355): Add custom row renderer to HppPerKandangTab 2025-12-19 13:40:41 +07:00
rstubryan 7259de8b14 feat(FE): Add renderCustomRow prop to Table 2025-12-19 12:56:25 +07:00
Rivaldi A N S 9e576cf444 Merge branch 'feat/FE/US-334/TASK-344-345-slicing-and-integrate-expedition-hpp-report-table' into 'feat/FE/US-334/expedition-hpp-report'
[FEAT/FE][US#334/TASK-344-345] Slicing and Integrate API Expedition HPP Report Table

See merge request mbugroup/lti-web-client!105
2025-12-19 03:33:05 +00:00
rstubryan d7b828cb47 chore(FE): Add xlsx@0.20.3 from SheetJS CDN 2025-12-19 10:24:16 +07:00
Rivaldi A N S f757e5f6ba Merge branch 'dev/randy' into 'feat/FE/US-338/expense-report'
[FEAT/FE][US#338] Expense Report

See merge request mbugroup/lti-web-client!104
2025-12-19 03:17:50 +00:00
rstubryan 7f694c7298 chore(FE): Bump Next.js to 15.5.9 2025-12-19 10:17:08 +07:00
Rivaldi A N S 5326fc918a Merge branch 'feat/FE/US-339/TASK-361-362-363-slicing-purchase-and-integrate-purchase-report-page' into 'feat/FE/US-339/purchase-report'
[FEAT/FE][US#339/TASK-361-362-363-367] Slicing and Integrate API Purchase Report Page

See merge request mbugroup/lti-web-client!101
2025-12-19 03:06:04 +00:00
Rivaldi A N S 6658312427 Merge branch 'dev/randy' into 'feat/FE/US-336/finance-report'
[FEAT/FE][US#336] Reporting Closing Finance

See merge request mbugroup/lti-web-client!100
2025-12-19 02:51:28 +00:00
Rivaldi A N S de73c626b1 Merge branch 'dev/randy' into 'feat/FE/US-333/overhead-report'
[FEAT/FE][US#333] Reporting Closing Overhead

See merge request mbugroup/lti-web-client!99
2025-12-19 02:47:10 +00:00
ValdiANS faaa10b74b chore(FE-347): update ClosingProductionData type 2025-12-19 09:39:56 +07:00
ValdiANS d66eaf08c0 chore(FE-347): set return type for getProductionData method 2025-12-19 09:39:43 +07:00
ValdiANS a6a6ff9f72 feat: create dummyClosingProductionData 2025-12-19 09:38:57 +07:00
ValdiANS 5a21a3b44c chore(FE-347): adjust UI based on updated ClosingProductionData type 2025-12-19 09:38:39 +07:00
rstubryan 00e0126e42 refactor(FE-357): Use string weights and parse floats for filters 2025-12-18 20:35:47 +07:00
rstubryan 2f23755510 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-352/TASK-355-356-357-slicing-and-integrate-kandang-hpp-daily-report-page 2025-12-18 20:27:08 +07:00
rstubryan 996e132660 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-339/TASK-361-362-363-slicing-purchase-and-integrate-purchase-report-page 2025-12-18 20:18:02 +07:00
rstubryan e3eda4f5e4 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-334/TASK-344-345-slicing-and-integrate-expedition-hpp-report-table 2025-12-18 20:15:19 +07:00
ValdiANS 7cc616ff41 Merge branch 'development' into feat/FE/US-335/production-data-report 2025-12-18 19:29:27 +07:00
randy-ar 0b75d68494 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into dev/randy 2025-12-18 19:01:48 +07:00
randy-ar 83224e046b fix(FE): fix submenu stock product name 2025-12-18 19:00:30 +07:00
ValdiANS 096a8d394e Merge branch 'development' into feat/FE/US-335/production-data-report 2025-12-18 18:50:22 +07:00
randy-ar 11bf6ad760 feat(FE): adding xlsx package 2025-12-18 18:14:56 +07:00
randy-ar c8a834f84a feat(FE): adding export xlsx for report expense, change report data fetching, adding progress bar 2025-12-18 18:13:27 +07:00
kris ead5ba759d Update .gitlab-ci.yml file 2025-12-18 10:00:38 +00:00
rstubryan 8ceca2cc59 refactor(FE-345): Rename CostOfRevenueExpedition to HppExpedition 2025-12-18 16:38:39 +07:00
rstubryan 8dc23f83cd refactor(FE-335): Rename expedition HPP types and update usages 2025-12-18 16:26:09 +07:00
Rivaldi A N S 57f53b0a04 Merge branch 'feat/FE/US-340/TASK-364-365-368-marketing-report' into 'feat/FE/US-340/marketing-report'
[FEAT/FE][US#340/TASK#364-365-368] Marketing Report

See merge request mbugroup/lti-web-client!102
2025-12-18 09:25:46 +00:00
ValdiANS 7e0aa4f790 feat(FE-365): create marketing report types 2025-12-18 16:19:30 +07:00
ValdiANS 2fe4ec981c chore: remove double declaration 2025-12-18 16:18:25 +07:00
ValdiANS cf41fbfdaf feat(FE-365): create Marketing Report API Service 2025-12-18 16:18:11 +07:00
ValdiANS 86cef78a12 feat(FE-347): create product data dummy data 2025-12-18 16:13:37 +07:00
ValdiANS fa63bd8ff9 feat: create marketing-report.dummy.ts for marketing report dummy data 2025-12-18 16:12:19 +07:00
ValdiANS d9b41a6760 feat: add laporan menu, FILTER_TYPE_OPTIONS, and MARKETING_TYPE_OPTIONS 2025-12-18 16:11:59 +07:00
ValdiANS c9cf33f1ad feat(FE-364): create MarketingReportContent component 2025-12-18 16:10:10 +07:00
ValdiANS 33d8d2aa2a feat(FE-364): create DailyMarketingsTable component 2025-12-18 16:09:34 +07:00
ValdiANS 61d85154fd feat(FE-368): create DailyMarketingReportPDF component 2025-12-18 16:08:46 +07:00
ValdiANS 466ea47121 feat(FE-364): create DailyMarketingReportContent component 2025-12-18 16:08:15 +07:00
ValdiANS 3a35c72e06 feat: add isLoading prop 2025-12-18 16:07:19 +07:00
ValdiANS 09d36f504b feat: refresh user data every 13 minutes 2025-12-18 16:07:04 +07:00
ValdiANS b9b7e45bc7 chore: update Dropdown component 2025-12-18 16:06:48 +07:00
ValdiANS e49c247f02 chore: update Tabs component 2025-12-18 16:06:41 +07:00
ValdiANS b8c6f94db8 feat(FE-364): create Marketing Report page 2025-12-18 16:06:19 +07:00
ValdiANS 5def3c9f17 chore: update next version and install xlsx 2025-12-18 16:04:43 +07:00
rstubryan 447b8067f7 refactor(FE-345): Rename hpp-ekspedisi endpoint to expedition-hpp 2025-12-18 15:55:20 +07:00
rstubryan 4a8f2b1e1d feat(FE-345): Add HPP expedition types and API method 2025-12-18 15:49:01 +07:00
rstubryan 36389bae2a refactor(FE-364): Refactor purchases export to use supplier reports 2025-12-18 15:11:34 +07:00
rstubryan d001b05c4e refactor(FE-361,363,364): Use per-supplier report arrays for export 2025-12-18 14:58:54 +07:00
rstubryan 20494657c6 refactor(FE-363): Extract row and summary types for logistic report 2025-12-18 14:35:10 +07:00
rstubryan 2d8e479b6c refactor(FE-363): Switch LogisticApi service to reports endpoint 2025-12-18 14:16:00 +07:00
rstubryan fef7f0e29b refactor(FE-363): Use relative endpoint for logistic reports 2025-12-18 13:59:11 +07:00
rstubryan 81d242bd1d refactor(FE-361,363): Add sort order selector to PurchasesPerSupplierTab 2025-12-18 13:57:58 +07:00
rstubryan 1be596921a refactor(FE-363): Fetch export data on demand via callback 2025-12-18 13:50:38 +07:00
rstubryan 8fb1ccbdce refactor(FE-364): Add hyphen before timestamp in export filenames 2025-12-18 13:40:26 +07:00
rstubryan 85fddcb19a refactor(FE-364): Timestamp purchases-per-supplier export filenames 2025-12-18 13:39:05 +07:00
rstubryan 915e68f755 refactor(FE-363): Send joined filter params to logistic report API 2025-12-18 13:35:40 +07:00
rstubryan 87adbf8547 refactor(FE-363): Accept array filters in logistic purchase report 2025-12-18 13:31:08 +07:00
rstubryan e8492f87ba refactor(FE-364): Enable multi-select filters for purchases report 2025-12-18 13:28:00 +07:00
rstubryan ceae338c73 refactor(FE-356): Include period in export filenames 2025-12-18 13:10:21 +07:00
rstubryan fa7824224c refactor(FE-356): Use timestamped filename for HPP export 2025-12-18 13:05:01 +07:00
rstubryan 6b30457ec2 feat(FE-356): Include filter details in export header 2025-12-18 13:02:16 +07:00
rstubryan 843fa6ee7a refactor(FE-357): Make area/location/kandang filters multi-select 2025-12-18 12:56:05 +07:00
randy-ar a935ffd9f5 fix(FE): fixing floating button & revert require auth component 2025-12-18 11:33:18 +07:00
rstubryan 1de98db4ba refactor(FE-361): Hide unused logistic tabs and adjust card 2025-12-18 11:31:05 +07:00
rstubryan f844c9ff2c refactor(FE-357): Use relative URL for marketing sale reports 2025-12-18 11:19:23 +07:00
rstubryan 83fc92d48b refactor(FE-356): Refactor weight-range grouping and format currency 2025-12-18 11:12:30 +07:00
rstubryan 4edd4f1285 feat(FE-356): Add egg production and HPP fields to PDF export 2025-12-18 09:57:21 +07:00
rstubryan cc3765abcd refactor(FE-356): Add egg production and pricing columns 2025-12-18 09:50:11 +07:00
rstubryan 3497a6346c refactor(FE-357): Deduplicate totals and supplier aggregation 2025-12-18 09:47:52 +07:00
rstubryan 69b4ca455e refactor(FE-355): Guard HPP total calculation for empty data 2025-12-18 09:33:13 +07:00
rstubryan 320bc52244 refactor(FE-355,357): Show HPP and average DOC totals in table footer 2025-12-18 09:24:49 +07:00
rstubryan 40f2d0ba93 refactor(FE-355): Reorder egg_value_rp column in HppPerKandangTab 2025-12-18 09:12:28 +07:00
rstubryan 481a643b3c refactor(FE-355): Use summary fallbacks for report footers 2025-12-18 09:11:21 +07:00
rstubryan 9b2d98f7ce feat(FE-355,357): Add egg columns to HPP table and disable sale tabs 2025-12-18 08:59:07 +07:00
ValdiANS 3e8c29df64 Merge branch 'feat/FE/US-335/production-data-report' into feat/FE/US-340/TASK-364-365-368-marketing-report 2025-12-17 15:58:23 +07:00
rstubryan 6155929e14 refactor(FE-357): Use hppPerKandangExport instead of fetchAllExportData 2025-12-17 14:54:28 +07:00
rstubryan 7c9f68d3a3 feat(FE-363): Add Excel export loading and combine export state 2025-12-17 14:44:36 +07:00
randy-ar 918e85e0cc fix(FE): resolve merge conflict with branch development 2025-12-17 14:26:03 +07:00
randy-ar bb80e9e9c6 fix(FE): remove dummy data and integrate live API for closing finance and fixing closing UI when given data is null 2025-12-17 14:22:15 +07:00
rstubryan 80fd75dfc1 refactor(FE-357): Rename API response and export fetch vars 2025-12-17 14:14:27 +07:00
rstubryan e1b562c175 refactor(FE-357): Refactor export data fetching and handlers 2025-12-17 14:05:29 +07:00
rstubryan 9365320b03 feat(FE-357): Add loading state for export 2025-12-17 13:45:00 +07:00
rstubryan e515438312 refactor(FE-355): Use NumberInput and SelectInput for filters 2025-12-17 13:33:51 +07:00
rstubryan 530ef4982d refactor(FE-355,357): Use summary fields for egg HPP and total value 2025-12-17 13:04:26 +07:00
rstubryan a8c3b1a66f feat(FE-356): Include HPP and supplier aggregates in export 2025-12-17 11:56:42 +07:00
rstubryan 62d4d7b7db refactor(FE): Fix Dropdown import path 2025-12-17 11:49:41 +07:00
rstubryan 57df2e9aed Merge branch 'dev/restu' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-352/TASK-355-356-357-slicing-and-integrate-kandang-hpp-daily-report-page 2025-12-17 11:48:24 +07:00
rstubryan 9ea86fe5c3 Merge branch 'dev/restu' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-339/TASK-361-362-363-slicing-purchase-and-integrate-purchase-report-page 2025-12-17 11:47:57 +07:00
rstubryan ecf1677c27 Merge branch 'dev/restu' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-334/TASK-344-345-slicing-and-integrate-expedition-hpp-report-table 2025-12-17 11:47:36 +07:00
rstubryan c1e075b1ff refactor(FE): refactor Dropdown component API and Navbar usage 2025-12-17 11:47:12 +07:00
rstubryan c70cfbd450 feat(FE-355,356,357): Add PDF export for HPP per kandang report 2025-12-17 11:42:45 +07:00
rstubryan 4cc41c0167 feat(FE-355,357): Use API summary for weighted averages 2025-12-17 11:11:44 +07:00
rstubryan 730b7903a7 feat(FE-355): Remove pagination from HppPerKandangTab 2025-12-17 11:01:01 +07:00
rstubryan 78efd587be feat(FE-355,357): Add aggregated footers for HPP per kandang table 2025-12-17 10:54:02 +07:00
rstubryan 3d91c12874 feat(FE-355,356,357): Implement HPP Per Kandang report tab 2025-12-17 10:38:56 +07:00
rstubryan 12e6d60745 feat(FE-357): Rename HppPerkandang types and update API path 2025-12-17 10:37:05 +07:00
rstubryan 01313f0b09 refactor(FE-363): Move logistic API to report/logistic-stock 2025-12-17 10:05:32 +07:00
rstubryan 9f521a6a08 refactor(FE-363): Rename logistic stock report API method 2025-12-17 10:00:35 +07:00
rstubryan 43afc5781c feat(FE-355): Add sale report tabs and marketing layout 2025-12-17 09:50:55 +07:00
rstubryan 0f7f4e891c feat(FE-357): Add marketing sales report API and types 2025-12-17 09:50:36 +07:00
randy-ar b02b458034 feat(FE): Closing Finance and adjust reports expense filter request 2025-12-16 17:52:59 +07:00
rstubryan 304084ea2c Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-334/TASK-344-345-slicing-and-integrate-expedition-hpp-report-table 2025-12-16 16:21:39 +07:00
rstubryan 204a1098a3 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-339/TASK-361-362-363-slicing-purchase-and-integrate-purchase-report-page 2025-12-16 16:20:35 +07:00
rstubryan c04cd29ac7 refactor(FE-363): Use snake_case for totals in purchases tab 2025-12-16 15:19:47 +07:00
Adnan Zahir 224f7ddeea Merge branch 'feat/FE/US-284/sapronak-calculation-report' into 'development'
[FEAT/FE][US#284] Add Feature Perhitungan Sapronak Closing Report

See merge request mbugroup/lti-web-client!98
2025-12-16 15:00:47 +07:00
rstubryan d17c11e2f2 feat(FE-364): Implement Excel export for purchases per supplier 2025-12-16 14:48:17 +07:00
randy-ar f58b03ba0e fix(FE): revert auth component 2025-12-16 14:24:52 +07:00
rstubryan c9544e1bd0 refactor(FE-361): Format quantity with formatNumber 2025-12-16 14:21:58 +07:00
randy-ar d348cee4e6 fix(FE): resolve merge conflict 2025-12-16 14:17:23 +07:00
rstubryan 1560908101 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-334/TASK-344-345-slicing-and-integrate-expedition-hpp-report-table 2025-12-16 14:08:45 +07:00
rstubryan 874bc27e4c Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-339/TASK-361-362-363-slicing-purchase-and-integrate-purchase-report-page 2025-12-16 13:57:40 +07:00
Adnan Zahir be238779a4 Merge branch 'dev/hotfix/restu' into 'development'
[HOTFIX/FE] Fixing Recording and Approval Button

See merge request mbugroup/lti-web-client!97
2025-12-16 13:57:24 +07:00
rstubryan aea39a878a Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-339/TASK-361-362-363-slicing-purchase-and-integrate-purchase-report-page 2025-12-16 13:57:09 +07:00
rstubryan 84e562e22c refactor(FE-364): Refine PDF table cell styles and header alignment 2025-12-16 13:56:48 +07:00
Adnan Zahir 8db7b6d5e9 Merge branch 'feat/FE/US-279/closing-button' into 'development'
[FEAT/FE][US#279] Add Feature Closing Produksi (Project Flock)

See merge request mbugroup/lti-web-client!96
2025-12-16 13:56:20 +07:00
rstubryan 5c8bc4fc6e feat(FE-364): Center align badge in PDF export styles 2025-12-16 13:52:55 +07:00
rstubryan 9ba3fa1b6c refactor(FE-364): refactor PDF table styles and remove total styles 2025-12-16 13:34:36 +07:00
rstubryan 6f18c58042 refactor(FE-364): refactor PDF table styles and remove total styles 2025-12-16 13:33:57 +07:00
rstubryan 0d8e642b4e refactor(FE-364): update PDF export layout and parameter badges 2025-12-16 13:26:16 +07:00
rstubryan 615d4d5ffe feat(FE-364): Add PDF export for purchases per supplier 2025-12-16 12:00:56 +07:00
rstubryan 2a00da0298 refactor(FE-361): Make filter layout responsive 2025-12-16 11:12:30 +07:00
rstubryan 68437b3b7e feat(FE-361,363): Add product category filter and API params 2025-12-16 10:26:31 +07:00
rstubryan 31b2a5a548 refactor(FE-361,363): Adapt PurchasesPerSupplier to new report shape 2025-12-16 10:01:13 +07:00
rstubryan 4d997256ad refactor(FE-363): Update logistic report API endpoint and types 2025-12-16 10:00:39 +07:00
rstubryan 7ea9e10ad2 chore(FE): Add xlsx dependency from SheetJS CDN 2025-12-15 16:34:00 +07:00
rstubryan 245da2595c fix(FE-vulnerability): Bump Next.js to 15.5.9 2025-12-15 16:29:27 +07:00
rstubryan 45f1e923b7 feat(FE-361,363): Add export dropdown to PurchasesPerSupplier tab 2025-12-15 15:10:22 +07:00
Rivaldi A N S ebe752b27b Merge branch 'feat/FE/US-284/TASK-324-325-slicing-and-integration-sapronak-calculation-closing-report' into 'feat/FE/US-284/sapronak-calculation-report'
[FEAT/FE][US#284/TASK#324-325] Add Feature Perhitungan Sapronak Closing Report

See merge request mbugroup/lti-web-client!71
2025-12-15 07:54:59 +00:00
rstubryan 3c3c2345c7 feat(FE-361): Update action buttons in PurchasesPerSupplierTab 2025-12-15 14:14:34 +07:00
rstubryan 3f78cfdb63 refactor(FE): refactor Dropdown component API and Navbar usage 2025-12-15 14:04:16 +07:00
rstubryan 69eaae6d43 feat(FE=361,363): Add Submit button to PurchasesPerSupplierTab 2025-12-15 11:41:12 +07:00
ValdiANS 65b60cc464 chore(FE-347): update closings API endpoint '/closings' 2025-12-15 11:13:18 +07:00
rstubryan 5c9332537c feat(FE-363): Add pagination to purchases per supplier report 2025-12-15 11:08:05 +07:00
rstubryan 63c2a240d2 refactor(FE-363): Use SWR key+fetcher with params for logistic report 2025-12-13 12:03:56 +07:00
rstubryan fd2e1f8b96 refactor(FE-363): Replace LogisticService with LogisticApi instance 2025-12-13 11:51:41 +07:00
rstubryan fdb3e0481a refactor(FE-363): Rename response variable to purchasePerSupplier 2025-12-13 11:46:00 +07:00
rstubryan 9bc632c286 feat(FE-361): Add Reset button to clear report filters 2025-12-13 11:34:37 +07:00
rstubryan 81f98c5f06 feat(FE-361): Add pagination control to supplier purchases table 2025-12-13 11:21:04 +07:00
rstubryan 0983f154d2 refactor(FE-363): Rename SupplierWithItems type for clarity 2025-12-13 10:57:56 +07:00
rstubryan bd4c51cb04 refactor(FE-361,363): Refactor purchases-per-supplier report to use API 2025-12-13 10:55:15 +07:00
randy-ar 9c09395677 feat(FE-338): Slicing UI Halaman Reporting BOP & API integration & refactor debounce input: adding useEffect for sync value 2025-12-11 18:23:55 +07:00
rstubryan 67b5187d39 feat(FE-363): Add Logistic API service and update types 2025-12-11 15:47:21 +07:00
rstubryan 5de5dcffc0 fix(FE): Area import path in logistic-stock types 2025-12-11 15:28:26 +07:00
rstubryan 51ff739926 Merge branch 'dev/hotfix/restu' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-339/TASK-361-362-363-slicing-purchase-and-integrate-purchase-report-page 2025-12-11 15:23:15 +07:00
rstubryan 238edfeca2 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-339/TASK-361-362-363-slicing-purchase-and-integrate-purchase-report-page 2025-12-11 15:22:21 +07:00
rstubryan bd8d121113 feat(FE-344,345): Integrate HPP Ekspedisi into Closing detail 2025-12-11 15:04:37 +07:00
rstubryan 38b91a57f0 refactor(FE-345): Remove unused fields from BaseClosingSales 2025-12-11 14:43:54 +07:00
randy-ar d0abc0e9ff fix(FE): adjust inventory adjustment and inventory product table 2025-12-11 14:35:27 +07:00
rstubryan 4262e8e286 refactor(FE-344): Add Cost of Revenue Expedition table 2025-12-11 14:27:29 +07:00
randy-ar 48c163c1cd fix(FE): remove pengajuan from project flock kandang approval lines 2025-12-11 14:00:46 +07:00
rstubryan 3c03494bd3 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-334/TASK-344-345-slicing-and-integrate-expedition-hpp-report-table 2025-12-11 14:00:19 +07:00
rstubryan 3dd36b8248 fix(FE): Parse recordingId and hide actions for rejected 2025-12-11 11:05:20 +07:00
rstubryan 12698004e1 fix(FE): Update recording detail links to include production path 2025-12-11 10:47:25 +07:00
rstubryan a0ca8e8f69 Merge branch 'feat/FE/US-279/closing-button' of gitlab.com:mbugroup/lti-web-client into dev/hotfix/restu 2025-12-11 10:46:52 +07:00
rstubryan 69206d4524 fix(FE): Update recording detail links to include production path 2025-12-11 10:46:38 +07:00
rstubryan a73f9a1acd fix(FE): Update recording detail links to include production path 2025-12-11 10:46:21 +07:00
randy-ar 4ea56f2e18 fix(FE): fixing closing button project flock 2025-12-11 01:20:48 +07:00
Rivaldi A N S 48649df409 Merge branch 'dev/randy' into 'feat/FE/US-279/closing-button'
[FEAT/FE][US#279/TASK#312-313] Add Feature Closing Produksi (Project Flock)

See merge request mbugroup/lti-web-client!72
2025-12-10 18:06:46 +00:00
randy-ar c53f9352be fix(FE): closing project flock & merge development 2025-12-11 00:32:54 +07:00
Adnan Zahir df632526d2 Merge branch 'dev/hotfix/restu' into 'development'
[HOTFIX/FE] Fixing Credit Term issue on Purchase

See merge request mbugroup/lti-web-client!95
2025-12-11 00:10:33 +07:00
rstubryan 4ec455b3b7 feat(FE): Add credit_term to purchase forms and types 2025-12-10 23:54:59 +07:00
randy-ar 4f4fd3e6b7 fix(FE): pull development 2025-12-10 23:19:43 +07:00
Adnan Zahir 0d7dd0a110 Merge branch 'feat/FE/US-278/purchase-and-expense' into 'development'
[FEAT/FE][US#278] Adjust Purchase Request and Purchase Order (Expense Extended)

See merge request mbugroup/lti-web-client!86
2025-12-10 23:18:50 +07:00
Adnan Zahir 9bf4fd585d Merge branch 'feat/FE/US-282/egg-grading-adjustment' into 'development'
[FEAT/FE][US#282] Adjustment Recording Egg Grading

See merge request mbugroup/lti-web-client!85
2025-12-10 23:18:20 +07:00
kris a77a360410 Merge branch 'fix/redirect-error' into 'development'
[HOTFIX/FE] Fixing redirect issues

See merge request mbugroup/lti-web-client!94
2025-12-10 15:31:00 +00:00
ValdiANS 9628ee88ad chore: add condition for redirecting to SSO 2025-12-10 21:47:58 +07:00
ValdiANS 4356bd8803 fix: remove redirectToSSO 2025-12-10 21:43:05 +07:00
kris cbf1660da5 Merge branch 'fix/redirect-error' into 'development'
[HOTFIX/FE] Fixing redirect issues

See merge request mbugroup/lti-web-client!93
2025-12-10 11:53:47 +00:00
ValdiANS 37f59f9470 fix: remove unnecessary code 2025-12-10 18:50:58 +07:00
kris 6e3b25eb98 Merge branch 'fix/redirect-error' into 'development'
[HOTFIX/FE] Fixing redirect issues

See merge request mbugroup/lti-web-client!92
2025-12-10 11:11:50 +00:00
ValdiANS f939f4b0fb fix: return children only if userResponse success and user is set 2025-12-10 18:10:08 +07:00
ValdiANS 720ff2128f fix: add use-client and export dynamic 2025-12-10 18:09:30 +07:00
ValdiANS 280fffe6a5 fix: add use-client 2025-12-10 18:09:21 +07:00
ValdiANS 6340a5e519 fix: export dynamic 2025-12-10 18:09:10 +07:00
kris d4fc0b4a4f Merge branch 'fix/redirect-error' into 'development'
[HOTFIX/FE] Fixing redirect issues

See merge request mbugroup/lti-web-client!91
2025-12-10 10:32:40 +00:00
ValdiANS 4f595c7cad chore: wrap router.replace in useEffect 2025-12-10 17:31:21 +07:00
ValdiANS 3826b8ea53 feat: set trailingSlash to true 2025-12-10 17:31:06 +07:00
kris 5cc82f1615 Merge branch 'fix/redirect-error' into 'development'
[HOTFIX/FE] Fixing redirect issues

See merge request mbugroup/lti-web-client!90
2025-12-10 10:16:33 +00:00
ValdiANS cfaac14820 chore: return loading text if all condition unmet 2025-12-10 17:15:23 +07:00
kris b39d1f5c2e Merge branch 'fix/redirect-error' into 'development'
[HOTFIX/FE] Fixing redirect issues

See merge request mbugroup/lti-web-client!89
2025-12-10 10:08:42 +00:00
ValdiANS 30ab48e426 fix: redirect to dashboard if pathname is in root path 2025-12-10 17:07:44 +07:00
kris 88c640df18 Merge branch 'fix/redirect-error' into 'development'
[HOTFIX/FE] Fixing redirect issues

See merge request mbugroup/lti-web-client!88
2025-12-10 10:00:08 +00:00
ValdiANS 017b081832 fix: redirect to SSO if user isnt exist and show loading state if still loading user 2025-12-10 16:57:45 +07:00
ValdiANS 83d76f7de4 fix: set isLoadingUser in useAuth hook 2025-12-10 16:57:20 +07:00
randy-ar 9af140e58d fix(FE): fix merge conflict 2025-12-10 16:56:25 +07:00
randy-ar 654aa50cc7 fix(FE): fix merge conflict 2025-12-10 16:53:50 +07:00
randy-ar 814e8db1ba fix(FE): resolve merge conflict development 2025-12-10 16:45:54 +07:00
randy-ar d1883654bc fix(FE): resolve merge conflict development 2025-12-10 16:44:52 +07:00
kris 2c6ad71fd3 Update .gitlab-ci.yml file 2025-12-10 09:42:13 +00:00
randy-ar 6c31d933b0 fix(FE): resolve merge conflict 2025-12-10 16:41:21 +07:00
Mitra Berlian Unggas b806c0f0a1 Merge branch 'fix/redirect-error' into 'development'
[HOTFIX/FE] Fixing redirect issues

See merge request mbugroup/lti-web-client!87
2025-12-10 09:36:29 +00:00
randy-ar a073488c2c fix(FE): fixing closing project flock and fetching data in closing report 2025-12-10 16:32:50 +07:00
Rivaldi A N S 7efb2a4dbb Merge branch 'feat/FE/US-278/TASK-311-adjustment-purchase-and-expense' into 'feat/FE/US-278/purchase-and-expense'
[FEAT/FE][US#278/TASK-311] Adjust Purchase Request and Purchase Order (Expense Extended)

See merge request mbugroup/lti-web-client!83
2025-12-10 09:27:50 +00:00
Rivaldi A N S 01d1ed8f0d Merge branch 'feat/FE/US-282/TASK-318-319-slicing-and-adjustment-egg-grading-form' into 'feat/FE/US-282/egg-grading-adjustment'
[FEAT/FE][US#282/TASK-318-319] Adjustment Recording Egg Grading

See merge request mbugroup/lti-web-client!84
2025-12-10 09:25:32 +00:00
ValdiANS aed58ef10c hotfix: Implement client-side dashboard redirect with loading spinner, improve authentication error handling by clearing user state on 401, and extend SSO redirect loop protection. 2025-12-10 16:23:51 +07:00
rstubryan f105852a07 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-282/TASK-318-319-slicing-and-adjustment-egg-grading-form 2025-12-10 15:52:30 +07:00
rstubryan 21d6fc8579 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-278/TASK-311-adjustment-purchase-and-expense 2025-12-10 15:44:58 +07:00
kris eea1fcb513 Update .gitlab-ci.yml file 2025-12-10 08:43:08 +00:00
rstubryan 312580a7fc Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-339/TASK-361-362-363-slicing-purchase-and-integrate-purchase-report-page 2025-12-10 15:37:16 +07:00
rstubryan 7c4d5e68fa Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-282/TASK-318-319-slicing-and-adjustment-egg-grading-form 2025-12-10 15:36:36 +07:00
rstubryan b74e43c483 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-278/TASK-311-adjustment-purchase-and-expense 2025-12-10 15:36:12 +07:00
Adnan Zahir dbff1bda3d Merge branch 'dev/hotfix/restu' into 'development'
[HOTFIX/FE] Fixing Penjualan Tabs (Misplacement Issue)

See merge request mbugroup/lti-web-client!81
2025-12-10 15:33:54 +07:00
Adnan Zahir 244c564f06 Merge branch 'fix/redirect-error' into 'development'
[HOTFIX/FE] Fixing redirect issues

See merge request mbugroup/lti-web-client!82
2025-12-10 15:31:31 +07:00
ValdiANS 757e0435ac hotfix: use redirectToSSO function 2025-12-10 15:21:46 +07:00
ValdiANS 46d70e36dd feat: create auth-helper file and redirectToSSO helper function 2025-12-10 15:21:10 +07:00
ValdiANS 0cc9d0e94e hotfix: Centralize SSO redirection logic into a new helper with loop protection, integrate it into the HTTP client and RequireAuth component, and add an authentication failure UI. 2025-12-10 15:18:37 +07:00
rstubryan d7199fad53 hotfix(FE): Pass sales data to ClosingDetail and fix sales API 2025-12-10 15:05:52 +07:00
rstubryan 8c2683c440 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2025-12-10 14:34:12 +07:00
rstubryan 9c7033b53a feat(FE-361): Migrate main drawer links to SidebarMenuItem 2025-12-10 14:17:12 +07:00
rstubryan 07bfe0a20b Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-339/TASK-361-362-363-slicing-purchase-and-integrate-purchase-report-page 2025-12-10 14:12:25 +07:00
rstubryan b9e69b243f Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-282/TASK-318-319-slicing-and-adjustment-egg-grading-form 2025-12-10 13:59:04 +07:00
rstubryan 8dec4915a2 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-278/TASK-311-adjustment-purchase-and-expense 2025-12-10 13:57:07 +07:00
rstubryan 7be32326a9 feat(FE-311): Disable approval actions when rejected 2025-12-10 13:56:13 +07:00
randy-ar c416fdbdaa fix(FE): resolve conflit merge development 2025-12-10 13:51:19 +07:00
Adnan Zahir 270e8ff0c6 Merge branch 'dev/hot-fix/randy' into 'development'
[HOTFIX/FE] Fixing Dropdown Button Logout

See merge request mbugroup/lti-web-client!80
2025-12-10 13:44:20 +07:00
Adnan Zahir 64abc5001d Merge branch 'feat/FE/US-285/marketing-closing-report' into 'development'
[FEAT/FE][US#285] Add Feature Marketing Closing Report (Sales/Penjualan)

See merge request mbugroup/lti-web-client!77
2025-12-10 13:38:26 +07:00
randy-ar f48cfca650 fix(FE): revert require auth component 2025-12-10 13:35:42 +07:00
rstubryan a116f7ca66 fix(FE): Remove closing detail page and layout 2025-12-10 13:32:29 +07:00
rstubryan 429f5ffb62 feat(FE-311): Add rejection modals and accept handler 2025-12-10 13:30:40 +07:00
randy-ar eed142a85f hotfix(FE): fixing dropdown logout and floating button max size 2025-12-10 13:25:07 +07:00
rstubryan 48f228de1c Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-278/TASK-311-adjustment-purchase-and-expense 2025-12-10 13:08:36 +07:00
rstubryan c92abfc9ab Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-285/marketing-closing-report 2025-12-10 11:54:05 +07:00
rstubryan 7e999b2e34 feat(FE): Show sales report on closing detail page 2025-12-10 11:53:47 +07:00
rstubryan e90c7d993c Merge branch ‘development’ of gitlab.com:mbugroup/lti-web-client into
feat/FE/US-285/marketing-closing-report
2025-12-10 11:44:46 +07:00
rstubryan 99fbcaaea3 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-285/marketing-closing-report 2025-12-10 11:40:43 +07:00
Adnan Zahir 865b0b3d8f Merge branch 'fix/FE/US-163-164/api-integration-adjustment-in-expense-request-and-realization' into 'development'
[FIX/FE][US#163-164] API Integration Adjustment in Expense Request and Realization

See merge request mbugroup/lti-web-client!78
2025-12-10 11:32:21 +07:00
Adnan Zahir a4c83f99a7 Merge branch 'feat/FE/US-286/inventory-management-product-stock' into 'development'
[FEAT/FE][US#286] Inventory Product Stock

See merge request mbugroup/lti-web-client!76
2025-12-10 11:25:27 +07:00
rstubryan e23b698fc7 feat(FE-363): Add TypeScript definitions for logistic stock report 2025-12-10 11:18:54 +07:00
Adnan Zahir 294c971fea Merge branch 'feat/FE/US-280/project-flock-budget' into 'development'
[FEAT/FE][US#280] Project Flock Budgets

See merge request mbugroup/lti-web-client!75
2025-12-10 11:14:07 +07:00
randy-ar 8a8128a692 fix(FE): resolve merge conflict checkbox and constant 2025-12-10 10:09:56 +07:00
randy-ar 649dd70ea7 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into dev/randy 2025-12-10 10:03:28 +07:00
Adnan Zahir 44b9210ccc Merge branch 'feat/FE/US-283/sapronak-closing-report' into 'development'
[FEAT/FE][US#283] Sapronak Closing Report

See merge request mbugroup/lti-web-client!74
2025-12-10 09:42:35 +07:00
rstubryan e3f90a49d0 feat(FE-361): Extract LogisticStockTabs component 2025-12-10 09:22:09 +07:00
rstubryan a1679ba5ff feat(FE-363): Add data type and date range filters 2025-12-09 21:49:26 +07:00
rstubryan 8a7149c123 feat(FE-361): Add logistic stock tabs and tweak styles 2025-12-09 20:19:00 +07:00
rstubryan f87854ed07 refactor(FE-361): Remove wrapper top margin and clear table margin 2025-12-09 18:51:36 +07:00
rstubryan 1ef7130661 refactor(FE-344): Export TABLE_DEFAULT_STYLING and refine classes 2025-12-09 18:45:38 +07:00
rstubryan 066c356d4f refactor(FE-339): Export TABLE_DEFAULT_STYLING and refine table classes 2025-12-09 18:44:35 +07:00
randy-ar 8c7640eb9c feat(FE-333): adding feature overhead closing report 2025-12-09 18:14:46 +07:00
rstubryan 8f5dd1851a refactor(FE-361): Refactor table and pagination components 2025-12-09 18:04:33 +07:00
randy-ar 489815ecaf fix(FE): revert require auth component 2025-12-09 18:04:06 +07:00
randy-ar f9dfe7b27f feat(FE-284): Refactor table component support for nesting header 2025-12-09 17:57:46 +07:00
rstubryan 6a926f881d feat(FE-334): Use column footers and fix closing loading check 2025-12-09 17:51:11 +07:00
rstubryan 68dd5b1121 refactor(FE-344): Add table cell side borders in sales report 2025-12-09 17:49:50 +07:00
rstubryan 5a3c7d71b0 refactor(FE-345): HPP ekspedisi API path to use /closings 2025-12-09 17:48:03 +07:00
rstubryan 5ad61d483a refactor(FE-344): update pagination UI and table footer handling 2025-12-09 16:47:59 +07:00
ValdiANS 1567a4016f feat(FE-347): use ClosingProductionDataTabContent in dataProduksi tab 2025-12-09 15:55:32 +07:00
ValdiANS 8b8702b1b8 feat(FE-346): create ClosingProductionDataTabContent component 2025-12-09 15:51:33 +07:00
rstubryan b039ec832b feat(FE-361): Add logistic-stock report page and table footer 2025-12-09 15:49:59 +07:00
ValdiANS abf2735b86 feat(FE-347): add getProductionData method 2025-12-09 15:46:12 +07:00
ValdiANS a26099b507 feat(FE-347): create ClosingProductionData type 2025-12-09 15:32:17 +07:00
rstubryan d7384752a0 feat(FE-361): Add Laporan report menu with logistic submenu 2025-12-09 14:11:15 +07:00
rstubryan dfecef2e0c feat(FE-344,345): Fetch and render HPP Ekspedisi report 2025-12-09 13:28:47 +07:00
rstubryan 80fd8bb7ba feat(FE-344,345): Add CosExpeditionReportTable component 2025-12-09 13:28:14 +07:00
rstubryan 44b9f94cec feat(FE-345): Add getHppEkspedisi to ClosingApiService 2025-12-09 13:27:15 +07:00
rstubryan e3b3f5ccdc feat(FE-345): Add Cost of Services expedition types and export
ClosingSales
2025-12-09 13:26:19 +07:00
ValdiANS 33691f45bb chore(FE-323): update outgoing sapronak API endpoint 2025-12-09 11:38:57 +07:00
ValdiANS 2c72c44be4 chore(FE-323): update incoming sapronak API endpoint 2025-12-09 11:38:53 +07:00
ValdiANS 98dfd4564c chore(FE-323): change closing API route path 2025-12-09 11:37:26 +07:00
ValdiANS a795d78c80 Merge branch 'development' into feat/FE/US-283/sapronak-closing-report 2025-12-09 10:58:43 +07:00
ValdiANS 7d8a6ff852 fix: update next.js version 2025-12-09 10:52:49 +07:00
randy-ar 8a0adf847e fix(FE-279): adjust closing project flock kandang 2025-12-09 10:33:38 +07:00
rstubryan 8e80d668fa refactor(FE-311): Remove credit_term from purchase request data and UI 2025-12-09 10:13:48 +07:00
rstubryan a45de4fb13 refactor(FE-311): Remove grand_total and due_date from purchases 2025-12-09 09:58:15 +07:00
rstubryan 6ee5bc3f1b refactor(FE-318,319): Remove egg grading schema and UI logic 2025-12-08 23:37:20 +07:00
rstubryan 012fe800bc refactor(FE-318,319): Remove laying grading checks and simplify approval 2025-12-08 23:35:55 +07:00
rstubryan c3835d5128 refactor(FE-319): Renumber RECORDINGS approval workflow steps 2025-12-08 23:35:12 +07:00
rstubryan 7c4bd81364 feat(FE-319): Remove recording grading feature 2025-12-08 23:34:01 +07:00
rstubryan 545af8267a feat(FE-319): Refactor recording types and simplify payloads 2025-12-08 23:33:34 +07:00
rstubryan 2e6a724b2f refactor(FE-319): Use approval step 2 and remove grading button 2025-12-08 20:13:10 +07:00
rstubryan 305b8e5005 refactor(FE-319): Remove Grading-Telur step from RECORDINGS workflow 2025-12-08 20:12:18 +07:00
rstubryan 5deca5739f refactor(FE-318): Add egg weight column and separate inputs 2025-12-08 20:08:35 +07:00
rstubryan b464432581 chore(FE): Add .claude to .gitignore 2025-12-08 18:49:17 +07:00
rstubryan 512ad5175e refactor(FE-311): Default received_qty and remove transport_total 2025-12-08 18:37:58 +07:00
rstubryan a7d884b5f0 refactor(FE-311): Use latest_approval instead of approval 2025-12-08 18:14:38 +07:00
rstubryan ce75eb25d7 refactor(FE-311): Show previous values only in edit mode 2025-12-08 17:55:22 +07:00
rstubryan c7911f01f2 refactor(FE-311): Remove Total Transport header from approval form 2025-12-08 17:43:44 +07:00
rstubryan 68874a1c14 feat(FE-311): Use latest_approval for purchase approvals 2025-12-08 17:42:23 +07:00
rstubryan 7cc2a31745 Merge branch 'feat/FE/US-280/project-flock-budget' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-278/TASK-311-adjustment-purchase-and-expense 2025-12-08 16:28:09 +07:00
rstubryan f5663b82aa refactor(ci): clean up .gitlab-ci.yml by removing unnecessary whitespace 2025-12-08 14:43:53 +07:00
rstubryan 3a7f1f4812 refactor(FE-311): remove transport_total field and update approval actions 2025-12-08 14:42:39 +07:00
rstubryan 32ffc1f14c chore(prettier): Remove trailing whitespace in .gitlab-ci.yml 2025-12-08 14:08:40 +07:00
rstubryan 58fb9b0c08 chore(CVE): Bump Next to 15.5.7 and ignore .claude 2025-12-08 14:07:25 +07:00
randy-ar 3569955e7f fix(FE): fix warn issue next js 2025-12-08 14:01:13 +07:00
randy-ar 7df743ebf5 fix(FE): adjust sapronak calculation to closing detail page 2025-12-08 10:24:41 +07:00
rstubryan 86a0faaa52 chore(ci): clean up .gitlab-ci.yml by removing unnecessary whitespace 2025-12-08 10:09:21 +07:00
rstubryan df3f342214 chore(CVE): update Next.js version to ^15.5.7 in package.json and package-lock.json 2025-12-08 10:07:00 +07:00
rstubryan c3c1bbbe96 feat(FE-326): Add egg weight field to recording forms 2025-12-08 09:47:22 +07:00
ValdiANS dc0fd7a3ed chore: format code 2025-12-07 15:00:25 +07:00
ValdiANS 5782abb531 refactor: change expense_date to transaction_date 2025-12-07 14:59:51 +07:00
ValdiANS 2d1cabb86b refactor: update CreateExpensePayload, UpdateExpensePayload, and CreateExpenseRealizationPayload types 2025-12-07 14:59:25 +07:00
Rivaldi A N S b362fd1748 Merge branch 'feat/FE/US-285/TASK-326-327-slicing-and-integration-marketing-closing-report' into 'feat/FE/US-285/marketing-closing-report'
[FEAT/FE][US#285/TASK#326-327] Add Feature Marketing Closing Report (Sales/Penjualan)

See merge request mbugroup/lti-web-client!70
2025-12-06 10:25:38 +00:00
Rivaldi A N S 3411aa9b1b Merge branch 'dev/randy' into 'feat/FE/US-286/inventory-management-product-stock'
[FEAT/FE][US#286] Inventory Product Stock

See merge request mbugroup/lti-web-client!69
2025-12-06 10:25:19 +00:00
Rivaldi A N S 1f29e3cb50 Merge branch 'dev/randy' into 'feat/FE/US-280/project-flock-budget'
[FEAT/FE][US#280] Project Flock Budgets

See merge request mbugroup/lti-web-client!68
2025-12-06 10:23:34 +00:00
Rivaldi A N S b671de1336 Merge branch 'feat/FE/US-283/TASK-320-321-322-323-sapronak-closing-report' into 'feat/FE/US-283/sapronak-closing-report'
[FEAT/FE][US#283/TASK#320-321-322-323] Sapronak Closing Report

See merge request mbugroup/lti-web-client!73
2025-12-06 10:18:01 +00:00
ValdiANS 090a3183f7 feat(FE-323): create Closing type 2025-12-06 17:14:09 +07:00
ValdiANS 17865d733d feat(FE-323): create ClosingApiService 2025-12-06 17:13:53 +07:00
ValdiANS 5be67ef01c chore: update formatDate helper function 2025-12-06 17:13:27 +07:00
ValdiANS 7f326bedd4 chore(FE-320): add Closing menu 2025-12-06 17:13:00 +07:00
ValdiANS c350bc0be2 feat(FE-321): create ClosingSapronakTabContent component 2025-12-06 16:54:44 +07:00
ValdiANS 6f7627ac92 feat(FE-321): create ClosingOutgoingSapronaksTable component 2025-12-06 16:54:27 +07:00
ValdiANS 1ae5c1bd64 feat(FE-321): create ClosingIncomingSapronaksTable component 2025-12-06 16:54:15 +07:00
ValdiANS 5bb366026d feat(FE-321): create ClosingGeneralInformationTable component 2025-12-06 16:53:54 +07:00
ValdiANS 9888dc4356 feat(FE-321): create ClosingDetail component 2025-12-06 16:53:39 +07:00
ValdiANS 7615daa22a chore: update Pagination component 2025-12-06 16:53:20 +07:00
ValdiANS 435cc0aedc feat(FE-321): create layout file for closing detail route 2025-12-06 16:53:05 +07:00
ValdiANS d189252551 feat(FE-321): create Closing detail page 2025-12-06 16:52:45 +07:00
ValdiANS d85cf29193 feat(FE-320): create ClosingsTable component 2025-12-06 16:52:12 +07:00
ValdiANS 84ff5e178b feat(FE-320): create Closing list page 2025-12-06 16:51:48 +07:00
ValdiANS 72840e2193 chore: set container size value 2025-12-06 16:46:14 +07:00
ValdiANS ea2ada8224 chore: update daisyui version 2025-12-06 16:44:31 +07:00
randy-ar b97cc39854 fix(FE): revert RequireAuth component and closing logic 2025-12-06 13:10:03 +07:00
randy-ar 195bbbe449 fix(FE): change closing folder name 2025-12-06 12:51:13 +07:00
randy-ar 375b50b646 fix(FE): revert RequireAuth Component 2025-12-06 12:45:07 +07:00
randy-ar a5c71ff8ce feat(FE-284): Slicing and API Integration Perhitungan Sapronak 2025-12-06 12:43:22 +07:00
randy-ar e09074eed0 feat(FE): add sapronak table 2025-12-06 11:55:47 +07:00
randy-ar ffbf886718 fix(FE): adjust chickin and closing after submit 2025-12-06 11:38:28 +07:00
rstubryan b3f7b8a3c5 feat(FE-326): Add totals footer row to sales report table 2025-12-06 10:26:26 +07:00
rstubryan e407410c4a feat(FE-Storyless): Add footer support to Table component 2025-12-06 10:25:40 +07:00
randy-ar 341cb42452 feat(FE): adding temporary perhitungan sapronak 2025-12-06 10:05:10 +07:00
rstubryan 99b9df27a7 refactor(FE-326): Comment _closing for copy-paste function 2025-12-06 09:58:38 +07:00
rstubryan 27c867036f refactor(FE-327): Update import paths for consistency in SalesReportTable 2025-12-06 09:51:40 +07:00
rstubryan c9552dec2d refactor(FE-326): Remove custom header rows and simplify Table 2025-12-06 09:47:38 +07:00
rstubryan aad24c3c58 refactor(FE-327): Rename salesBroilerData to salesData 2025-12-06 09:12:02 +07:00
rstubryan ff1493b520 refactor(FE-326): Remove avgPriceAct/totalAct and use partner totals,
fix badge case
2025-12-06 09:09:41 +07:00
rstubryan 4ff1649991 chore(FE-327): Remove unused state from SalesReportTable 2025-12-06 08:56:14 +07:00
rstubryan 4fe53f364a refactor(FE-326): Remove Tabs wrapper from SalesReportTable 2025-12-06 08:54:12 +07:00
randy-ar 85fdb4f7dd refactor(FE): refactor chickin views and adjust approval logic in project flocks 2025-12-06 00:15:30 +07:00
randy-ar 885e4250fd feat(FE-279): Add functionality closing project flock 2025-12-05 22:55:11 +07:00
rstubryan eaf118845c feat(FE-327): Include Kandang in sales data and display name 2025-12-05 19:15:38 +07:00
rstubryan 30db7ee95d refactor(FE-327): change SalesReportTable to use new API fields 2025-12-05 18:27:45 +07:00
rstubryan 5869e0434b refactor(FE-327): change closing API paths and sales types 2025-12-05 18:26:58 +07:00
rstubryan f205c66509 refactor(FE-327): Rename Ekor label to Kuantitas 2025-12-05 17:49:59 +07:00
rstubryan 46e072bbcf refactor(FE-327): Map Indonesian sales fields and add API sample 2025-12-05 11:15:41 +07:00
rstubryan c31b284cf4 refactor(FE-327): Split BaseClosingSales into BaseSales and wrapper 2025-12-05 11:14:52 +07:00
ValdiANS bac3f30ce3 chore: update Table component 2025-12-04 23:09:08 +07:00
ValdiANS be725d42c3 chore: add Size type 2025-12-04 22:46:26 +07:00
ValdiANS b37c3f87b0 chore: set color for menu foreground and background 2025-12-04 22:46:18 +07:00
ValdiANS ae4c17b391 chore: create isPathActive helper 2025-12-04 22:45:57 +07:00
ValdiANS 48dd6d7218 chore: update MAIN_DRAWER_LINKS structure 2025-12-04 22:45:48 +07:00
ValdiANS cee3d4ba90 chore: create SidebarMenu component 2025-12-04 22:45:29 +07:00
ValdiANS a8d7fdc30d chore: update Menu component 2025-12-04 22:45:20 +07:00
ValdiANS 2bb2da74e6 chore: update CheckboxInput component 2025-12-04 22:45:13 +07:00
ValdiANS fd024fdb8f chore: update Pagination component 2025-12-04 22:44:43 +07:00
ValdiANS 79a89ea193 chore: use SidebarMenu component 2025-12-04 22:44:17 +07:00
ValdiANS 611655e408 chore: update gitlab-ci 2025-12-04 22:42:57 +07:00
ValdiANS 702943c55c chore: update next, daisyui, and eslint-config-next library 2025-12-04 22:36:22 +07:00
rstubryan 075d945a59 refactor(FE-326): Use placeholder for sales type in header 2025-12-04 21:29:45 +07:00
rstubryan 7d9a88cf3b feat(FE-326,327): Add sortable table headers and styling 2025-12-04 20:14:29 +07:00
rstubryan b095208fae refactor(FE-327): Temporarily map Indonesian sales fields to English 2025-12-04 17:41:22 +07:00
randy-ar c69d9dd605 fix(FE): revert require auth component to correct file 2025-12-04 16:39:00 +07:00
randy-ar a1d0c7b331 fix(FE): adjust data types for inventory product stock 2025-12-04 16:35:10 +07:00
randy-ar e0a8514814 fix(FE): adjust data types for project flock and product stock inventory 2025-12-04 16:13:47 +07:00
rstubryan 949761d59d feat(FE-326,327): add footer rendering to SalesReportTable for total sales display 2025-12-04 14:25:27 +07:00
rstubryan 15ced14e20 refactor(FE-Storyless): add footer rendering support to Table component 2025-12-04 14:25:11 +07:00
rstubryan 492efb18e2 chore: update next.js to version 15.5.7 in package.json and package-lock.json 2025-12-04 14:15:58 +07:00
rstubryan 8ea29579ec feat(FE-326,327): add layout and closing detail page with sales report integration 2025-12-04 14:10:57 +07:00
randy-ar dc6b0eaec6 fix(FE): change datatype location in inventory products 2025-12-04 14:10:46 +07:00
rstubryan 1a4a05308f refactor(FE-326,327): enhance SalesReportTable to handle empty sales data and conditionally render summary row 2025-12-04 14:08:44 +07:00
rstubryan ba40bbb1d3 refactor(FE-327): remove dummy sales data and update ClosingApiService to fetch real sales data from API 2025-12-04 14:07:10 +07:00
rstubryan 647b002065 refactor(FE-326): change SalesReportTable to use BaseClosingSales type and support initial values 2025-12-04 11:55:57 +07:00
rstubryan 991a594ee1 refactor(FE-326): Add ClosingApiService and types for closing sales data 2025-12-04 11:51:11 +07:00
randy-ar 3b846bf11c fix(FE): fixing error suspense layout 2025-12-04 02:06:33 +07:00
randy-ar 3e07316678 feat(FE-328-329-330): Adding Feature Inventory Product Stocks 2025-12-04 02:05:34 +07:00
rstubryan 411c2586f5 chore(format): prettier format 2025-12-03 22:32:11 +07:00
rstubryan 3a87b039bf feat(FE-326): Add SalesReportTable component 2025-12-03 22:31:10 +07:00
rstubryan 50559caf52 feat(FE-326): Support custom header rows and cell render hook 2025-12-03 22:28:18 +07:00
rstubryan 8fbe6aa148 chore(FE-Storyless): Add .claude to .gitignore 2025-12-03 22:26:33 +07:00
randy-ar 873a4b308d fix(FE): resolve conflict pull branch development 2025-12-03 21:21:42 +07:00
randy-ar f0ec758d7f feat(FE-314-315): API Integration project budgets and refactoring UI 2025-12-03 21:09:12 +07:00
rstubryan 88878f7613 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2025-12-03 10:55:39 +07:00
randy-ar 31f758d680 refactor(FE): refactor UI detail from page into drawer 2025-12-02 16:25:55 +07:00
randy-ar 9eba5ffeca feat(FE): create floation actions button 2025-12-02 12:37:03 +07:00
randy-ar 6b5838b5aa feat(FE): refactor drawer zustand store 2025-12-02 11:01:53 +07:00
randy-ar c76f3a3715 feat(FE): US#278 slicing UI from and client side validation 2025-12-02 04:11:01 +07:00
randy-ar 48435a9cbb fix(FE): change import module to absolute path 2025-12-01 10:22:00 +07:00
randy-ar 2ace95a0db feat(FE): add drawer ui store 2025-12-01 10:13:28 +07:00
kris 58532881f4 Update .gitlab-ci.yml update env 2025-11-28 13:06:03 +00:00
kris 4073f4dfde Update .gitlab-ci.yml update env 2025-11-28 12:47:47 +00:00
kris 94e2d71dba Update .gitlab-ci.yml file 2025-11-28 10:15:49 +00:00
kris 944f479e2d Update .gitlab-ci.yml file 2025-11-28 10:02:17 +00:00
kris 5046d687b5 Update .gitlab-ci.yml file 2025-11-28 09:54:57 +00:00
randy-ar 892bb19dfd refactor(FE): change project flock form, detail and chickin view using drawer 2025-11-28 16:41:01 +07:00
kris 711deda6a8 Update .gitlab-ci.yml file 2025-11-28 09:38:44 +00:00
Adnan Zahir 029be31020 Merge branch 'feat/FE/US-164/expense-realization' into 'development'
[FEAT/FE][US#164] Expense Realization

See merge request mbugroup/lti-web-client!67
2025-11-28 15:40:33 +07:00
Rivaldi A N S ed7563a028 Merge branch 'feat/FE/US-164/TASK-200-204-205-206-207-expense-realization' into 'feat/FE/US-164/expense-realization'
[FEAT/FE][US#164/TASK#200-204-205-206-207] Expense Realization

See merge request mbugroup/lti-web-client!66
2025-11-28 03:41:26 +00:00
ValdiANS f82ca4f959 chore(FE-195): adjust RowOptionsMenu type 2025-11-28 10:32:00 +07:00
ValdiANS 0cc01ae738 feat(FE-196,199): create ExpensePDF component 2025-11-28 10:31:27 +07:00
ValdiANS 1de743a404 feat(FE-196,199): create ExpensePDFButton component 2025-11-28 10:31:08 +07:00
ValdiANS 68c1e76a4a feat(FE-196,199): add Expense PDF Preview button 2025-11-28 10:30:26 +07:00
ValdiANS 2001cdb843 chore(FE-205): adjust content styling 2025-11-28 10:29:36 +07:00
ValdiANS b8590040ff chore: remove unnecessary code 2025-11-28 10:28:33 +07:00
ValdiANS 909aa3357c chore: add MBU logo 2025-11-28 10:24:56 +07:00
rstubryan 7a76719547 refactor(FE-Storyless): remove console, window and err catch 2025-11-27 13:46:53 +07:00
rstubryan 4b6144d0b4 refactor(FE-Storyless): update import paths for schema files to use absolute paths 2025-11-27 13:36:12 +07:00
ValdiANS 507543eff8 chore: remove unnecessary code 2025-11-27 09:38:26 +07:00
ValdiANS 8dc6b3d1db Merge branch 'development' into feat/FE/US-164/TASK-200-204-205-206-207-expense-realization 2025-11-26 13:44:01 +07:00
Adnan Zahir 22ce1b1142 Merge branch 'feat/FE/US-162/purchase-order' into 'development'
[FEAT/FE][US#161|US#162] Add Feature Purchase Request and Purchase Order

See merge request mbugroup/lti-web-client!65
2025-11-26 12:47:50 +07:00
Rivaldi A N S e126ab4a0e Merge branch 'feat/FE/US-161/TASK-208-212-slicing-ui-and-validation-create-purchase-request-form' into 'feat/FE/US-162/purchase-order'
[FEAT/FE][US#161|US#162] Add Feature Purchase Request and Purchase Order

See merge request mbugroup/lti-web-client!61
2025-11-26 03:10:06 +00:00
rstubryan 7685be0c7b Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-161/TASK-208-212-slicing-ui-and-validation-create-purchase-request-form 2025-11-26 09:43:52 +07:00
Adnan Zahir 8b72f58467 Merge branch 'fix/FE/US-160/marketing-delivery-order' into 'development'
[FIX/FE][US#160] Fixing Missing Component UI DebounceTextArea

See merge request mbugroup/lti-web-client!64
2025-11-26 09:43:16 +07:00
Rivaldi A N S 87c25a8bc4 Merge branch 'dev/randy' into 'fix/FE/US-160/marketing-delivery-order'
[FIX/FE][US#160/TASK#220] Fixing Missing Component UI DebounceTextArea

See merge request mbugroup/lti-web-client!63
2025-11-26 02:15:14 +00:00
randy-ar 1e4c826a0a fix(FE): fixing error missing component DebounceTextArea 2025-11-26 01:27:00 +07:00
rstubryan 6d3632a385 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-161/TASK-208-212-slicing-ui-and-validation-create-purchase-request-form 2025-11-25 11:30:49 +07:00
Adnan Zahir d75ac635df Merge branch 'feat/FE/US-160/marketing-delivery-order' into 'development'
[FE/FE][US#160] Marketing - Delivery Order

See merge request mbugroup/lti-web-client!62
2025-11-25 11:30:17 +07:00
Rivaldi A N S 352fd701cb Merge branch 'dev/randy' into 'feat/FE/US-160/marketing-delivery-order'
[FE/FE][US#160/TASK#179-181-220-272] Adding Feature Delivery Order

See merge request mbugroup/lti-web-client!60
2025-11-25 04:22:36 +00:00
ValdiANS 2a97f9d504 Merge branch 'development' into feat/FE/US-164/TASK-200-204-205-206-207-expense-realization 2025-11-25 10:55:52 +07:00
ValdiANS b805fb4ae1 chore(FE-196): use useApprovalSteps hook 2025-11-25 10:48:27 +07:00
ValdiANS 642f966985 chore: adjust ApprovalSteps component 2025-11-25 10:47:34 +07:00
ValdiANS c3e4d4c630 chore(FE-199,207): adjust expense type according to the API need 2025-11-25 09:25:40 +07:00
ValdiANS b616f28c95 feat: add interceptor to axiosClient to redirect to login page if the user is logged out 2025-11-25 09:24:46 +07:00
ValdiANS 334202569c chore(FE-199,207): integrate ExpenseApiService to API 2025-11-25 09:24:12 +07:00
ValdiANS 1a1fefc237 chore: create AuthApiService 2025-11-25 09:19:58 +07:00
ValdiANS 47690f82ac chore(FE-199): update Expense Request approval line step name 2025-11-25 09:18:04 +07:00
ValdiANS b868a37485 chore(FE-188,193): adjust ExpenseRequestKandangDetailExpense component 2025-11-25 09:17:02 +07:00
randy-ar 034d185b84 fix(FE): make text area debounce input for lag textarea input issue 2025-11-24 17:18:16 +07:00
ValdiANS e4a6b22357 chore(FE-188,193,199): adjust Expense Request Form and integrate to API 2025-11-24 09:54:28 +07:00
ValdiANS 82eac4a965 chore(FE-198): adjust Expense Request Form validation 2025-11-24 09:47:09 +07:00
ValdiANS 20c3e2d6b4 feat(FE-200,204): create ExpenseRealizationKandangDetailExpense component 2025-11-24 09:44:48 +07:00
ValdiANS f24ae992e6 feat(FE-206): create Expense Realization Form validation 2025-11-24 09:43:58 +07:00
ValdiANS 4f375a4f0b feat(FE-200,204): create Expense Realization Form 2025-11-24 09:43:20 +07:00
ValdiANS 510d10270e feat(FE-195): implement bulk approve/reject in Expense list page 2025-11-24 09:42:14 +07:00
ValdiANS b083b9cb1a feat(FE-196): create Expense Request Detail's content component 2025-11-24 09:38:31 +07:00
ValdiANS 93d14cb98b feat(FE-205): create Expense Realization Detail's content component 2025-11-24 09:38:13 +07:00
ValdiANS b0bd2bd8a5 chore(FE-196,205): refactor ExpenseDetail component 2025-11-24 09:35:30 +07:00
ValdiANS c0bba827a0 chore: remove dummy data 2025-11-24 09:31:27 +07:00
ValdiANS 032e9d45b3 feat: add logout functionality 2025-11-24 09:30:12 +07:00
ValdiANS 4027b25598 chore(FE-204): create Edit Expense Realization page 2025-11-24 09:26:37 +07:00
ValdiANS 70b1ba3f6b chore(FE-200): create Add Expense Realization page 2025-11-24 09:26:20 +07:00
ValdiANS d34c113be3 chore(FE-205): create layout file for expense realization detail page 2025-11-24 09:23:54 +07:00
ValdiANS 6a08854603 chore(FE-204,207): add validation to check if expense can be edited 2025-11-24 09:21:32 +07:00
rstubryan 824eed910a fix(resolve): fix resolve merge 2025-11-24 08:34:50 +07:00
randy-ar d769bfe452 fix(FE-270): adjust endpoint get next period project flock 2025-11-23 13:34:45 +07:00
rstubryan 274322606d refactor(FE-212): enhance quantity and price handling in PurchaseOrderStaffApprovalForm with improved validation and formatting 2025-11-22 13:47:24 +07:00
rstubryan 62c3d2af53 refactor(FE-212): add quantity field handling in PurchaseOrderStaffApprovalForm for improved item updates 2025-11-22 13:36:38 +07:00
rstubryan 01b9595606 refactor(FE-212): replace quantity input with NumberInput for editable rows in PurchaseOrderStaffApprovalForm 2025-11-22 13:32:10 +07:00
rstubryan 09065f59cf refactor(FE-212): enhance approval step logic in PurchaseOrderStaffApprovalForm for better item management 2025-11-22 13:23:23 +07:00
rstubryan ad79f29494 refactor(FE-212): update supplier data fetching logic to handle invalid supplier IDs in PurchaseRequestForm 2025-11-22 13:00:57 +07:00
randy-ar a26665e4ac fix(FE-179): prevent qty input greater than sales order qty 2025-11-22 12:58:55 +07:00
randy-ar eaaed9521b fix(FE-179-220): Adjust form add and edit delivery, add validation to prevent duplicate product 2025-11-22 12:04:46 +07:00
rstubryan 5bb94b5679 refactor(FE-Issue): add validation to prevent selecting the same warehouse for source and destination in MovementForm 2025-11-22 11:33:28 +07:00
rstubryan 3c7f630580 feat(FE-Storyless): add date input for transfer date in MovementForm 2025-11-22 11:17:06 +07:00
rstubryan 6ce5a5b625 refactor(FE-208): filter supplier options by category in MovementForm for improved data relevance 2025-11-22 11:10:49 +07:00
rstubryan c12a58cb6d refactor(FE-208): add validation to ensure destination warehouse is different from source warehouse in MovementForm 2025-11-22 11:07:23 +07:00
rstubryan 34c1da94d8 refactor(FE-Issue): remove unused product and warehouse selection from MovementTable for cleaner UI 2025-11-22 10:47:27 +07:00
rstubryan 5b84a19afa refactor(FE-Issue): add max length validation for product category name in ProductCategoryForm 2025-11-22 10:35:56 +07:00
rstubryan a4a2b76277 fix(resolve): fix resolve MR 2025-11-22 10:25:37 +07:00
rstubryan 23abdbb78f refactor(FE-208): display formatted total and subtotal quantities in PurchaseOrderInvoice for improved clarity 2025-11-22 10:21:36 +07:00
rstubryan 6a39c2fd3f refactor(FE-208): swap accessor keys for total_qty and sub_qty in PurchaseOrderDetail for accurate data representation 2025-11-22 10:17:38 +07:00
rstubryan f9215738aa feat(FE-212): add quantity validation to PurchaseOrderAcceptApprovalForm to prevent submission with exceeded received quantities 2025-11-22 10:16:39 +07:00
rstubryan b12a1ebd36 feat(FE-212): add rawDataApprovals prop to PurchaseOrderStaffApprovalForm for improved approval data handling 2025-11-22 10:11:30 +07:00
rstubryan 0fefe5e035 feat(FE-212): enhance PurchaseOrderStaffApprovalForm to dynamically determine form type and validate product selection for duplicates 2025-11-22 09:47:20 +07:00
rstubryan ef95d1a0e8 refactor(FE-208): improve deletion logic in PurchaseOrderDetail to restrict item deletion to approval step 3 and enhance approval step handling 2025-11-22 00:58:06 +07:00
rstubryan 30ab69ae21 refactor(FE-208,212,213): update PurchaseOrderForm and PurchaseOrderStaffApprovalForm to allow optional product and warehouse fields and control visibility of action buttons based on approval step 2025-11-22 00:52:23 +07:00
rstubryan 5b28067203 feat(FE-208,212,213): enhance PurchaseOrderStaffApprovalForm with product and warehouse selection for new items 2025-11-21 22:46:50 +07:00
rstubryan ffea96edf9 refactor(FE-208): update deletion logic in PurchaseOrderDetail to allow item deletion only at approval step 3 2025-11-21 20:30:06 +07:00
rstubryan 1a74a9d33f feat(FE-208,212,213): integrate dynamic supplier selection in PurchaseOrderAcceptApprovalForm 2025-11-21 20:23:58 +07:00
rstubryan b9990e0253 refactor(FE-208): enhance PurchaseRequestForm to fetch and display supplier-specific products 2025-11-21 18:54:17 +07:00
rstubryan 95a7afdaa6 feat(FE-208): add refetchData prop to PurchaseOrderDetail and related forms for improved data synchronization 2025-11-21 18:18:40 +07:00
randy-ar b198f24b75 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into dev/randy 2025-11-21 13:35:03 +07:00
randy-ar b7c3b9313c fix(FE-169-177): Allow Drafted Marketing to be rejected 2025-11-21 13:33:40 +07:00
rstubryan c74733430b feat(FE-208): implement conditional item deletion in PurchaseOrderDetail and update form handling in PurchaseOrderStaffApprovalForm 2025-11-21 13:26:34 +07:00
rstubryan f6fe2d4eb1 refactor(FE-208): remove 'Jumlah Retur' column from PurchaseOrderDetail for UI simplification 2025-11-21 11:01:33 +07:00
rstubryan d624da97c3 feat(FE-208): replace product name input with select dropdown for better usability 2025-11-21 10:13:38 +07:00
Adnan Zahir fdf680bc38 Merge branch 'feat/FE/US-159/marketing-sales-order' into 'development'
[FE/FE][US#159] Sales Order

See merge request mbugroup/lti-web-client!59
2025-11-21 10:08:11 +07:00
Rivaldi A N S e9d9897e1d Merge branch 'dev/randy' into 'feat/FE/US-159/marketing-sales-order'
[FE/FE][US#159/TASK#166-167-168-169-176-177-271] Adding Feature Sales Order

See merge request mbugroup/lti-web-client!56
2025-11-21 03:04:03 +00:00
randy-ar 70521330e4 fix(FE): resolve merge conflict 2025-11-21 09:45:40 +07:00
rstubryan 63e5962a4e fix(resolve): fix resolve MR 2025-11-21 09:25:16 +07:00
rstubryan 835074f538 refactor(FE-212): group purchase items by warehouse in PurchaseOrderStaffApprovalForm 2025-11-21 09:17:00 +07:00
Adnan Zahir e69e5da2c3 Merge branch 'feat/FE/US-79/egg-grading' into 'development'
[FEAT/FE][US#78|US#79] Add Feature Daily Recording Laying, Grading and Adjusting Recording Growing

See merge request mbugroup/lti-web-client!58
2025-11-21 09:15:02 +07:00
Rivaldi A N S e451a128c5 Merge branch 'feat/FE/US-78/TASK-170-174-slicing-ui-and-validation-create-daily-recording-laying-form' into 'feat/FE/US-79/egg-grading'
[FEAT/FE][US#78|US#79] Add Feature Daily Recording Laying, Grading and Adjusting Recording Growing

See merge request mbugroup/lti-web-client!51
2025-11-21 02:05:18 +00:00
randy-ar 23ab4b15e1 fix(FE-270): delete relations project flock to flock data master 2025-11-21 01:28:57 +07:00
randy-ar d523a01e34 fix(FE-270): adjust flock_name in select input and fixing project flock approval 2025-11-21 00:31:25 +07:00
rstubryan e00b7bc3f2 refactor(FE-212): update default unit of measure in PurchaseOrderAcceptApprovalForm 2025-11-20 23:52:35 +07:00
rstubryan 51f157dfad refactor(FE-208,212): enhance quantity validation and formatting in PurchaseOrderAcceptApprovalForm 2025-11-20 23:50:14 +07:00
rstubryan c1d71ee3c6 refactor(FE-212): add warehouse information to PurchaseOrderAcceptApprovalForm 2025-11-20 23:31:35 +07:00
rstubryan c8b3e52ac0 refactor(FE-212): remove commented-out edit button in PurchaseTable component 2025-11-20 23:28:05 +07:00
rstubryan b2ef545f63 refactor(FE-208,212,213): replace product_id and warehouse_id with purchase_item_id in PurchaseRequestStaffApprovalForm and related schemas 2025-11-20 23:21:12 +07:00
rstubryan a6d187a8b3 refactor(FE-208,212,213): add action field to staff approval request payloads and implement rejection handling in PurchaseOrderDetail 2025-11-20 23:05:12 +07:00
rstubryan 24e2bcf35d refactor(FE-212): update notes field in UpdateStaffApprovalRequestPayload for consistency 2025-11-20 22:54:22 +07:00
rstubryan 417d08e0fc refactor(FE-212,213): unify purchase API service references in Purchase components 2025-11-20 22:39:04 +07:00
rstubryan 6e9d065bc6 refactor(FE-212): change HTTP method to DELETE for item removal in PurchaseRequestForm 2025-11-20 22:16:44 +07:00
randy-ar af939ee225 feat(FE-272): adding DO PDF export 2025-11-20 19:43:50 +07:00
randy-ar 391b355e8d feat(FE-181-179-220-271): adding SO export PDF and adjusting delivery form 2025-11-20 18:15:42 +07:00
rstubryan 4ddc44b59c refactor(FE-208,212): enhance product selection and quantity input handling in PurchaseRequestForm based on supplier selection 2025-11-20 15:38:04 +07:00
rstubryan e0b4805d0a refactor(FE-208,212): reset touched fields and values for purchase items in PurchaseRequestForm 2025-11-20 15:36:12 +07:00
rstubryan 074e6fad05 refactor(FE-208,212): improve credit term handling and validation in PurchaseRequestForm 2025-11-20 15:33:43 +07:00
rstubryan e640bce8ea refactor(FE-208): streamline supplier change handling and reset purchase items in PurchaseRequestForm 2025-11-20 15:25:39 +07:00
rstubryan f1e5692f8f refactor(FE-208,212): initialize items in PurchaseRequestForm with initial values 2025-11-20 14:50:36 +07:00
rstubryan 655e971788 refactor(FE-208): update input wrapper classes for consistency in PurchaseRequestForm 2025-11-20 14:44:41 +07:00
rstubryan 00e18d6d0d refactor(FE-208,212): enhance form validation and streamline change handlers in PurchaseRequestForm 2025-11-20 14:13:57 +07:00
rstubryan 343cc7c4e7 refactor(FE-212): remove unused poDate and supplier fields from table filter in PurchaseTable 2025-11-20 13:34:52 +07:00
rstubryan 4e8b17f55c refactor(FE-208): remove unused supplier state and handlers in PurchaseTable 2025-11-20 13:32:26 +07:00
rstubryan 862e056950 chore(FE-Storyless): prettier format 2025-11-20 13:07:51 +07:00
rstubryan 1310c7401c feat(FE-170,174): enhance number formatting in RecordingForm validation messages 2025-11-20 11:25:36 +07:00
rstubryan d0f2fefe1c feat(FE-170,174): add validation for total chick quantity in RecordingForm 2025-11-20 11:18:48 +07:00
rstubryan 6cb517ac92 fix(FE-174): correct parameter name for next day recording API request 2025-11-20 10:58:32 +07:00
rstubryan c698893f88 feat(FE-170,174,175): implement next day recording functionality in RecordingForm 2025-11-20 10:31:24 +07:00
rstubryan cb236c191b refactor(FE-170,174): adjust layout of action buttons in RecordingForm for better responsiveness 2025-11-20 09:20:39 +07:00
rstubryan ac764c9d3b refactor(FE-170,174): clean up grading redirect in RecordingTable action 2025-11-20 09:08:06 +07:00
randy-ar b33e7a1919 feat(FE-181-179-220): Slicing UI, Client Side Validation and API Integration for Delivery Order 2025-11-20 00:57:07 +07:00
rstubryan 28a5343592 refactor(FE-170): update tableWrapperClassName to allow overflow visibility 2025-11-19 22:41:02 +07:00
rstubryan d3c3d9c9c6 feat(FE-170,174): add notes input to approval and rejection confirmation modals 2025-11-19 20:25:06 +07:00
rstubryan 42253d123b feat(FE-170,174): enhance approval and rejection modals to include notes input 2025-11-19 20:07:26 +07:00
rstubryan 539b329b6f refactor(FE-170,174): refine RecordingTable approval logic and remove unused tooltips 2025-11-19 19:47:55 +07:00
rstubryan 427887a0e0 feat(FE-170,174): update RecordingTable to restrict selection and approval to GROWING category only 2025-11-19 19:34:46 +07:00
rstubryan 7e58e46254 feat(FE-170,174): add loading state and improve validation messages in GradingForm 2025-11-19 19:17:32 +07:00
rstubryan c876824c8f feat(FE-170,174,175): add validation for incomplete grading in GradingForm 2025-11-19 19:05:45 +07:00
rstubryan 9c69369a51 feat(FE-170): remove total_weight from body_weights and update validation logic in RecordingForm 2025-11-19 18:04:15 +07:00
rstubryan 7b28e47c68 refactor(FE-170): streamline RecordingTable component by removing unused imports and state management for area, location, and kandang 2025-11-19 17:23:04 +07:00
rstubryan 432ea1e975 refactor(FE-208,212): update input wrapper classes for improved responsiveness in PurchaseRequestForm 2025-11-19 17:12:18 +07:00
rstubryan 14f216a352 refactor(FE-208,212): rename product_warehouse to warehouse and update related schema and form handling 2025-11-19 16:21:46 +07:00
rstubryan 8bda56e5d3 refactor(FE-208,212): add refreshApprovals and onModalClose props to approval forms 2025-11-19 13:27:36 +07:00
randy-ar 429f2b9109 fix(FE): adding capacity to kandang and change confirmation modal marketing with note 2025-11-19 13:00:21 +07:00
rstubryan 9d6455167f refactor(FE-208,212): enhance approval button layout and add reject option in PurchaseOrderDetail 2025-11-19 11:40:47 +07:00
rstubryan e3274a3353 refactor(FE-208,212): streamline approval button handling in PurchaseOrderDetail 2025-11-19 11:37:32 +07:00
rstubryan 07fd71558e refactor(FE-208,212): remove debug information from PurchaseOrderAcceptApprovalForm 2025-11-19 11:02:50 +07:00
rstubryan d2a69917e7 refactor(FE-208,212): improve rendering of grouped goods receipt items in PurchaseOrderDetail 2025-11-19 10:55:44 +07:00
rstubryan af5dfa9292 refactor(FE-208,212): implement grouping of goods receipt items and enhance table rendering in PurchaseOrderDetail 2025-11-19 10:50:53 +07:00
randy-ar 8662bcb63b fix(FE): resolve merge conflict 2025-11-19 10:30:21 +07:00
randy-ar f68e59e8c7 fix(FE): fixing table flickering when input form value 2025-11-19 10:21:59 +07:00
rstubryan b520b4ee54 refactor(FE-208,212,213): add transport-related fields and update form handling in PurchaseOrder forms 2025-11-19 10:19:05 +07:00
rstubryan 89d9d40713 refactor(FE-208,212): remove warehouse-related fields and logic from PurchaseOrder forms and schema 2025-11-19 09:17:17 +07:00
rstubryan 17378d8408 refactor(FE-208,212): rename getPurchaseItemError to isRepeaterInputError for clarity in validation checks 2025-11-18 23:13:15 +07:00
rstubryan 25544e2e38 refactor(FE-208,212): enhance PurchaseOrderDetail and PurchaseOrderStaffApprovalForm to conditionally render invoice and item receipt based on approval steps 2025-11-18 23:10:49 +07:00
rstubryan 89b54f6f87 refactor(FE-208,212): update PurchaseOrderDetail to conditionally render invoice based on update permissions 2025-11-18 22:51:29 +07:00
rstubryan 3a431352ed refactor(FE-208,212): enhance PurchaseOrderDetail and PurchaseOrderStaffApprovalForm to conditionally allow updates based on approval step 2025-11-18 22:46:46 +07:00
rstubryan f6afb741af refactor(FE-208,212): enhance PurchaseOrderStaffApprovalForm for edit functionality and validation checks 2025-11-18 22:32:39 +07:00
rstubryan f4bb87550c refactor(FE-212): add updateStaffApproval method and enhance PurchaseStaffApprovalItem schema with optional purchase_item_id 2025-11-18 22:28:27 +07:00
rstubryan 3d468d9507 refactor(FE-208,213): simplify PurchaseOrderForm and PurchaseOrderStaffApprovalForm by removing unused product and warehouse fields and enhancing price validation 2025-11-18 22:13:14 +07:00
rstubryan 0c79e86736 refactor(FE-208,212): update PurchaseOrderForm and PurchaseOrderStaffApprovalForm for improved validation and dynamic item handling 2025-11-18 21:00:46 +07:00
rstubryan 1b90d657ff refactor(FE-208,212): update PurchaseOrderForm and PurchaseOrderStaffApprovalForm for improved validation and dynamic item handling 2025-11-18 20:43:57 +07:00
rstubryan 0d025ba34c refactor(FE-208,213): streamline PurchaseOrderAcceptApprovalForm by removing hardcoded warehouse options and utilizing initialValues for dynamic data 2025-11-18 18:31:49 +07:00
rstubryan 8c3cd3bc53 refactor(FE-208,213): enhance PurchaseOrderDetail and PurchaseOrderStaffApprovalForm components with initialValues prop and clean up unused code 2025-11-18 18:22:10 +07:00
rstubryan 75e7b9a6de refactor(FE-208,213): update PurchaseOrderDetail and PurchaseOrderInvoice components for improved warehouse and supplier details 2025-11-18 14:58:49 +07:00
rstubryan 00c432a918 refactor(FE-208,212,213): update approval steps and improve PurchaseOrderDetail component structure 2025-11-18 14:49:30 +07:00
rstubryan f6cf22f885 refactor(FE-208): update PurchaseOrderDetail component to use initialValues prop 2025-11-18 14:36:16 +07:00
rstubryan 3d86c9ce6b refactor(FE-Storyless): add support for 'UPDATED' action in approval status and make page parameter optional 2025-11-18 14:34:26 +07:00
rstubryan d93f0c26b6 refactor(FE-212): update PurchaseOrderDetail component to use initialValues prop instead of data 2025-11-18 14:32:24 +07:00
rstubryan e8dd4f3759 feat(FE-218,212,213): implement PurchaseOrderDetail component and update related types 2025-11-18 14:30:09 +07:00
rstubryan edd59598f9 refactor(FE-208,212): refine PurchaseRequestForm validation and state management 2025-11-18 13:50:54 +07:00
rstubryan 964a4500ab feat(FE-208): update date formatting in PurchaseTable for improved readability 2025-11-18 13:39:42 +07:00
rstubryan 9a650a130d feat(FE-208): enhance PurchaseTable with improved state management and memoization 2025-11-18 13:35:58 +07:00
rstubryan 2f2c1fca07 feat(FE-212): add sales orders link and accepted file types constants 2025-11-18 13:25:21 +07:00
rstubryan 2680d5a24d feat(FE-212): add sales orders link and accepted file types constants 2025-11-18 13:24:34 +07:00
rstubryan 0f9019e7b4 fix(resolve): fix resolve MR 2025-11-18 11:36:41 +07:00
rstubryan 14b7f06369 fix(resolve): fix resolve MR 2025-11-18 11:17:20 +07:00
rstubryan 4dd50622a9 feat(FE-170,174,175): enhance grading button with consumable eggs validation and update rejection notes 2025-11-18 11:11:32 +07:00
rstubryan 6022ff2dae feat(FE-170,174,175): add tooltip for grading button based on consumable eggs validation 2025-11-18 10:48:41 +07:00
rstubryan 9164b985b1 feat(FE-170,174,175): implement approval lines for growing and laying recording categories 2025-11-18 10:37:10 +07:00
rstubryan 38cab1464c refactor(FE-170,174,175): add layout component and enhance API data fetching limits 2025-11-18 09:40:35 +07:00
Adnan Zahir 71b7598f87 Merge branch 'feat/FE/US-163/expense-request' into 'development'
[FEAT/FE][US#163] Expense Request

See merge request mbugroup/lti-web-client!55
2025-11-18 09:25:50 +07:00
Rivaldi A N S 075e5e452f Merge branch 'feat/FE/US-163/TASK-188-193-195-196-198-expense-request' into 'feat/FE/US-163/expense-request'
[FEAT/FE][US#163/TASK#188-193-195-196-198] Expense Request

See merge request mbugroup/lti-web-client!54
2025-11-17 09:15:04 +00:00
ValdiANS 8cd054e6aa Merge branch 'development' into feat/FE/US-163/expense-request 2025-11-17 16:04:35 +07:00
randy-ar a9bdb6c36e feat(FE-177): Integrate API sales order and fixing sales order initial state 2025-11-17 15:59:31 +07:00
ValdiANS 8b02d0df1c chore(FE-199): add reference_number, po_number, and approval property 2025-11-17 14:57:55 +07:00
ValdiANS 470cdb8b02 chore(FE-199): create Expense dummy data 2025-11-17 14:56:25 +07:00
ValdiANS da40e7d7be chore(FE-196): create expense request approval line 2025-11-17 14:55:27 +07:00
rstubryan 9260f1aff6 refactor(FE-212): update qty validation in PurchaseRequestForm schema to enforce numeric input 2025-11-17 14:54:15 +07:00
rstubryan 0087ba384c refactor(FE-212): update qty validation in PurchaseRequestForm schema to enforce numeric input 2025-11-17 14:45:46 +07:00
rstubryan 71a41d3f37 feat(FE-208,212): update purchase request form to use 'qty' instead of 'quantity' and add credit term field 2025-11-17 14:38:09 +07:00
ValdiANS c58dde960c chore(FE-188,193): add IDR prefix 2025-11-17 14:23:35 +07:00
ValdiANS 4e88e76538 feat(FE-193): add existing documents link 2025-11-17 14:10:08 +07:00
ValdiANS e6ac11893a chore(FE-198): create UploadRequestDocumentsFormSchema and UploadRequestDocumentsFormValues 2025-11-17 14:07:14 +07:00
ValdiANS 83f1ba46a7 chore(FE-188,193): adjust ExpenseKandangsTable component 2025-11-17 14:05:24 +07:00
ValdiANS fc76b44279 feat(FE-195,196): create RealizationStatusBadge component 2025-11-17 14:00:16 +07:00
ValdiANS dbe6ced602 feat(FE-195,196): create ExpenseStatusBadge component 2025-11-17 13:58:37 +07:00
ValdiANS f01e764d9c feat(FE-195): add filter and approve/reject functionality 2025-11-17 13:56:26 +07:00
rstubryan 6467af35bc refactor(FE-208): restructure goods receipt table columns in PurchaseOrderDetail 2025-11-17 13:51:32 +07:00
ValdiANS ac227f7780 feat(FE-196): create ExpenseDetail component for expense detail page 2025-11-17 13:48:07 +07:00
rstubryan c8f1ea0e4f feat(FE-208): add index column to goods receipt table in PurchaseOrderDetail 2025-11-17 13:45:28 +07:00
ValdiANS 6067c00219 feat(FE-193): create Expense Edit page 2025-11-17 13:40:40 +07:00
rstubryan 283c2b2a44 feat(FE-208,212): implement bulk delete functionality for purchase order items with confirmation modal 2025-11-17 13:21:43 +07:00
rstubryan 7ec4105454 refactor(FE-208,212): implement delete functionality for purchase order items with confirmation modal 2025-11-17 13:09:47 +07:00
ValdiANS a151abfbe9 feat(FE-196): create Expense Detail page 2025-11-17 11:58:34 +07:00
ValdiANS e14d10c503 chore(FE-193,196): create expense detail layout file 2025-11-17 11:57:44 +07:00
rstubryan d0ba9eadbd refactor(FE-208): add edit functionality and modal for Penerimaan Barang in PurchaseOrderDetail 2025-11-17 11:29:17 +07:00
rstubryan 2190f65cb2 refactor(FE-208): add edit functionality to Item Pembelian section in PurchaseOrderDetail 2025-11-17 11:15:13 +07:00
rstubryan b82ba60a32 refactor(FE-208): enhance PurchaseOrderDetail layout with section header for goods receipt information 2025-11-17 10:21:17 +07:00
rstubryan 30ed70b669 refactor(FE-212): add DeletePurchaseRequestItemPayload and implement PurchaseDeleteItemsService 2025-11-17 10:13:30 +07:00
rstubryan 69a8899cac refactor(FE-212): simplify PurchaseRequestService to a constant API instance 2025-11-17 09:39:16 +07:00
rstubryan 9f41768e54 refactor(FE-208): rename PurchaseRequisitions to PurchaseRequest and update related API references 2025-11-17 09:22:49 +07:00
rstubryan c951f09667 refactor(FE-208): rename PurchaseRequisitions to PurchaseRequest and update related API references 2025-11-17 09:21:18 +07:00
randy-ar d3c4706d87 refactor(FE-177-166-167): separate table repeater component and adjust data types with new API Payload 2025-11-16 23:19:28 +07:00
rstubryan 64605b168e refactor(FE-208): remove period from currency formatting in invoice display 2025-11-15 10:57:30 +07:00
rstubryan e421c7d422 refactor(FE-208): enhance PurchaseOrderInvoice layout with improved cell styling and add inner table header 2025-11-15 10:54:59 +07:00
rstubryan 4bd6ac3cac refactor(FE-208): enhance PurchaseOrderInvoice styles with primary color and adjust address maxWidth 2025-11-15 10:43:46 +07:00
rstubryan e638856ea9 chore(deps): add @react-pdf/renderer dependency for PDF generation functionality 2025-11-15 10:36:30 +07:00
rstubryan c45c8601cb feat(FE-208): add PurchaseOrderInvoice component for PDF generation and update PurchaseOrderDetail to integrate invoice display 2025-11-15 10:36:01 +07:00
rstubryan 57a867f611 refactor(FE-208): update approval buttons in PurchaseOrderDetail to include Manager Approval 2025-11-14 16:08:30 +07:00
rstubryan a5758aece4 refactor(FE-208): remove unnecessary font styling from purchase number display in PurchaseOrderDetail 2025-11-14 16:07:21 +07:00
randy-ar 3fdb10ec7f feat(FE-177): refactor sales order management with new schema and API integration 2025-11-14 15:52:58 +07:00
ValdiANS 1ee0454e6b Merge branch 'development' into feat/FE/US-163/TASK-188-193-198-slicing-expense-request-form 2025-11-14 13:41:47 +07:00
rstubryan 0c4c0ce3ab feat(FE-208,212): add PO document path and update PurchaseOrderDetail to display document link 2025-11-14 13:22:05 +07:00
rstubryan 00e0202be2 feat(FE-208): add confirmation modal for manager approval with notes functionality 2025-11-14 10:52:36 +07:00
rstubryan 3d49947c1e feat(FE-212): add manager approval requisition type and service with nullable notes 2025-11-14 10:52:21 +07:00
rstubryan 1ab72b8637 feat(FE-208): add staff and accept approval modals with action buttons in PurchaseOrderDetail 2025-11-14 10:23:37 +07:00
rstubryan f98a597115 refactor(FE-208): refactor PurchaseOrderDetail to integrate Purchase data and update Goods Receipt structure 2025-11-14 10:11:13 +07:00
rstubryan 1be61ae4ff feat(FE-212): extend PurchaseItem type with additional fields for enhanced purchase details 2025-11-14 09:09:23 +07:00
rstubryan 1b64c1f5d1 feat(FE-208): add goods receipt section with table and dummy data in purchase order detail view 2025-11-14 09:05:58 +07:00
rstubryan 7485919e52 feat(FE-208): implement purchase order detail view with collapsible sections and summary table 2025-11-13 16:43:08 +07:00
rstubryan e5d9612e29 refactor(FE-208): update 'Purchase' title to 'Pembelian' in constants 2025-11-13 15:50:11 +07:00
rstubryan b6ac8026c7 chore: prettier format 2025-11-13 15:43:41 +07:00
rstubryan d9ebde65cb chore: prettier format 2025-11-13 15:35:15 +07:00
Adnan Zahir c6f881c78d Merge branch 'feat/FE/US-75-chick-in-doc' into 'development'
[FEAT/FE][US#75] Refactor Chick In DOC

See merge request mbugroup/lti-web-client!52
2025-11-13 15:19:16 +07:00
Rivaldi A N S 18b036285a Merge branch 'dev/randy' into 'feat/FE/US-75-chick-in-doc'
[FIX/FE][US#17/TASK#238-239-240] Resolve Merge Conflict

See merge request mbugroup/lti-web-client!53
2025-11-13 07:54:40 +00:00
rstubryan 5648b51c2e feat(FE-Storyless): add collapsible functionality and improve image handling 2025-11-13 14:54:37 +07:00
rstubryan c7bad200ae chore: prettier format 2025-11-13 14:30:24 +07:00
rstubryan a2dd781140 chore: prettier format 2025-11-13 14:28:46 +07:00
randy-ar 10976452f5 fix(FE-85): remove debug message in flock edit page 2025-11-13 14:25:44 +07:00
ValdiANS 6ffb6e1560 chore: prettier format 2025-11-13 14:25:03 +07:00
ValdiANS 138c97a695 Merge branch 'development' into feat/FE/US-163/TASK-188-193-198-slicing-expense-request-form 2025-11-13 14:20:28 +07:00
randy-ar 56f57c4a6b fix(FE): resolve merge conflict 2025-11-13 14:12:25 +07:00
rstubryan c2479ad248 chore: prettier format 2025-11-13 14:08:35 +07:00
rstubryan b3f4e42f1a chore: prettier format 2025-11-13 14:01:07 +07:00
rstubryan ac8c39324b fix(resolve): resolve MR 2025-11-13 13:06:18 +07:00
Adnan Zahir 7478c2597f Merge branch 'feat/FE/US-77/transfer-to-laying' into 'development'
[FEAT/FE][US#77] Transfer to Laying - API Integration

See merge request mbugroup/lti-web-client!50
2025-11-13 12:33:30 +07:00
Rivaldi A N S 5975340c3d Merge branch 'dev/randy' into 'feat/FE/US-75-chick-in-doc'
[FEAT/FE][US#75/TASK#238-239-240] Refactor Chick In DOC

See merge request mbugroup/lti-web-client!48
2025-11-13 04:53:00 +00:00
randy-ar e5318fd6b5 refactor(FE-238-86): change useApprovalSteps params, and minimize fetching data 2025-11-13 11:18:11 +07:00
randy-ar def7ee4a0b fix(FE-238): hide approval button when chickin on submission 2025-11-13 10:46:11 +07:00
rstubryan 26811f5e3e Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-161/TASK-208-212-slicing-ui-and-validation-create-purchase-request-form 2025-11-13 10:24:37 +07:00
randy-ar 4485ea8181 fix(FE-238): mengubah ui form chick in 2025-11-13 09:54:51 +07:00
rstubryan 57ca050100 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-78/TASK-170-174-slicing-ui-and-validation-create-daily-recording-laying-form 2025-11-13 09:34:52 +07:00
rstubryan b64ab6567b feat(FE-170,175): simplify approval status logic in GradingForm and RecordingForm 2025-11-13 09:23:29 +07:00
rstubryan 478ca186d3 feat(FE-170,175): add approval steps and status display in GradingForm and RecordingForm 2025-11-12 23:41:22 +07:00
rstubryan 47262adaf1 feat(FE-170,174,175): implement approval steps in RecordingForm and remove unused form step status 2025-11-12 23:12:22 +07:00
rstubryan e2249cf73a chore(FE-Storyless): temp fix resolve issue error on flock name 2025-11-12 22:24:06 +07:00
rstubryan 0e7c178736 feat(FE-170): enhance RecordingForm to include kandang_id from lookup and simplify product labels 2025-11-12 22:13:17 +07:00
rstubryan 4a974048a7 feat(FE-208): refactor Purchase Order forms to use table layout for improved readability and maintainability 2025-11-12 21:52:02 +07:00
rstubryan cd8ab8844b feat(FE-208): enhance Purchase Order acceptance form with Card component and improved layout for received date inputs 2025-11-12 20:43:34 +07:00
rstubryan 5d88af1a31 feat(FE-208,212): implement table-based UI for Purchase Order acceptance and staff approval forms 2025-11-12 20:27:06 +07:00
randy-ar fa3ba46810 refactor(FE): menambahkan parameter params useApprovalSteps dan return rawData 2025-11-12 17:03:37 +07:00
rstubryan 4215c6c6ce feat(FE-208): enhance DateInput component with range selection and modal support 2025-11-12 16:54:17 +07:00
randy-ar 6670f1e31b refactor(FE-238-239-240): implement approval workflow chickin & project flock, membuat custom hook useApprovals, dan handling error format approvals 2025-11-12 15:25:14 +07:00
randy-ar b2f4317c08 refactor(FE-238-239-240): implement approval workflow chickin & project flock, membuat custom hook useApprovals, dan handling error format approvals 2025-11-12 15:24:44 +07:00
Rivaldi A N S b9fb3c8311 Merge branch 'feat/FE/US-77/TASK-149-transfer-to-laying-api-integration' into 'feat/FE/US-77/transfer-to-laying'
[FEAT/FE][US#77/TASK#149] API Integration

See merge request mbugroup/lti-web-client!49
2025-11-12 06:48:25 +00:00
ValdiANS 305ad67cb4 chore: run format before commit 2025-11-12 13:39:48 +07:00
ValdiANS e3ecf5dc50 feat(FE-149): adjust BaseTransferToLaying and CreateTransferToLayingPayload structure based on the API 2025-11-12 13:38:12 +07:00
ValdiANS bc8ba1df9c feat(FE-149): add flock_name and kandangs.project_flock_kandang_id field 2025-11-12 13:37:05 +07:00
ValdiANS e7d2c3bc13 feat: add capacity to kandang 2025-11-12 13:36:33 +07:00
ValdiANS b7a055888b chore: remove unnecessary code 2025-11-12 13:36:22 +07:00
ValdiANS 8d09aec66a feat(FE-149): integrate TransferToLayingService to API 2025-11-12 13:36:12 +07:00
ValdiANS 776b809931 chore: change project flock API endpoint 2025-11-12 13:35:24 +07:00
ValdiANS c6fb707a9f chore(FE-149): add TRANSFER_TO_LAYING_APPROVAL_LINE constant 2025-11-12 13:34:49 +07:00
ValdiANS 569a8b495b feat(FE-149): integrate TransferToLayingForm to API 2025-11-12 13:34:25 +07:00
ValdiANS 1ff1e53e02 feat(FE-149): create getTransferToLayingFormInitialValues and getFilledTransferToLayingFormInitialValues helper function 2025-11-12 13:32:23 +07:00
ValdiANS 8e3282bb7d feat(FE-149): integrate TransferToLayingsTable to API 2025-11-12 13:31:35 +07:00
ValdiANS 3c0bd647a8 chore: add capacity dummy data 2025-11-12 13:30:35 +07:00
ValdiANS 557e20cffe chore: set approval status to idle if previous status is rejected 2025-11-12 13:25:58 +07:00
ValdiANS 5124c1b66a chore: create ConfirmationModalWithNotes component 2025-11-12 13:24:51 +07:00
ValdiANS c9092f36e3 chore: add children prop 2025-11-12 13:23:20 +07:00
ValdiANS 73ab5703db chore: update DateInput component 2025-11-12 13:19:00 +07:00
ValdiANS 2959295bfa chore: add enableRowSelection prop 2025-11-12 13:18:26 +07:00
ValdiANS 03b16248e5 chore: update Modal component 2025-11-12 13:15:47 +07:00
rstubryan f264474293 refactor(FE-208): update modal width classes in PurchaseTable for improved responsiveness 2025-11-12 13:14:27 +07:00
ValdiANS 963377199f feat(FE-149): integrate transfer to laying edit page to API 2025-11-12 13:11:30 +07:00
ValdiANS 4bbf6fd7f8 feat(FE-149): integrate transfer to laying detail page to API 2025-11-12 13:10:18 +07:00
ValdiANS 4422b7391a chore(FE-149): install react-day-picker 2025-11-12 13:04:09 +07:00
rstubryan c770651a01 refactor(FE-212): simplify validation for supplier, area, location, and warehouse fields in PurchaseRequisitionsForm 2025-11-12 12:58:08 +07:00
rstubryan 603f95a9b2 refactor(FE-208,212): update terminology in PurchaseOrder forms for consistency and clarity 2025-11-12 11:54:00 +07:00
rstubryan f26e54e8f2 refactor(FE-208,212): update width classes for form fields in PurchaseOrder forms for better responsiveness 2025-11-12 11:16:46 +07:00
rstubryan bc53b9073c feat(FE-208,212): simplify PurchaseOrder forms by removing unused fields and updating user names 2025-11-12 10:51:57 +07:00
rstubryan 45f12cad4f feat(FE-Storyless): update modal functionality to use show() method and clean up code 2025-11-12 09:33:32 +07:00
randy-ar 5dccaf40cb refactor(FE-88): memisahkan file api project flock & penyesuaian tipe data dan paylod dengan BE 2025-11-12 09:04:23 +07:00
rstubryan fde9c449a6 feat(FE-Storyless): update UI form UI repo 2025-11-12 08:57:06 +07:00
rstubryan ecb497430a feat(FE-208,212): enhance PurchaseOrder forms with onCancel functionality and UI improvements 2025-11-11 15:05:05 +07:00
rstubryan 8c17367fb6 feat(FE-208,212): add PurchaseOrderAcceptApprovalForm and validation schema for acceptance of purchase requisitions 2025-11-11 14:06:53 +07:00
rstubryan 21ac73527d feat(FE-212): refactor purchase requisitions services and update item schema for approval process 2025-11-11 13:23:48 +07:00
kris f00e772018 Update .gitlab-ci.yml file 2025-11-11 06:07:24 +00:00
rstubryan f7b2e3c6f2 feat(FE-208,212): add PurchaseRequisitionsStaffApprovalForm and schema for staff approval process 2025-11-11 11:26:46 +07:00
rstubryan 5fc01a9afa feat(FE-208): use CheckboxInput component for item selection in PurchaseRequisitionsForm 2025-11-11 11:26:22 +07:00
rstubryan 3ed3e2e21a feat(FE-208): add PurchaseOrderDetail component for displaying approval steps 2025-11-10 17:09:28 +07:00
rstubryan 7d1992d075 feat(FE-212): add staff approval service and payload types for purchase requisitions 2025-11-10 17:09:04 +07:00
randy-ar f63d3d3870 refactor(FE): Refactor project flock api & implement approval component in project flock details 2025-11-10 17:05:24 +07:00
rstubryan 63dac00f17 feat(FE-212): add PURCHASE_ORDER_APPROVAL_LINE for purchase order approval steps 2025-11-10 14:33:20 +07:00
rstubryan efcc14f3ab refactor(FE-212): rename PurchaseApi to PurchaseRequisitionsApi and update related references in forms and tables 2025-11-10 14:33:01 +07:00
rstubryan 5e64d37c61 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-161/TASK-208-212-slicing-ui-and-validation-create-purchase-request-form 2025-11-10 13:12:02 +07:00
rstubryan c7022ee200 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-78/TASK-170-174-slicing-ui-and-validation-create-daily-recording-laying-form 2025-11-10 08:37:23 +07:00
rstubryan 3ac0672f7e feat(FE-170,175): update RecordingForm to include selectedKandang in product URL generation and options filtering 2025-11-10 08:36:55 +07:00
randy-ar 9f4f140018 refactor(FE-239-238): Refactor UI & API Integration For Form Chickin & Chickin Details 2025-11-10 06:07:02 +07:00
randy-ar e0c347c3d5 refactor(FE-87-106): refactor api integration untuk project flock dan project flock kandang 2025-11-10 04:08:08 +07:00
kris 13d57c206b Update .gitlab-ci.yml file 2025-11-09 10:21:06 +00:00
kris 773aa2dbb1 Update .gitlab-ci.yml file 2025-11-09 10:10:19 +00:00
kris f14adc46d3 Update .gitlab-ci.yml file 2025-11-09 09:50:29 +00:00
kris e7592eb221 Update .gitlab-ci.yml file 2025-11-09 09:48:13 +00:00
kris 32f202d814 Update .gitlab-ci.yml file 2025-11-09 09:23:32 +00:00
kris 942b19375e Merge branch 'chore/build-cicd' into 'development'
update Dockerfile

See merge request mbugroup/lti-web-client!47
2025-11-09 09:09:14 +00:00
GitLab Deploy Bot b62427c5f4 update Dockerfile 2025-11-09 16:08:22 +07:00
kris f126e976fd Update .gitlab-ci.yml file 2025-11-09 08:34:51 +00:00
kris 0a2373572f Merge branch 'chore/build-cicd' into 'development'
edit Dockerfile

See merge request mbugroup/lti-web-client!46
2025-11-09 08:22:15 +00:00
GitLab Deploy Bot 73d2de6dfb edit Dockerfile 2025-11-09 15:21:15 +07:00
kris 49e648689a Merge branch 'chore/build-cicd' into 'development'
edit Dockerfile

See merge request mbugroup/lti-web-client!45
2025-11-09 08:16:08 +00:00
GitLab Deploy Bot d3cc38aed5 edit Dockerfile 2025-11-09 15:15:26 +07:00
kris a9620246c0 Update .gitlab-ci.yml file 2025-11-09 08:05:11 +00:00
kris 2d649eb0ff Merge branch 'chore/build-cicd' into 'development'
edit .gitlab-ci

See merge request mbugroup/lti-web-client!44
2025-11-09 08:02:31 +00:00
GitLab Deploy Bot 66b6579f27 edit .gitlab-ci 2025-11-09 15:01:10 +07:00
kris 4f9695aabe Merge branch 'chore/build-cicd' into 'development'
edit .gitlab-ci

See merge request mbugroup/lti-web-client!43
2025-11-09 07:54:31 +00:00
GitLab Deploy Bot 29ff1bb50a edit .gitlab-ci 2025-11-09 14:53:49 +07:00
kris fefb665485 Merge branch 'chore/build-cicd' into 'development'
build docker via gitlab

See merge request mbugroup/lti-web-client!42
2025-11-09 07:49:21 +00:00
GitLab Deploy Bot 52e8fb4a3b build with tag docker 2025-11-09 14:44:58 +07:00
GitLab Deploy Bot 8a11c176aa build docker via gitlab 2025-11-09 14:21:58 +07:00
rstubryan 8db9d1a52c refactor(FE-212): update product warehouse fetching logic and options mapping in PurchaseRequisitionsForm 2025-11-08 10:53:29 +07:00
rstubryan 10dca5c692 refactor(FE-208): rename PurchaseRequestForm to PurchaseRequisitionsForm and update related components 2025-11-08 09:53:21 +07:00
rstubryan 53751d566c refactor(FE-212): rename PurchaseRequestForm schema to PurchaseRequisitionsForm and update related types 2025-11-08 09:52:48 +07:00
rstubryan 12a1e61b68 refactor(FE-212): update purchase types and payloads for requisition handling 2025-11-08 09:52:34 +07:00
rstubryan 4f88f26b71 feat(FE-170,175): update approval logic in RecordingTable to include additional conditions for egg grading status 2025-11-07 14:56:28 +07:00
rstubryan 80fcabde7e feat(FE-170,175): extend GradingForm to support additional grading data and improve form initialization 2025-11-07 14:56:03 +07:00
rstubryan 2e35462300 feat(FE-170): change Cancel button to Reset in RecordingForm for improved form handling 2025-11-07 08:51:54 +07:00
rstubryan f8f613ec9d refactor(FE-170,175): update approval logic in RecordingForm to consider grading data for LAYING category 2025-11-06 23:45:02 +07:00
rstubryan a1bf38023c feat(FE-170,175): enhance approval logic and tooltips for LAYING category recordings in RecordingTable 2025-11-06 23:40:13 +07:00
rstubryan f032f71136 feat(FE-170,175): implement payload creation for growing and laying recordings in RecordingForm 2025-11-06 23:27:46 +07:00
rstubryan 2e5530cf91 refactor(FE-170): simplify confirmation modal text in RecordingTable 2025-11-06 23:15:50 +07:00
rstubryan c45217e98e feat(FE-170,175): add grading data handling in RecordingForm and update types 2025-11-06 22:40:04 +07:00
rstubryan 62c16bb9d1 feat(FE-170,175): enhance RecordingTable with grading completion checks and approval logic 2025-11-06 22:28:31 +07:00
rstubryan c012668340 feat(FE-175): update grading logic in GradingForm to utilize konsumsiBaikEggId 2025-11-06 21:38:52 +07:00
ValdiANS 512e016b5e chore(FE-199): adjust Expense type 2025-11-06 21:11:18 +07:00
ValdiANS 57ffd50558 feat(FE-195): set expense table column header and cell 2025-11-06 21:10:50 +07:00
rstubryan 5245d44a79 feat(FE-170,175): add module_id prop to approval history modal in RecordingTable 2025-11-06 19:13:11 +07:00
rstubryan b39e8325f8 feat(FE-170): simplify action buttons in RecordingForm for detail view 2025-11-06 17:47:34 +07:00
rstubryan b24c9d8336 feat(FE-170): add approval logic to RecordingForm for detail view actions 2025-11-06 17:17:49 +07:00
rstubryan d8b076d105 feat(FE-170,175): enhance RecordingForm and RecordingTable with approval logic and UI improvements 2025-11-06 17:12:30 +07:00
randy-ar fcc2fced06 feat(FE-166-167-168): slicing ui create, edit dan detail sales order 2025-11-06 16:57:17 +07:00
rstubryan ffa11fa20a feat(FE-170): add grading button for laying category in RecordingTable 2025-11-06 15:46:21 +07:00
ValdiANS e4b61cfe05 chore(FE-199): create Expense API service with dummy data 2025-11-06 15:30:22 +07:00
ValdiANS c59a88bbcb chore(FE-188,193): create formik helper function utils and create removeArrayItemAndSync formik helper function 2025-11-06 15:29:42 +07:00
ValdiANS a8b1f6f8c2 chore(FE-188,193): create convertRowSelectionArrToObj and convertRowSelectionObjToArr helper function 2025-11-06 15:29:15 +07:00
ValdiANS 6e582c4e7c chore(FE-188,193): create ACCEPTED_FILE_TYPES constant 2025-11-06 15:29:00 +07:00
ValdiANS f011f5b7f9 feat(FE-188,193): create ExpenseRequestKandangDetailExpense component 2025-11-06 15:28:42 +07:00
ValdiANS 1d4a16cd0b feat(FE-198): add kandangs, existing_documents, kandangExpenses to ExpenseFormSchemaType and create helper function to get form initial values 2025-11-06 15:28:12 +07:00
ValdiANS 2a71734583 feat(FE-188,193): add Vendor, Request Documents, and Kandang Detail Expense input 2025-11-06 15:26:54 +07:00
ValdiANS e9eee6eb3e feat(FE-188,193): create ExpenseKandangsTable component 2025-11-06 15:22:03 +07:00
rstubryan 069ab98da1 refactor(FE-170): refactor RecordingForm navigation and action buttons for improved user experience 2025-11-06 15:19:01 +07:00
rstubryan 90dd26064d feat(FE-170,175): enhance GradingForm with additional recording details and improve UI for grading information 2025-11-06 15:12:04 +07:00
rstubryan de9ec716f5 feat(FE-170,175): add toast notification for grading exceeding available eggs and enhance UI for grading information 2025-11-06 14:53:21 +07:00
rstubryan 501222a4ee feat(FE-170,175): enhance GradingForm with total egg consumption display and validation for grading limits 2025-11-06 14:42:17 +07:00
rstubryan 62c595bdf6 feat(FE-170,175): enhance product fetching in RecordingForm with additional filters and limits 2025-11-06 14:26:45 +07:00
rstubryan 06eec88d56 feat(FE-170,175): implement form steps and navigation for LAYING category in RecordingForm 2025-11-06 14:13:16 +07:00
randy-ar 158971d904 feat(FE-166-169): Slicing UI Penjualan Form dan Client side validation 2025-11-06 13:45:52 +07:00
rstubryan 6d8d608cc9 refactor(FE-170): add support for 'UPDATED' action in RecordingTable with corresponding status text 2025-11-06 13:27:18 +07:00
rstubryan c9edc407b4 refactor(FE-174,175): update approve method to allow custom notes in RecordingForm 2025-11-06 13:08:26 +07:00
rstubryan c774480a5a refactor(FE-170): enhance RecordingForm with approve and reject buttons for detail view 2025-11-06 13:05:48 +07:00
rstubryan fa42f9b941 refactor(FE-170): clean up imports and enhance state management in RecordingForm 2025-11-06 10:58:14 +07:00
rstubryan 3d3569bbc0 feat(FE-170,175): integrate ProjectFlockKandang API and enhance RecordingForm with detailed project flock and kandang options 2025-11-06 10:33:45 +07:00
rstubryan a524dec16d refactor(FE-174): add ProjectFlockKandang API and enhance type definitions 2025-11-06 09:53:32 +07:00
rstubryan 4e40aba544 refactor(FE-170): refine product name checks in RecordingForm by removing specific keywords 2025-11-06 09:21:01 +07:00
rstubryan 6c164313de refactor(FE-Storyless): correct endpoint URL for project flocks in RecordingService 2025-11-06 09:18:52 +07:00
rstubryan be98655c75 feat(FE-170): improve product name checks in RecordingForm for better matching 2025-11-05 16:43:18 +07:00
rstubryan 333212a1de feat(FE-170,174,175): enhance RecordingForm with product warehouse integration and improve data handling 2025-11-05 15:39:19 +07:00
rstubryan a33a4167c1 refactor(FE-170,175): update approval notes handling in RecordingTable for better clarity 2025-11-05 14:00:48 +07:00
rstubryan 2cf8bcf746 feat(FE-170): refactor approval history button and badge components in RecordingTable 2025-11-05 14:00:02 +07:00
rstubryan b1457a5feb feat(FE-170,174,175): add approval history modal and integrate approval API in RecordingTable 2025-11-05 13:41:55 +07:00
rstubryan fac9d5fa42 feat(FE-170,174): update validation messages and labels for egg product fields in RecordingForm 2025-11-05 13:13:46 +07:00
rstubryan 4454eac8af feat(FE-170,175): implement multi-select approval and rejection for recordings in RecordingTable 2025-11-05 10:01:07 +07:00
rstubryan fa36c10c01 feat(FE-170,175): add approval and rejection functionality with confirmation modals in RecordingTable 2025-11-05 09:46:38 +07:00
rstubryan 02cc4a759d feat(FE-Storyless): add approval workflows for project flocks and recordings 2025-11-05 08:43:10 +07:00
rstubryan 04a1f5e014 feat(FE-170,174): add total_weight field and update calculations in body_weights for RecordingForm 2025-11-04 16:23:29 +07:00
rstubryan b7ab537b95 feat(FE-170): add selection checkboxes and enhance project details in RecordingTable 2025-11-04 16:07:02 +07:00
rstubryan b0665b2541 refactor(FE-174): rename name to flock_name in BaseProjectFlock type for clarity 2025-11-04 16:06:39 +07:00
rstubryan 77e3fe12c3 refactor(FE-170): update API endpoint and rename label for project flock in RecordingForm 2025-11-04 16:06:04 +07:00
ValdiANS 6a070e39da chore(FE-188): updateDropFileInput component 2025-11-04 15:54:13 +07:00
ValdiANS 3b69286a8e chore(FE-188): add DropFileInput component 2025-11-04 15:47:01 +07:00
ValdiANS 0de2e87221 fix(FE-188): required symbol space 2025-11-04 15:46:49 +07:00
ValdiANS 9daa6aaf8c chore(FE-188): update Modal component 2025-11-04 15:46:30 +07:00
ValdiANS a12ae51f3a fix(FE-188): rename to ExpenseRequestForm 2025-11-04 15:46:08 +07:00
ValdiANS 17c316c4af fix(FE-188): required symbol space 2025-11-04 15:45:36 +07:00
ValdiANS c438a8f6aa chore: install react-dropzone 2025-11-04 15:39:55 +07:00
rstubryan 966ad7545c refactor(FE-174): rename project_flock_kandangs_id to project_flock_kandang_id for consistency in RecordingForm 2025-11-04 15:20:33 +07:00
rstubryan 0a17249fb9 refactor(FE-174): rename project_flock_kandangs_id to project_flock_kandang_id for consistency in RecordingForm schema 2025-11-04 14:54:07 +07:00
rstubryan b19be7dd4b refactor(FE-174): update recording types to include approval and egg grading fields for enhanced data handling 2025-11-04 14:53:07 +07:00
rstubryan 8c29358594 refactor(FE-208): remove required attribute from Area and Lokasi SelectInputs in PurchaseRequestForm 2025-11-04 14:36:07 +07:00
randy-ar d8637923bd refactor(FE-106-91-339-238): Slicing UI Chickin DOC Refactored 2025-11-04 13:24:10 +07:00
rstubryan 9d86e21657 refactor(FE-208): remove checkbox selection from PurchaseTable component 2025-11-04 13:20:44 +07:00
rstubryan ef193b9f03 feat(FE-208,212): enhance PurchaseRequestForm with dummy data and update type definitions for purchase items 2025-11-04 13:17:43 +07:00
rstubryan 4828af71b8 feat(FE-208): create PurchaseEdit page with dummy data and integrate PurchaseRequestForm 2025-11-04 11:31:32 +07:00
rstubryan 3312a47f38 feat(FE-208): create PurchaseDetail page with dummy data and integrate PurchaseRequestForm 2025-11-04 11:22:52 +07:00
rstubryan c790180e86 feat(FE-208): add Layout component to wrap children with SuspenseHelper 2025-11-04 10:51:54 +07:00
rstubryan ef339e128d feat(FE-208,212): add Purchase and PurchaseTable components for managing purchase requests 2025-11-04 10:51:12 +07:00
rstubryan 7c9c7eac10 refactor(FE-208,212): update import path for PurchaseRequestForm to reflect new directory structure 2025-11-04 10:49:45 +07:00
rstubryan 986830aa47 refactor(FE-208,212): rename PurchaseRequestForm files and update import paths for consistency 2025-11-04 10:49:19 +07:00
rstubryan 1e44fec15f feat(FE-208,212): implement PurchaseService for fetching purchase request data with dummy response 2025-11-04 10:48:57 +07:00
rstubryan 39dbf57d7f refactor(FE-208,212): streamline PurchaseRequestForm structure, enhance state management, and improve field handling for purchase items 2025-11-04 09:20:39 +07:00
rstubryan 289c8d5672 refactor(FE-208,212): enhance PurchaseRequestForm with product data fetching, update price and UOM fields based on selected products 2025-11-04 08:56:57 +07:00
ValdiANS afa0c6c83f chore: rename ExpenseForm to ExpenseRequestForm 2025-11-03 16:16:12 +07:00
ValdiANS 1afa6f7fad chore: rename ExpenseForm.schema.ts to ExpenseRequestForm.schema.ts 2025-11-03 16:15:19 +07:00
rstubryan ee24ceaff1 refactor(FE-208,212): update PurchaseRequestForm to reset location fields on area change, improve handling of location value and dependencies 2025-11-03 15:45:42 +07:00
rstubryan ecdd8ae49c refactor(FE-208,212): update PurchaseRequestForm schema and validation, improve credit term handling and reset logic for supplier changes 2025-11-03 15:19:19 +07:00
rstubryan e1d070b3af refactor(FE-208,212): update PurchaseRequestForm schema and validation, enhance credit term handling and improve error messages for required fields 2025-11-03 15:02:00 +07:00
rstubryan 4149c51a7b refactor(FE-208,212): update PurchaseRequestForm validation for area and location fields, enhance error handling and conditional checks 2025-11-03 14:29:24 +07:00
rstubryan ae5a57277b refactor(FE-208,212): enhance PurchaseRequestForm with location and warehouse handling, update validation and reset logic for dependent fields 2025-11-03 14:06:32 +07:00
rstubryan 7b19cd4a21 refactor(FE-208,212): enhance PurchaseRequestForm with area and location fields, update validation and data handling for new inputs 2025-11-03 13:01:17 +07:00
rstubryan 408250d7ed refactor(FE-208): enhance PurchaseRequestForm layout and actions, replace header with custom component and improve button handling 2025-11-03 11:39:37 +07:00
rstubryan ae91e17ac0 refactor(FE-207,212): update PurchaseRequestForm schema and validation, enforce required fields and improve data handling for purchase items 2025-11-03 11:29:43 +07:00
rstubryan b4a9c86c2a refactor(FE-212): update PurchaseRequestForm schema and validation, streamline warehouse handling and add sub quantity field 2025-11-03 11:04:07 +07:00
rstubryan 1d79e8de1d refactor(FE-Storyless): streamline RecordingForm component by native card and optimizing layout for better usability 2025-11-03 10:45:36 +07:00
rstubryan e4ab86c3eb refactor(FE-170): streamline RecordingForm component by native card and optimizing layout for better usability 2025-11-03 10:44:37 +07:00
rstubryan d8599a850a refactor(FE-170): streamline RecordingTable component by removing unused state and optimizing layout for better usability 2025-11-03 10:40:13 +07:00
ValdiANS ae560c2451 chore: run prettier formatting before every commit 2025-11-03 10:31:44 +07:00
rstubryan bcb4d4492d refactor(FE-170): replace FormHeader with custom header in GradingForm and RecordingForm for improved layout and navigation 2025-11-03 10:30:33 +07:00
ValdiANS 176e1e7cb8 chore: install react-day-picker 2025-11-03 10:29:23 +07:00
ValdiANS f6d4ef4697 chore: update DateInput component 2025-11-03 10:27:51 +07:00
rstubryan e9e8ad771e refactor(FE-174): enhance GradingForm and RecordingForm with improved error handling and modal integration for delete actions 2025-11-03 10:22:35 +07:00
randy-ar 219cbedbcd refactor(FE-238-106): change dateinput and create chickin page and pull development 2025-11-03 10:12:15 +07:00
rstubryan d53f7fc72f fix(resolve): fix resolve merge 2025-11-03 10:12:12 +07:00
randy-ar 3eb2930640 refactor(FE-238-106): change dateinput and create chickin page 2025-11-03 10:09:12 +07:00
rstubryan 4e4117b5b0 fix(resolve): fix resolve merge 2025-11-03 10:02:26 +07:00
rstubryan 2ba23654ce refactor(FE-Storyless): simplify RowOptionsMenu by using RowOptionsMenuWrapper and enhance button layout 2025-11-03 09:44:50 +07:00
rstubryan ac11559754 chore(FE-Storyless): remove inputmask package and its type definitions from dependencies 2025-11-03 09:35:52 +07:00
rstubryan fa1552e276 fix(resolve): fix resolve merge 2025-11-03 09:35:09 +07:00
rstubryan 9a4d961dee refactor(FE-174): implement create, update, and delete grading methods in RecordingApi and update handlers 2025-11-03 09:28:20 +07:00
ValdiANS 33c0d5513c Merge branch 'development' into feat/FE/US-163/expense-request 2025-11-03 09:26:03 +07:00
Adnan Zahir d679c9f278 Merge branch 'fix/ISSUE-236/table-dropdown-issue' into 'development'
Fix: LTI Issue #236

See merge request mbugroup/lti-web-client!41
2025-11-03 09:08:21 +07:00
rstubryan c26e174885 refactor(FE-174): enhance RecordingApi by adding approve and reject methods for better approval handling 2025-11-03 09:00:49 +07:00
rstubryan b976600099 refactor(FE-170,174): update GradingForm to include recording_egg_id in grading data enhance validation schema 2025-11-02 23:22:37 +07:00
rstubryan aac7215be7 refactor(FE-170,174): update schema and validation for stocks and depletions; rename usage_qty to qty for consistency 2025-11-02 23:14:07 +07:00
rstubryan e116311dc2 refactor(FE-170,174): restructure schema and validation for body weights, stocks, and depletions; improve handling of input values 2025-11-02 23:04:54 +07:00
rstubryan 4afeded080 Merge branch 'dev/restu' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-78/TASK-170-174-slicing-ui-and-validation-create-daily-recording-laying-form 2025-11-02 21:53:56 +07:00
rstubryan 83757b5208 fix(resolve): fix resolve merge 2025-11-02 21:53:41 +07:00
rstubryan f335bc23eb refactor(FE-Storyless): simplify MovementForm by integrating useSelect for warehouse and supplier inputs, enhance data fetching logic 2025-11-02 21:42:03 +07:00
rstubryan d793824520 refactor(FE-Storyless): enhance MovementForm schema and validation, improve handling of product quantities and delivery costs 2025-11-02 21:33:38 +07:00
rstubryan 901b61a172 refactor(FE-Storyless): enhance ProductCategoryForm schema and validation, improve UI text and layout 2025-11-02 21:21:57 +07:00
rstubryan 39dd583e77 refactor(FE-Storyless): enhance ProductForm schema and handling, add required fields and improve validation 2025-11-02 21:15:41 +07:00
rstubryan fc3b090da5 refactor(FE-Storyless): replace TextInput with NumberInput for price and tax fields, enhance form handling 2025-11-02 20:59:37 +07:00
rstubryan 16db7af070 chore(FE-Storyless): remove inputmask and related type definitions 2025-11-02 20:14:22 +07:00
ValdiANS 0ae4fe0831 chore: format code using prettier 2025-11-01 15:58:47 +07:00
ValdiANS f01dae5f97 chore: add format script 2025-11-01 15:58:03 +07:00
ValdiANS 42b4206e66 chore: install prettier 2025-11-01 15:53:37 +07:00
ValdiANS 46572fd992 chore: update add button styling 2025-11-01 15:36:21 +07:00
ValdiANS b2540f1d43 chore: use RowOptionsMenuWrapper 2025-11-01 15:36:11 +07:00
ValdiANS ad10ffbba3 chore: set min width for RowCollapseOptions 2025-11-01 15:35:49 +07:00
ValdiANS 8a3c7d35ec chore: update add button styling and copywriting 2025-11-01 15:35:34 +07:00
ValdiANS d853b43e17 fix: use RowOptionsMenuWrapper component for RowOptionsMenu 2025-11-01 15:31:11 +07:00
ValdiANS e6187555ce chore: create RowOptionsMenuWrapper component 2025-11-01 15:26:25 +07:00
ValdiANS bba8fb15e5 chore: change a element to button 2025-11-01 15:24:52 +07:00
rstubryan f70433d901 refactor(FE-Storyless): remove UpdateMovementPayload type and related schema, streamline MovementForm handling 2025-11-01 10:43:43 +07:00
rstubryan 393f8a6d1b Merge remote-tracking branch 'origin/dev/restu' into dev/restu
# Conflicts:
#	src/components/pages/inventory/movement/MovementTable.tsx
2025-11-01 09:46:46 +07:00
rstubryan e73d3e0823 refactor(FE-Storyless): add product and warehouse filters with select inputs 2025-11-01 09:46:31 +07:00
rstubryan ee4a470fd2 refactor(FE-Storyless): add product and warehouse filters with select inputs 2025-11-01 09:46:06 +07:00
rstubryan 40171720fb Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2025-11-01 08:36:04 +07:00
rstubryan 09cb5f10aa refactor(FE-Storyless): replace FormHeader and FormActions with custom header and action buttons for improved UI 2025-11-01 08:35:46 +07:00
rstubryan 1228b45045 feat(FE-170,174): clean up RecordingForm and RecordingTable components for improved readability and maintainability 2025-10-31 17:27:10 +07:00
rstubryan 19afb80597 feat(FE-170,174): refactor GradingForm to use grading form handlers and remove approval logic 2025-10-31 17:26:56 +07:00
rstubryan 9495742cb7 feat(FE-174): add grading form handlers for creating, updating, and deleting grading records 2025-10-31 17:26:24 +07:00
rstubryan 01db13ed6c feat(FE-170,174): add GradingForm component for managing grading records 2025-10-31 15:15:48 +07:00
rstubryan 4a1f775c85 feat(FE-170): update daily recording form to redirect to grading form after successful submission 2025-10-31 15:15:32 +07:00
randy-ar 495e11c6fe fix(FE-41): Menambahkan kolom kapasitas di tabel kandang 2025-10-31 14:57:15 +07:00
ValdiANS 15893c18c9 feat(FE-199): create Expense API types 2025-10-31 14:33:28 +07:00
ValdiANS 026e60704b feat(FE-199): create Expense API service 2025-10-31 14:33:19 +07:00
ValdiANS 21b155e64b feat(FE-195): add Expense menu 2025-10-31 14:30:36 +07:00
ValdiANS 1a1bf8754e feat(FE-188): create Expense Form schema 2025-10-31 14:30:00 +07:00
ValdiANS a51c7c44ec feat(FE-188): create ExpenseForm component 2025-10-31 14:29:31 +07:00
ValdiANS 4d1241d712 feat(FE-195): create ExpenseTable component 2025-10-31 14:29:11 +07:00
ValdiANS 80747bb441 chore(FE-195): adjust ConfirmationModal primaryButton and secondaryButton props 2025-10-31 14:28:51 +07:00
ValdiANS 00f64b1897 chore: add string as the valueKey and labelKey type 2025-10-31 14:28:04 +07:00
ValdiANS 01bfe1cc3b chore: export ButtonProps interface 2025-10-31 14:27:13 +07:00
ValdiANS a0cf6c0f56 feat(FE-188): create Add Expense page 2025-10-31 14:26:52 +07:00
ValdiANS c72befb5b4 feat(FE-195): create Expense page 2025-10-31 14:25:01 +07:00
rstubryan 3a52d800e0 feat(FE-174): add grading functionality to daily recording form with validation 2025-10-31 14:01:51 +07:00
randy-ar b6991652ac feat(FE-169): Slicing UI Index Pengajuan Sales & Define Data Type for Marketing 2025-10-31 13:57:30 +07:00
rstubryan c486d6cf81 feat(FE-170): implement form steps and navigation for daily recording form 2025-10-31 13:52:54 +07:00
rstubryan e7ed3d6ab2 feat(FE-174): add FormStepStatus type to enhance daily recording form state management 2025-10-31 13:52:36 +07:00
rstubryan 2d30514d64 refactor(FE-170,174): simplify daily recording form by removing unused flock period logic 2025-10-31 13:08:55 +07:00
rstubryan 59b0eeea2b feat(FE-170): add egg handling and validation to daily recording form 2025-10-31 00:02:04 +07:00
rstubryan 0e77597a70 refactor(FE-174): add grading and egg handling to daily recording form 2025-10-31 00:01:46 +07:00
rstubryan b7de8b40d8 feat(FE-170,174): implement project flock kandang selection and validation in daily recording form 2025-10-30 21:41:14 +07:00
rstubryan 87295252aa refactor(FE-174): remove unused pending_qty field from stocks in recording type definition 2025-10-30 21:41:01 +07:00
randy-ar 7ab96fac8b Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into dev/randy 2025-10-30 21:24:20 +07:00
randy-ar 99194eaf80 refactor(FE-92-87): mengganti select input dengan reuseable component 2025-10-30 21:23:37 +07:00
rstubryan 50196493e3 feat(FE-170,174): add depletion products handling and update select input options in daily recording form 2025-10-30 20:21:37 +07:00
rstubryan 75348620d7 feat(FE-170,174): enhance daily recording form with weight validation and dynamic average weight calculation 2025-10-30 19:09:21 +07:00
rstubryan 4cb045de6c refactor(US-170,174): update recording types and validation schema for daily recording form 2025-10-30 18:10:37 +07:00
rstubryan ae0cca778e chore(FE-Storyless): remove inputmask and its type definitions for cleanup 2025-10-30 18:10:04 +07:00
rstubryan 74503f12d6 fix(FE-Storyless): update SelectInput value handling to use undefined instead of null for better compatibility 2025-10-30 14:01:13 +07:00
rstubryan a5f8eb60c6 fix(FE-Storyless): update SelectInput value handling to use undefined instead of null for better compatibility 2025-10-30 13:32:32 +07:00
rstubryan c83ebd73be refactor(FE-Storyless): remove unnecessary padding from badge styles for improved layout 2025-10-30 13:08:36 +07:00
rstubryan be68353b38 feat(FE-114): add unique keys to SelectInput components in RecordingForm for improved rendering 2025-10-30 12:50:56 +07:00
rstubryan 2307035717 feat(FE-Storyless): add custom control component to SelectInput for adornment support 2025-10-30 12:00:22 +07:00
Adnan Zahir e708911429 Merge branch 'fix/FE/US-82/approval-workflow-steps-component' into 'development'
[FIX/FE][US#82] Rework Approval Steps component

See merge request mbugroup/lti-web-client!40
2025-10-30 11:04:04 +07:00
ValdiANS 79cfcad026 chore(FE-91): set formatCurrency default currency to indonesian currency 2025-10-30 11:03:22 +07:00
ValdiANS 37afcc76c3 Merge branch 'development' into fix/FE/US-82/approval-workflow-steps-component 2025-10-30 10:50:57 +07:00
ValdiANS f7eb89c113 feat(FE-91): create constant type file 2025-10-30 10:49:50 +07:00
ValdiANS c9c343b840 chore(FE-91): create BaseGroupedApproval, Approvals, and GroupedApprovals api types 2025-10-30 10:49:36 +07:00
ValdiANS 5c3b1c489f chore(FE-91): set color for step-warning 2025-10-30 10:48:37 +07:00
ValdiANS dd3a0079db chore(FE-91): set formatNumber locale to id-ID as default 2025-10-30 10:48:18 +07:00
ValdiANS bce58c585d feat(FE-91): create approval-line config file 2025-10-30 10:47:51 +07:00
ValdiANS b720c1411b chore(FE-91): make warning step icon glow 2025-10-30 10:47:29 +07:00
ValdiANS 82c1645d92 chore(FE-91): rework ApprovalSteps and create helper function for formatting approval workflow 2025-10-30 10:45:41 +07:00
rstubryan a8fee20133 refactor(FE-208,212): enhance PurchaseRequestForm with product and product warehouse fields 2025-10-30 10:39:23 +07:00
rstubryan b0e8a460fd refactor(FE-208,212): update PurchaseRequestForm schema and component to handle warehouse IDs 2025-10-30 09:29:38 +07:00
rstubryan b2c38cd06f feat(FE-208): create PurchaseRequestForm component and add AddPurchaseRequest page 2025-10-29 21:12:42 +07:00
rstubryan 7ba7b884a4 feat(FE-212): rename purchasing files and update validation schemas for purchase requests 2025-10-29 21:12:24 +07:00
rstubryan 3daf1a518e feat(FE-208): add 'Purchase' link to navigation constants 2025-10-29 21:11:40 +07:00
rstubryan c6fcb17b4d feat(FE-212): add validation schemas for purchase request and update forms 2025-10-29 20:31:31 +07:00
rstubryan 8b09a8d315 feat(FE-212): implement PurchaseApi service for purchase requests 2025-10-29 17:26:26 +07:00
rstubryan 215580215e feat(FE-212): add types for purchase creation and updates 2025-10-29 17:26:06 +07:00
rstubryan c832c4adeb fix(resolve): resolve merge issue 2025-10-29 15:56:57 +07:00
rstubryan eda3f0f1be chore(FE-Storyless): update Prettier to version 3.6.2 and remove .prettierrc from .gitignore 2025-10-29 15:52:34 +07:00
Adnan Zahir d0d201bf3a Merge branch 'feat/FE/US-77/transfer-to-laying' into 'development'
[FIX/FE][US#77] Transfer to Laying

See merge request mbugroup/lti-web-client!36
2025-10-29 15:07:40 +07:00
rstubryan c7b04c5bc6 feat(FE-137): integrate flock periods data fetching in RecordingForm for accurate recording validation 2025-10-28 10:58:37 +07:00
rstubryan c37950a230 refactor(FE-137): optimize recordedProjectFlockIds calculation to filter today's recordings 2025-10-28 10:44:08 +07:00
ValdiANS f88af89562 Merge branch 'development' into feat/FE/US-77/transfer-to-laying 2025-10-28 09:48:41 +07:00
rstubryan 7da95b80b0 refactor(FE-Storyless): conditionally handle onChange prop in SelectInput for better flexibility 2025-10-28 08:58:01 +07:00
Adnan Zahir 883d68032a Merge branch 'feat/FE/US-75/chick-in-doc' into 'development'
[FEAT/FE][US#75] Chick In DOC

See merge request mbugroup/lti-web-client!34
2025-10-27 17:23:06 +07:00
rstubryan c74ed18a16 refactor(FE-137): enable clearable option for select inputs in RecordingForm 2025-10-27 14:15:48 +07:00
Rivaldi A N S e45a9ba5e4 Merge branch 'dev/randy' into 'feat/FE/US-75/chick-in-doc'
[FIX/FE][US#75/TASK#94] Resolve merge conflict from development branch

See merge request mbugroup/lti-web-client!35
2025-10-27 06:14:27 +00:00
ValdiANS de7076e513 Merge branch 'development' into feat/FE/US-77/transfer-to-laying 2025-10-27 13:07:09 +07:00
randy-ar 6706f361d8 refactor(FE): change number input to reuseablecomponent from ui-component 2025-10-27 13:03:38 +07:00
rstubryan 15e6372c30 feat(FE-137): add product flag badges to RecordingForm for enhanced visibility 2025-10-27 13:03:37 +07:00
rstubryan 6dd3593f70 feat(FE-137): integrate Badge component to display project flock period in RecordingForm 2025-10-27 12:57:00 +07:00
rstubryan 5d376f8783 refactor(FE-137): remove unnecessary padding from SelectInput for improved layout 2025-10-27 12:56:38 +07:00
rstubryan 304d14a6fe refactor(FE-137): remove 'Periode' column from RecordingTable for cleaner display 2025-10-27 11:57:46 +07:00
randy-ar 4bd6fe8c35 fix(FE-86): resolve merge conflict 2025-10-27 11:27:08 +07:00
rstubryan 0b0ecd3bc4 refactor(FE-137): replace stock availability text with Badge component in MovementForm 2025-10-27 11:25:15 +07:00
rstubryan 58369b8ffa refactor(FE-137): simplify stock display in MovementForm and RecordingForm, enhance input handling in SelectInput 2025-10-27 11:05:06 +07:00
randy-ar cbb4f7421e fix(FE-86): fixing error null value 2025-10-27 10:58:49 +07:00
Rivaldi A N S 459605f133 Merge branch 'dev/randy' into 'feat/FE/US-75/chick-in-doc'
[FEAT/FE][US#75/TASK#92-93-94-105] Slicing UI detail, create and edit Chickin and integrate with API

See merge request mbugroup/lti-web-client!33
2025-10-27 03:27:19 +00:00
rstubryan 943c0e05b9 refactor(FE-137): conditionally render location SelectInput in RecordingForm based on type 2025-10-27 06:50:48 +07:00
rstubryan 9143248e1d refactor(FE-137): remove redundant status column from RecordingTable 2025-10-27 06:28:51 +07:00
rstubryan 4b9d0d2064 refactor(FE-137): enhance RecordingForm validation to prevent duplicate project flock entries 2025-10-27 06:18:27 +07:00
rstubryan c8f596ad2a refactor(FE-137): update RecordingForm to improve project flock handling and label formatting 2025-10-27 05:54:14 +07:00
randy-ar a65d00edc8 fix(FE): fixing pipeline run error 2025-10-25 17:01:02 +07:00
randy-ar 1e9d02b4b7 feat(FE-92-94): Slicing UI detail chickin & refactor number input chickin form 2025-10-25 16:27:15 +07:00
rstubryan 135fc2d5d3 feat(FE-114): update MovementForm and RecordingForm to use inputPrefix and inputSuffix for improved input handling 2025-10-25 14:24:51 +07:00
rstubryan 189c152745 feat(FE-114): add inputPrefix and inputSuffix props for enhanced input customization 2025-10-25 14:24:23 +07:00
randy-ar f0f6ec53cb refactor(FE-84-87) refactor checkbox using reuseable component checkboxinput 2025-10-25 13:58:46 +07:00
rstubryan a0556ea1f4 refactor(FE-114): add currency prefix and unit suffix to delivery cost and body weight inputs 2025-10-25 13:53:53 +07:00
rstubryan 81ce36e326 refactor(FE-137): remove ID column from RecordingTable for cleaner presentation 2025-10-25 13:41:18 +07:00
Adnan Zahir 48c31373bf Merge branch 'feat/FE/US-76/daily-recording-growing' into 'development'
[FEAT/FE][US#76] Daily Recording Growing

See merge request mbugroup/lti-web-client!31
2025-10-25 13:37:39 +07:00
rstubryan d7ce8c667a refactor(FE-114): simplify input handling in MovementForm and RecordingForm by removing unnecessary value normalization 2025-10-25 11:26:38 +07:00
rstubryan 6290199074 feat(FE-Storyless): integrate NumberInput and PatternInput components with react-number-format for enhanced input handling 2025-10-25 10:49:07 +07:00
randy-ar 4f3dfb4221 Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into dev/randy 2025-10-25 06:16:15 +07:00
randy-ar a13a51a16f fix(FE-92-93-105): adding input note and quantity for create/edit chickin 2025-10-25 06:15:29 +07:00
rstubryan 896a0c6de2 refactor(FE-64): integrate product and supplier selection with API data fetching in MovementForm 2025-10-24 21:10:03 +07:00
rstubryan 9c5dc0dbb5 refactor(FE-137): integrate approve and reject functionality in RecordingForm with loading states and modal confirmations 2025-10-24 20:44:15 +07:00
rstubryan 81003eac63 feat(FE-137): enhance stock product selection in RecordingForm with initial values support 2025-10-24 20:37:11 +07:00
rstubryan e322e0d078 feat(FE-137): update RECORDING_FLAG_OPTIONS values for consistency in constant.ts 2025-10-24 20:29:33 +07:00
rstubryan 17e6eef0c5 feat(FE-137): add approve and reject functionality in RecordingForm with confirmation modals 2025-10-24 18:02:41 +07:00
rstubryan 6114d706ad feat(FE-137): disable input field in RecordingForm when type is 'detail' 2025-10-24 14:13:21 +07:00
rstubryan d14fa2ed2b feat(FE-137): integrate advanced filtering options in RecordingTable with dropdowns for area, location, and kandang 2025-10-24 13:53:20 +07:00
rstubryan 537fc617ff feat(FE-137): implement bulk approval and rejection functionality in RecordingTable with user feedback 2025-10-24 13:40:27 +07:00
rstubryan 7a6a35568f feat(FE-137): enhance RecordingTable to support recording deletion with user feedback and refresh functionality 2025-10-24 13:32:46 +07:00
rstubryan d2c485fdf0 feat(FE-114,137): implement stock validation in RecordingForm to manage usage limits and enhance user feedback 2025-10-24 12:45:07 +07:00
rstubryan 0c49978033 feat(FE-114,137): enhance RecordingForm to handle stock usage and depletion total changes with improved input handling 2025-10-24 12:26:33 +07:00
rstubryan 00de4782e7 feat(FE-137): simplify RecordingTable by removing unused columns and enhancing data clarity 2025-10-24 12:14:47 +07:00
rstubryan c546bd6b3c feat(FE-137): refactor RecordingTable to remove unused types and streamline data fetching 2025-10-24 11:37:25 +07:00
rstubryan 258324f092 feat(US-137): update RecordingTable to enhance data display and add new columns for project details 2025-10-24 11:36:14 +07:00
rstubryan 12a69b7c6c feat(FE-137): integrate SWR for fetching recordings and update table to display API data 2025-10-24 11:35:11 +07:00
rstubryan b148a09e84 feat(US-137): update API endpoints and default values in RecordingForm for production environment 2025-10-24 11:27:32 +07:00
rstubryan adc995dbe7 feat(US-114): enhance auto-calculation logic in RecordingForm to handle manual edits 2025-10-24 11:00:14 +07:00
rstubryan 9cbc703a63 feat(FE-114): integrate row selection functionality in RecordingTable and Table components 2025-10-24 10:18:56 +07:00
rstubryan 41e6848d75 refactor(FE-114): remove optional product_warehouse_id validation from RecordingForm schema 2025-10-24 10:08:38 +07:00
Rivaldi A N S fa21fe8da4 Merge branch 'feat/FE/US-76/TASK-114-129-136-slicing-ui-and-validation-create-edit-daily-recording-growing-form' into 'feat/FE/US-76/daily-recording-growing'
[FEAT/FE][US#76/TASK#114-129-130-131-136] Slicing UI Feature Daily Recording Growing

See merge request mbugroup/lti-web-client!32
2025-10-24 03:03:12 +00:00
rstubryan ca5b236565 refactor(FE-114): enforce required usage amount in RecordingForm validation 2025-10-24 10:00:35 +07:00
rstubryan 714072aea1 fix(merge): resolve merge conflict 2025-10-24 09:57:38 +07:00
rstubryan 8337fa5f55 fix(merge): resolve merge conflict 2025-10-24 09:53:04 +07:00
rstubryan a9f0696b38 refactor(FE-114): auto-populate notes with product name and enhance tooltip visibility in RecordingForm 2025-10-24 09:50:12 +07:00
Adnan Zahir 54bff12e1a Merge branch 'feat/FE/US-75/chick-in-doc' into 'development'
[FEAT/FE][US#75] Chick In DOC

See merge request mbugroup/lti-web-client!30
2025-10-24 09:35:56 +07:00
Adnan Zahir aa17143532 Merge branch 'feat/FE/US-76/TASK-114-129-136-slicing-ui-and-validation-create-edit-daily-recording-growing-form' into 'feat/FE/US-76/daily-recording-growing'
[FEAT/FE][US#76/TASK#114-129-130-131-136] Slicing UI Feature Daily Recording Growing

See merge request mbugroup/lti-web-client!29
2025-10-24 09:34:51 +07:00
rstubryan 4381e42aaf refactor(FE-114): update input handling for vaccination stock, mortality count, and feed stock with improved parsing and formatting 2025-10-24 09:24:28 +07:00
Rivaldi A N S 24ed2cccbe Merge branch 'dev/randy' into 'feat/FE/US-75/chick-in-doc'
[FEAT/FE][US#75/TASK#92-93-106] Slicing UI list, create, and edit Chickin DOC

See merge request mbugroup/lti-web-client!24
2025-10-24 02:18:23 +00:00
rstubryan a9b0c084f8 refactor(FE-114): update input handling for vaccination stock, mortality count, and feed stock with improved parsing and formatting 2025-10-24 09:15:01 +07:00
rstubryan 16823fa84a refactor(FE-114): implement custom handlers for vaccination stock and mortality count input parsing 2025-10-24 09:00:29 +07:00
rstubryan c30fcd81b2 refactor(FE-114): simplify CreateRecordingPayload structure and update validation in RecordingForm 2025-10-24 08:53:41 +07:00
rstubryan 7f5ae94706 feat(FE-114): integrate product stock fetching and selection in RecordingForm 2025-10-23 22:59:41 +07:00
rstubryan 6060ec0f7e feat(FE-114): prevent auto-calculation override during manual average weight editing in RecordingForm 2025-10-23 22:02:12 +07:00
rstubryan ef249fee12 feat(FE-114): add average weight calculation and input handling in RecordingForm 2025-10-23 21:54:06 +07:00
rstubryan 71df86c8df feat(FE-114): integrate location and project flock selection in RecordingForm 2025-10-23 21:34:40 +07:00
rstubryan d61c0ab844 feat(FE-114): integrate date time handling in RecordingForm for on-time status 2025-10-23 20:59:20 +07:00
rstubryan b653cc1dab refactor(FE-114): replace button elements with Button component for consistency and improved styling 2025-10-23 20:44:59 +07:00
randy-ar 51bce1a2c7 feat(FE-86-88): Adding reject button and integrate with approval api 2025-10-23 20:23:25 +07:00
rstubryan e76d881d8a refactor(FE-114): add foreign key fields to enhance data relationships in project-flock type definitions 2025-10-23 20:00:42 +07:00
rstubryan 392e211181 refactor(FE-Storyless): replace img with Image component for optimized loading 2025-10-23 19:54:17 +07:00
rstubryan cebe738beb refactor(FE-114): enhance type safety and improve checkbox input handling 2025-10-23 19:52:38 +07:00
rstubryan 6e5875a7b7 refactor(FE-Storyless): add flock_id, area_id, fcr_id, location_id, and kandang_ids to project-flock type definition 2025-10-23 19:52:21 +07:00
Rivaldi A N S b2044ac7bd Merge branch 'feat/FE/US-77/TASK-140-slicing-transfer-to-laying-edit-form' into 'feat/FE/US-77/transfer-to-laying'
[FEAT/FE][US#77/TASK#140] Slicing Transfer to Laying Edit Form

See merge request mbugroup/lti-web-client!27
2025-10-23 11:48:38 +00:00
randy-ar 8a467c2d65 fix(FE-92-93-105-106): fixing chickin form, after submit event and chickin modal trigger 2025-10-23 18:43:26 +07:00
rstubryan db8cb56984 fix(merge): resolve conflict on merge 2025-10-23 18:24:02 +07:00
ValdiANS d1d152ef5a feat(FE-140): create Edit Transfer to Laying page 2025-10-23 17:50:18 +07:00
Rivaldi A N S 82950b0ec0 Merge branch 'feat/FE/US-77/TASK-141-slicing-detail-page-for-transfer-to-laying' into 'feat/FE/US-77/transfer-to-laying'
[FEAT/FE][US#77/TASK#141] Slicing detail page for Transfer to Laying

See merge request mbugroup/lti-web-client!26
2025-10-23 10:37:31 +00:00
ValdiANS 3110b96305 feat(FE-141): add approve and reject method 2025-10-23 17:34:52 +07:00
ValdiANS 7e44226a6d feat(FE-141): add approve and reject functionality in Transfer to Laying Detail Page 2025-10-23 17:34:14 +07:00
rstubryan 3f76cb58fe refactor(FE-114): improve alignment and styling of checkbox inputs in RecordingForm 2025-10-23 17:15:17 +07:00
rstubryan 3cf8f4c89b refactor(FE-114): enhance numeric input handling for chicken weight and count with improved formatting 2025-10-23 16:49:32 +07:00
rstubryan 90ae7c469a refactor(FE-114): swap thousand and decimal separators for improved usability 2025-10-23 16:48:55 +07:00
rstubryan ae967c5ddb refactor(FE-114): integrate inputmask for enhanced numeric input handling and validation 2025-10-23 16:00:24 +07:00
rstubryan e801ba08ad chore(FE-114): add inputmask and its type definitions to package.json 2025-10-23 15:09:39 +07:00
rstubryan e6f5b2493b refactor(FE-Storyless): update input components to include consistent background styling 2025-10-23 13:51:34 +07:00
rstubryan 5f677f5076 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-76/TASK-114-129-136-slicing-ui-and-validation-create-edit-daily-recording-growing-form 2025-10-23 13:50:23 +07:00
rstubryan 2de32dc944 refactor(FE-114): simplify CheckboxInput component and enhance styling options 2025-10-23 13:49:43 +07:00
ValdiANS ab534e203a Merge branch 'development' into feat/FE/US-77/TASK-141-slicing-detail-page-for-transfer-to-laying 2025-10-23 13:40:24 +07:00
randy-ar eaf41805d7 feat(FE-92-93-105-106): slicing ui chickin DOC and integrate with API 2025-10-23 13:30:27 +07:00
Adnan Zahir 631ebb9346 Merge branch 'feat/husky-setup' into 'development'
[FEAT/FE] Husky Setup

See merge request mbugroup/lti-web-client!23
2025-10-23 13:25:41 +07:00
rstubryan 7e53743b07 refactor(FE-114): remove FieldMessage component usage and streamline error message handling in form inputs 2025-10-23 13:14:16 +07:00
ValdiANS 70e1aca6c7 feat: create husky pre-commit file 2025-10-23 13:13:34 +07:00
ValdiANS d0d323954b feat: install husky 2025-10-23 13:10:03 +07:00
Rivaldi A N S d1c24bc486 Merge branch 'feat/FE/US-77/TASK-147-slicing-list-page-of-transfer-to-laying' into 'feat/FE/US-77/transfer-to-laying'
[FEAT/FE][US#77/TASK#147] Slicing List page of Transfer to Laying

See merge request mbugroup/lti-web-client!22
2025-10-23 06:06:03 +00:00
ValdiANS f998d32b0a chore(FE-147): add ApproveAction type 2025-10-23 12:55:31 +07:00
ValdiANS 3226b22dfb chore(FE-147): use dummy data 2025-10-23 12:55:12 +07:00
ValdiANS 9a51b2876f chore(FE-113,140,141): adjust back button link 2025-10-23 12:54:46 +07:00
ValdiANS ab9fbc9032 feat(FE-147): create TransferToLayingsTable component 2025-10-23 12:54:02 +07:00
ValdiANS d2f24723fc chore(FE-141): set dummy data for Transfer to Laying detail page 2025-10-23 12:53:41 +07:00
ValdiANS 5e710a792f chore(FE-147): set moment locale to 'id' globally 2025-10-23 12:52:51 +07:00
ValdiANS 3c8bdfbdac chore(FE-147): set generic when using getByPath function 2025-10-23 12:52:29 +07:00
ValdiANS 204369e0fe feat(FE-147): add CheckboxInput component 2025-10-23 12:51:39 +07:00
ValdiANS 1e2ea79a6a chore(FE-147): add close button for MainDrawer 2025-10-23 12:51:20 +07:00
rstubryan 22f1a32e1b feat(FE-137): integrate API for daily recording with enhanced data structure and validation 2025-10-23 11:59:22 +07:00
ValdiANS c24c0817ae chore(FE-147): add rowSelection and setRowSelection props 2025-10-23 11:53:35 +07:00
ValdiANS e53325cdc5 feat(FE-147): show Transfer to Laying table 2025-10-23 11:53:12 +07:00
rstubryan 6687f4af98 feat(FE-Storyless): add Badge component with customizable variants, colors, and sizes 2025-10-23 11:18:57 +07:00
rstubryan 575a317eed refactor(FE-Storyless): update input components to ensure consistent background styling 2025-10-22 15:31:59 +07:00
rstubryan bdb3ab1a50 refactor(FE-114): refactor card native to card component 2025-10-22 14:49:38 +07:00
rstubryan f486a659d0 feat(FE-114): add Card component with customizable layout and styling options 2025-10-22 14:49:05 +07:00
rstubryan 58b4204aab refactor(FE-62): enhance MovementForm by integrating NumberInput for delivery cost fields and improving layout 2025-10-22 14:10:35 +07:00
rstubryan c249585bc2 refactor(FE-114): enhance form UI by adding required field indicators for multiple inputs 2025-10-22 13:55:12 +07:00
rstubryan 9c114628c7 refactor(FE-114,136): improve form validation handling and set touched state asynchronously 2025-10-22 10:54:20 +07:00
rstubryan b35d513e44 refactor(FE-114): update flock accessor key in RecordingTable component 2025-10-22 09:50:09 +07:00
rstubryan a904c35b7f refactor(FE-114): simplify project flock types and update flock reference in recording 2025-10-22 09:41:00 +07:00
rstubryan 2e595b5e86 refactor(FE-114): update import paths from flock to production for recording components 2025-10-22 09:11:23 +07:00
rstubryan 46fa3e57cd Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-76/TASK-114-129-136-slicing-ui-and-validation-create-edit-daily-recording-growing-form 2025-10-21 16:10:40 +07:00
Rivaldi A N S 79b6d6917d Merge branch 'feat/FE/US-77/TASK-113-slicing-transfer-to-laying-create-form' into 'feat/FE/US-77/transfer-to-laying'
[FEAT/FE][US#77/TASK#113] Slicing Transfer to Laying Create Form

See merge request mbugroup/lti-web-client!21
2025-10-21 09:10:07 +00:00
ValdiANS 9f24d22a2c feat(FE-113): create FlockWithKandangs type 2025-10-21 15:54:50 +07:00
ValdiANS 06f1d3f6a4 fix(FE-113): fix merge error 2025-10-21 15:54:25 +07:00
ValdiANS e29613a37e chore(FE-113): add status field 2025-10-21 15:54:11 +07:00
ValdiANS 6e6675d0a7 feat(FE-113): change title and add Transfer ke Laying link 2025-10-21 15:37:25 +07:00
ValdiANS 32d4c0268f Merge branch 'development' into feat/FE/US-77/TASK-113-slicing-transfer-to-laying-create-form 2025-10-21 15:29:10 +07:00
rstubryan 2ab26153fd fix(resolve): fix resolve mismatch conflict path on merge 2025-10-21 15:24:55 +07:00
ValdiANS a29bbc9a42 chore(FE-113): comment Inventory Product link 2025-10-21 15:23:13 +07:00
rstubryan e7e0e308c7 fix(resolve): fix resolve mismatch conflict path on merge 2025-10-21 15:20:15 +07:00
ValdiANS 1ade8f8a38 Merge branch 'development' into feat/FE/US-77/TASK-113-slicing-transfer-to-laying-create-form 2025-10-21 15:18:34 +07:00
Adnan Zahir 791e8e787c Merge branch 'feat/FE/US-74/flock-request' into 'development'
[FEAT/FE][US#74/TASK#84-85-86-87-88-89-102] Project Flock

See merge request mbugroup/lti-web-client!20
2025-10-21 15:17:06 +07:00
ValdiANS a2c43a7f1e feat(FE-141): create Transfer to Laying Detail page 2025-10-21 15:12:09 +07:00
rstubryan 12202c2021 fix(resolve): fix resolve mismatch conflict path on merge 2025-10-21 15:10:57 +07:00
ValdiANS 4127075b13 feat(FE-113): create Transfer to Laying Create Form Schema 2025-10-21 15:09:33 +07:00
ValdiANS d9fa685ae6 feat(FE-113): create Transfer to Laying Create Form 2025-10-21 15:08:11 +07:00
ValdiANS 2f4daea253 feat(FE-113): create API Service for Transfer to Laying 2025-10-21 15:07:51 +07:00
ValdiANS bac72b8eb3 feat(FE-113): create Transfer to Laying type 2025-10-21 15:06:39 +07:00
ValdiANS 5af9c3ee27 chore(FE-113): change api route for getting user info to /auth/sso/userinfo 2025-10-21 15:06:10 +07:00
ValdiANS 1a76913f3f chore(FE-113): set vertical-align to top 2025-10-21 15:05:36 +07:00
ValdiANS 8b403a4208 feat(FE-113): create useSelect hook 2025-10-21 15:01:48 +07:00
ValdiANS 0bab704163 chore(FE-113): create getByPath helper function 2025-10-21 15:01:19 +07:00
ValdiANS d550dcbf48 feat(FE-141): create layout for detail Transfer to Laying route 2025-10-21 14:57:32 +07:00
ValdiANS 7fdbfe6dfb feat(FE-113): create Add Transfer to Laying page 2025-10-21 14:56:58 +07:00
ValdiANS 4e6d2088e1 feat(FE-147): create Transfer to Laying list page 2025-10-21 14:55:37 +07:00
rstubryan 67b180bf7c fix(resolve): fix resolve conflict 2025-10-21 14:36:27 +07:00
Rivaldi A N S 7853899486 Merge branch 'dev/randy' into 'feat/FE/US-74/flock-request'
[FEAT/FE][US#74/TASK#84-85-86-87-88-89-102] Create Feature Project Flocks and Feature Master Data Flocks

See merge request mbugroup/lti-web-client!13
2025-10-21 07:24:58 +00:00
randy-ar 9a04724095 fix(FE-86): fixing approve button and delete button 2025-10-21 14:11:08 +07:00
rstubryan 831995e8e4 refactor(FE-114): translate RecordingForm titles and table headers to Indonesian 2025-10-21 13:59:26 +07:00
randy-ar c8cdb3e772 fix(FE-88): fix error build 2025-10-21 13:22:49 +07:00
randy-ar e5b3af3239 fix(FE-88): fix project flock data types 2025-10-21 13:19:50 +07:00
rstubryan 0740f2d094 refactor(FE-114): ensure fields are marked as touched on change for better validation handling 2025-10-21 13:01:56 +07:00
rstubryan 25a97e34c7 refactor(FE-114): use React's useId hook for generating unique checkbox IDs in CheckboxInput 2025-10-21 11:54:57 +07:00
rstubryan 1ee1cf9ea9 refactor(FE-62): update errorMessage handling and setFieldTouched for form fields 2025-10-21 11:49:55 +07:00
randy-ar e4a1138d8d fix(FE-86-87-88) Hapus tombol edit di index, tambah tombol approve dan delete di detail, dan hit endpoint approve yang udah ada di hoppscocth 2025-10-21 11:37:33 +07:00
rstubryan 41bb05413c feat(FE-62): replace native checkboxes with CheckboxInput component in MovementForm 2025-10-21 11:26:15 +07:00
rstubryan c746bd94b2 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-76/TASK-114-129-136-slicing-ui-and-validation-create-edit-daily-recording-growing-form 2025-10-21 10:42:04 +07:00
rstubryan acea3a3063 refactor(FE-114): replace native checkboxes with CheckboxInput component in RecordingForm 2025-10-21 10:38:26 +07:00
rstubryan b269728ecd feat(FE-114): add CheckboxInput component with customizable props and styling 2025-10-21 10:38:07 +07:00
Adnan Zahir e7a861d8a1 Merge branch 'chore/CI/ignore-build-script' into 'development'
chore(CI): added build-filter.sh to only deploy master and development branch

See merge request mbugroup/lti-web-client!19
2025-10-21 10:21:03 +07:00
Adnan Zahir 1a5a76c0f1 chore(CI): added build-filter.sh to only deploy master and development branch 2025-10-21 10:20:09 +07:00
randy-ar 838d7277c3 fix(FE) resolve merge conflict 2025-10-21 10:19:03 +07:00
randy-ar 1672705464 fix(FE-88-89) adjust category flock dengan API backend & set disabled input period 2025-10-21 10:14:17 +07:00
rstubryan 9ef4484fb3 Merge remote-tracking branch 'origin/feat/FE/US-76/TASK-114-129-136-slicing-ui-and-validation-create-edit-daily-recording-growing-form' into feat/FE/US-76/TASK-114-129-136-slicing-ui-and-validation-create-edit-daily-recording-growing-form 2025-10-21 09:55:21 +07:00
rstubryan 645668e1f9 refactor(FE-114): enhance body weight calculations in RecordingForm with auto-update for average weight 2025-10-21 09:55:12 +07:00
rstubryan fb29cea8d2 refactor(FE-114): enhance body weight calculations in RecordingForm with auto-update for average weight 2025-10-21 09:54:28 +07:00
rstubryan 1ecdff855e refactor(FE-114): enhance NumberInput component with improved styling and disabled state handling 2025-10-21 09:54:14 +07:00
rstubryan 7c6e079f56 refactor(FE-114): improve data handling in RecordingForm for numeric fields 2025-10-21 09:33:31 +07:00
rstubryan 41f8067727 refactor(FE-114): enhance NumberInput component with improved props and validation handling 2025-10-21 09:33:17 +07:00
Adnan Zahir f733b0750a Merge branch 'feat/FE/US-35/stock-transfer' into 'development'
[FEAT/FE][US#35/TASK#61-62-63-64-65] Transfer Stock

See merge request mbugroup/lti-web-client!18
2025-10-20 20:56:42 +07:00
rstubryan 83d31b7047 refactor(FE-114): remove unnecessary FieldMessage component from checkbox 2025-10-20 20:20:39 +07:00
rstubryan 966e0886e1 Merge remote-tracking branch 'origin/feat/FE/US-76/TASK-114-129-136-slicing-ui-and-validation-create-edit-daily-recording-growing-form' into feat/FE/US-76/TASK-114-129-136-slicing-ui-and-validation-create-edit-daily-recording-growing-form 2025-10-20 20:19:51 +07:00
rstubryan a67d353bcb refactor(FE-114): integrate FieldMessage component for improved field feedback in checkboxes 2025-10-20 20:19:42 +07:00
rstubryan ac2f246988 refactor(FE-114): integrate FieldMessage component for improved field feedback in checkboxes 2025-10-20 20:00:43 +07:00
rstubryan e0ce571000 refactor(FE-114): streamline cost field validation messages and enhance layout with FieldMessage component 2025-10-20 18:54:31 +07:00
rstubryan 1bcfd9bbb4 feat(FE-Storyless): add FieldMessage component for consistent field feedback across inputs 2025-10-20 18:54:02 +07:00
Rivaldi A N S c561c47eae Merge branch 'dev/restu' into 'feat/FE/US-35/stock-transfer'
[FEAT/FE][US#35/TASK#61-62-63-64-65] Create Feature Transfer Stock

See merge request mbugroup/lti-web-client!14
2025-10-20 08:28:22 +00:00
rstubryan c3338d3e05 feat(FE-62): add button for document path in MovementForm with link functionality 2025-10-20 15:23:18 +07:00
rstubryan ba9ae07455 refactor(FE-114): improve validation messages and update layout for better responsiveness 2025-10-20 13:10:41 +07:00
rstubryan c64ff527dd Merge branch 'dev/restu' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-76/TASK-114-129-136-slicing-ui-and-validation-create-edit-daily-recording-growing-form 2025-10-20 12:56:43 +07:00
rstubryan f27e34128e refactor(FE-62): update layout and remove unused delete confirmation in MovementForm 2025-10-20 12:03:58 +07:00
rstubryan c8db992b17 feat(FE-62,63,65): add document_path field to deliveries in MovementForm 2025-10-20 11:50:19 +07:00
rstubryan d76f897840 refactor(FE-62): update wrapper class names for improved layout in MovementForm 2025-10-20 11:32:35 +07:00
rstubryan 5e0cc3699f Merge branch 'dev/restu' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-76/TASK-114-129-136-slicing-ui-and-validation-create-edit-daily-recording-growing-form 2025-10-20 10:46:21 +07:00
rstubryan 895b7afa25 refactor(FE-114): improve product filtering logic for location and flag validation 2025-10-20 10:38:10 +07:00
ValdiANS a088189ed1 chore(FE-140): add Produksi and Transfer ke Laying menu 2025-10-20 10:14:22 +07:00
ValdiANS 406cfad31a chore(FE-140): adjust border radius 2025-10-20 10:14:04 +07:00
rstubryan 6c9c0e1839 Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu 2025-10-20 10:10:30 +07:00
rstubryan eb02a8b6f7 refactor(storyless): update border class for consistent styling 2025-10-20 10:09:58 +07:00
rstubryan 73f379832c Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-76/TASK-114-129-136-slicing-ui-and-validation-create-edit-daily-recording-growing-form 2025-10-20 10:09:18 +07:00
rstubryan 4233c19dc9 refactor(FE-114): rearrange code for better readability 2025-10-20 10:06:26 +07:00
Adnan Zahir 403765a2b5 Merge branch 'feat/FE/US-77/transfer-to-laying' into 'development'
[FEAT/FE][US#77] Transfer to Laying

See merge request mbugroup/lti-web-client!16
2025-10-20 10:03:03 +07:00
Rivaldi A N S d30d7328cf Merge branch 'feat/FE/US-77/TASK-113-slicing-transfer-to-laying-create-form' into 'feat/FE/US-77/transfer-to-laying'
[FEAT/FE][US#77/TASK#113] Slicing Transfer to Laying Create Form

See merge request mbugroup/lti-web-client!17
2025-10-20 02:57:58 +00:00
ValdiANS 376fa29f7e fix(FE-40): wrap master data detail with SuspenseHelper 2025-10-20 09:55:08 +07:00
rstubryan 16d72ebf6f feat(FE-114,136): integrate location selection and update flock handling in RecordingForm 2025-10-20 09:51:32 +07:00
Rivaldi A N S 52ad696178 Merge branch 'feat/FE/US-77/TASK-113-slicing-transfer-to-laying-create-form' into 'feat/FE/US-77/transfer-to-laying'
[FEAT/FE][US#77/TASK#113] Slicing Transfer to Laying create form

See merge request mbugroup/lti-web-client!15
2025-10-20 02:42:52 +00:00
ValdiANS 2b3aa9c3ee feat(FE-113): create permissionCheck helper function 2025-10-18 13:40:32 +07:00
ValdiANS 6fe85fac13 feat(FE-113): add Client, Permission, Role, and RoleWithPermission types 2025-10-18 13:40:08 +07:00
randy-ar 9964e1797a feat(FE-87): slicing ui multiple approval checkbox and approval modal confirmation 2025-10-18 12:58:18 +07:00
rstubryan e4f554bcd4 refactor(FE-114,136): update RecordingForm validation and input handling for feed and vaccination data 2025-10-18 12:25:04 +07:00
rstubryan c25b49c179 feat(FE-114): add NumberInput component and integrate into RecordingForm for enhanced numeric input handling 2025-10-18 11:39:18 +07:00
randy-ar a573551110 feat(FE-85-87-88): slicing ui and integrate api for search and edit 2025-10-18 10:46:47 +07:00
rstubryan 881e2bfc4a feat(FE-114,136): enhance product label display in RecordingForm with warehouse and stock information 2025-10-18 09:04:39 +07:00
rstubryan 474c2a1f7d Merge branch 'dev/restu' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-76/TASK-114-129-136-slicing-ui-and-validation-create-edit-daily-recording-growing-form 2025-10-18 08:45:26 +07:00
rstubryan c4de085e11 feat(FE-62,63): enhance warehouse stock information display in MovementForm 2025-10-18 08:40:06 +07:00
rstubryan 0676411dd5 refactor(FE-62,65): enhance product quantity display and stock information in MovementForm 2025-10-17 19:23:19 +07:00
rstubryan f05d367a5d refactor(FE-65): enhance delivery cost validation and calculation in MovementForm 2025-10-17 18:51:35 +07:00
rstubryan edb5f30d6c refactor(FE-62): remove unused product fetching logic from MovementForm 2025-10-17 16:48:52 +07:00
rstubryan 7abe9b7dc6 refactor(FE-63,65): update Movement types and schema to include area and location for warehouses 2025-10-17 16:48:35 +07:00
rstubryan caf68d438f refactor(FE-114,136,137): update feed and vaccination fields to use IDs instead of names and add stock validation 2025-10-17 13:59:28 +07:00
rstubryan fa60f884c1 merge: resolve conflict 2025-10-17 13:18:34 +07:00
rstubryan c77968940e refactor(FE-114,136): update flock references to use ProjectFlock and adjust RecordingForm for new API 2025-10-17 13:16:54 +07:00
rstubryan cfb9b53b54 refactor(FE-63): simplify createMovementHandler by removing unnecessary payload checks 2025-10-17 10:13:14 +07:00
rstubryan caac9c20e6 refactor(FE-62): update MovementForm layout to improve responsiveness with grid system 2025-10-17 10:12:53 +07:00
rstubryan 8bf7603f66 refactor(FE-64): update MovementTable and TableRowOptions to conditionally show edit and delete options 2025-10-17 09:46:07 +07:00
rstubryan 8c662a5152 refactor(FE-65): update DeliveryObjectSchema to enforce minimum delivery costs of 1 2025-10-17 09:22:49 +07:00
randy-ar da92874a40 Merge branch 'feat/FE/US-74/flock-request' of https://gitlab.com/mbugroup/lti-web-client into dev/randy 2025-10-16 16:52:58 +07:00
randy-ar 5113bf4d3f feat(84-85-86-87-88-89-102): create feature project flocks and adjust master data flock feature 2025-10-16 16:49:44 +07:00
rstubryan 1bdec0c9ae refactor(FE-62,63): update MovementForm to handle 'detail' type with appropriate validations and stock checks 2025-10-16 16:46:33 +07:00
rstubryan 57dbcf3624 Merge remote-tracking branch 'origin/dev/restu' into dev/restu 2025-10-16 16:26:03 +07:00
rstubryan 501a68267e refactor(FE-63,63,65): enhance MovementForm to fetch and display product details from ProductWarehouse 2025-10-16 16:25:54 +07:00
rstubryan a2a57f758c refactor(FE-63,63,65): enhance MovementForm to fetch and display product details from ProductWarehouse 2025-10-16 16:24:42 +07:00
rstubryan 157dfc75ed refactor(FE-63): remove debug logging from form submission and movement handlers 2025-10-16 15:47:29 +07:00
rstubryan f5ce898bd2 feat(FE-62,63,65): enhance MovementForm with product warehouse selection, delivery document handling, and stock validation 2025-10-16 15:29:26 +07:00
rstubryan c6a0c542aa refactor(FE-62,63,65): refactor Movement and ProductWarehouse APIs, update MovementForm schema, and enhance MovementTable functionality 2025-10-16 14:33:49 +07:00
Adnan Zahir b0e11095f4 Merge branch 'feat/FE/US-82/approval-workflow-steps-component' into 'development'
[FEAT/FE][US#82] Slicing Approval Steps component

See merge request mbugroup/lti-web-client!12
2025-10-16 11:04:52 +07:00
rstubryan 79acdb4b7b merge: resolve conflict 2025-10-16 10:59:36 +07:00
rstubryan 19db9a4eac refactor(FE-114,136): enhance validation and default values in RecordingForm schema 2025-10-16 10:54:36 +07:00
Rivaldi A N S 1e0b342bbc Merge branch 'feat/FE/US-82/TASK-91-slicing-approval-steps-component' into 'feat/FE/US-82/approval-workflow-steps-component'
[FEAT/FE][US#82/TASK#91] Slicing Approval Steps component

See merge request mbugroup/lti-web-client!11
2025-10-16 03:16:47 +00:00
rstubryan 23d5a41d56 refactor(FE-114): improve recording date handling in RecordingForm 2025-10-16 10:08:49 +07:00
ValdiANS b7a30cc73a chore(FE-91): create ApprovalsLine type 2025-10-16 10:01:50 +07:00
ValdiANS 93beb86f91 feat(FE-91): create ApprovalSteps component 2025-10-16 10:01:40 +07:00
ValdiANS 0577f6ce1d feat(FE-91): create StepItem component 2025-10-16 10:01:29 +07:00
ValdiANS 76dd2e4c54 feat(FE-91): create Steps component 2025-10-16 10:01:23 +07:00
ValdiANS 156de6112b feat(FE-91): create Tooltip component 2025-10-16 10:01:14 +07:00
ValdiANS eb0f04310e chore(FE-91): create daisyui.css file for extending daisyUI style 2025-10-16 10:01:00 +07:00
rstubryan 27d2792a9c refactor(FE-114): enhance layout and structure of RecordingForm component 2025-10-16 09:24:00 +07:00
rstubryan ec387637ed refactor(FE-114): remove bulk delete functionality from RecordingTable 2025-10-16 09:12:21 +07:00
rstubryan 64e6724664 feat(FE-114): add bulk action functionality for approving, rejecting, and deleting recordings in RecordingTable 2025-10-16 09:07:12 +07:00
rstubryan f319a9b5d1 feat(FE-114): implement RecordingEdit and RecordingDetail components with error handling and loading states 2025-10-16 08:39:32 +07:00
randy-ar e2b35e765c feat(FE-102) create master data flock and add LTI theme 2025-10-15 20:01:41 +07:00
rstubryan 8bfce061e6 refactor(FE-114,136): improve location and coop field handling in RecordingForm 2025-10-15 17:53:08 +07:00
rstubryan 64a32fd214 refactor(FE-114,136): update RecordingForm schema and types to include location and coop fields 2025-10-15 17:39:27 +07:00
rstubryan 2ee88a2742 refactor(FE-114): enhance tanggal_recording handling and improve error messaging in RecordingForm 2025-10-15 13:45:48 +07:00
rstubryan aa21088e99 feat(FE-62): enhance MovementForm with delivery product input error handling and validation 2025-10-15 12:30:59 +07:00
rstubryan 06dc869b84 feat(FE-64): update MovementTable structure for improved data clarity and consistency 2025-10-15 12:08:52 +07:00
rstubryan df73ee1fdf feat(FE-62,63,65): refactor MovementForm and related types for improved clarity and consistency 2025-10-15 12:00:17 +07:00
rstubryan cf78687315 merge: resolve conflict 2025-10-15 11:05:37 +07:00
rstubryan 66e6fa84c8 Merge remote-tracking branch 'origin/dev/restu' into dev/restu 2025-10-15 10:56:16 +07:00
rstubryan dcd5d2692f feat(FE-62,65): enhance MovementForm and FormActions to improve form validation and reset behavior 2025-10-15 10:56:06 +07:00
rstubryan 3c4333021f feat(FE-62,65): enhance MovementForm and FormActions to improve form validation and reset behavior 2025-10-15 10:54:38 +07:00
rstubryan 56a9fc2349 refactor(FE-62,65): simplify error handling in MovementForm by consolidating error checks 2025-10-15 10:51:06 +07:00
rstubryan 24144f01d4 feat(FE-114,136): add error handling for repeater inputs in RecordingForm 2025-10-15 10:37:04 +07:00
rstubryan 6f0467918b feat(FE-114): add tanggal_recording field to RecordingForm and update schema validation 2025-10-15 09:50:21 +07:00
rstubryan 53ee4cdc1b feat(FE-114): add Layout and AddRecording components with routing link 2025-10-15 09:29:29 +07:00
rstubryan b1a3796eca feat(FE-114,136): implement RecordingForm component with data handling and validation 2025-10-15 09:28:57 +07:00
rstubryan 89318407ea feat(FE-136): update RecordingForm schema to remove tanggal and add flock object 2025-10-14 23:01:01 +07:00
rstubryan 6dcb97bcac feat(FE-114,129): add RecordingForm and RecordingTable components with handlers 2025-10-14 22:03:51 +07:00
rstubryan 1869fa8dc5 feat(FE-136): add flock and recording management with validation in forms 2025-10-14 22:03:09 +07:00
rstubryan 4b4b74d07c feat(FE-65): add validation for quantity and required fields in MovementForm 2025-10-14 18:00:34 +07:00
rstubryan ff9e35eb52 Merge remote-tracking branch 'origin/dev/restu' into dev/restu
# Conflicts:
#	src/components/pages/inventory/movement/form/MovementForm.tsx
2025-10-14 14:04:24 +07:00
rstubryan 19bca9ec73 feat(FE-65): enhance MovementForm to support file uploads with FormData conversion 2025-10-14 14:03:46 +07:00
rstubryan 6facfd3d3c feat(FE-65): enhance MovementForm to support file uploads with FormData conversion 2025-10-14 14:00:58 +07:00
rstubryan b2f0bd6698 feat(FE-65): add file type validation for dokumen in MovementForm 2025-10-14 10:31:34 +07:00
rstubryan e7085ab4ff feat(FE-65): add file size validation for dokumen in MovementForm 2025-10-14 10:02:56 +07:00
rstubryan 44e07ddc50 feat(FE-64): refactor MovementTable with new TableToolbar and TableRowSizeSelector components 2025-10-14 09:26:21 +07:00
rstubryan a4ff4f7b2a feat: add Layout component to wrap children with SuspenseHelper 2025-10-12 20:32:02 +07:00
rstubryan 754e3d526b feat(FE-64): add hatchery and npwp fields to MovementTable data structure 2025-10-12 19:15:14 +07:00
rstubryan 478f52c94b feat(FE-62,65): add biaya_ekspedisi_per_item field and calculation in MovementForm 2025-10-11 08:33:48 +07:00
rstubryan 757893c757 feat(FE-62): add quantity validation for ekspedisi in MovementForm and filter product options 2025-10-10 13:43:30 +07:00
rstubryan a1dc13ceb4 feat(FE-62): enhance MovementForm with area and location display for warehouse selection 2025-10-10 13:36:22 +07:00
rstubryan 157235433e feat(FE-62): implement bulk removal functionality for selected products and ekspedisi in MovementForm 2025-10-10 13:14:39 +07:00
rstubryan 57831646d9 refactor(FE-62): optimize product and ekspedisi removal logic in MovementForm 2025-10-10 11:14:59 +07:00
rstubryan 095190d757 refactor(FE-62,65): refactor MovementForm schema and component for improved product and ekspedisi handling 2025-10-10 10:19:56 +07:00
rstubryan 27f58051ad Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-35/stock-transfer 2025-10-10 08:40:39 +07:00
rstubryan a9cdea7318 feat(FE-65): enhance MovementForm with initial values handling and refactor components 2025-10-10 08:40:17 +07:00
rstubryan 7dbf880228 feat(FE-62): add FormActions and FormHeader components for form management 2025-10-10 08:39:34 +07:00
rstubryan aacdbf0742 Merge branch 'feat/FE/US-33/TASK-40-slicing-ui-for-master-data-forms' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-35/stock-transfer 2025-10-09 16:33:31 +07:00
rstubryan c17ffc6aff feat(FE-62): add MovementEdit and MovementDetail components for inventory movement management 2025-10-09 14:34:25 +07:00
rstubryan 1ea9ee3069 feat(FE-62,63,65): implement MovementForm component for managing inventory movements 2025-10-09 14:30:05 +07:00
Restu Bumi Ryan Ramadhan 558a1788dc Merge branch 'feat/FE/US-35/TASK-62-65-slicing-ui-for-inventory-movement-forms' into 'feat/FE/US-35/stock-transfer'
Feat/fe/us 35/task 62 65 slicing ui for inventory movement forms

See merge request mbugroup/lti-web-client!5
2025-10-09 06:11:39 +00:00
rstubryan e2036ab3dc chore: resolve conflict pull request 2025-10-09 13:05:27 +07:00
rstubryan ddbf8b0896 refactor(FE-62): rename Product component to Movement for clarity 2025-10-08 16:16:12 +07:00
rstubryan 3f97ec45f8 feat(FE-64): add MovementTable component for inventory movement management 2025-10-08 16:06:19 +07:00
rstubryan 7ceb25ea71 feat(FE-62,65): add inventory movement management with API and form validation 2025-10-08 15:26:45 +07:00
521 changed files with 92067 additions and 3597 deletions
+3 -3
View File
@@ -40,8 +40,8 @@ yarn-error.log*
*.tsbuildinfo
next-env.d.ts
# prettier
.prettierrc
# idea
.idea
# claude
.claude
+178 -69
View File
@@ -1,76 +1,185 @@
stages: [notify]
stages:
- build
- deploy
# --- Notify when MR is opened/updated ---
notify_discord_mr:
stage: notify
image: alpine:3.20
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
# ==========================================================
# ✅ Global defaults
# ==========================================================
default:
tags:
- server-development-biznet
interruptible: true
# ==========================================================
# 🏗️ Build Template
# ==========================================================
.build_template: &build_template
stage: build
image: node:20-alpine
cache:
key: npm-cache
paths:
- node_modules/
variables:
WEBHOOK_URL: $DISCORD_WEBHOOK_URL
before_script:
- apk add --no-cache curl jq
script: |
MR_URL="${CI_PROJECT_URL}/-/merge_requests/${CI_MERGE_REQUEST_IID}"
NPM_CONFIG_PRODUCTION: 'false'
NODE_ENV: ''
script:
- echo "Installing dependencies..."
- npm ci --no-audit --no-fund
- echo "Build env used:"
- echo "NEXT_PUBLIC_LTI_URL=$NEXT_PUBLIC_LTI_URL"
- echo "NEXT_PUBLIC_SSO_LOGIN_URL=$NEXT_PUBLIC_SSO_LOGIN_URL"
- echo "NEXT_PUBLIC_API_BASE_URL=$NEXT_PUBLIC_API_BASE_URL"
- echo "Building Next.js static export..."
- npx next build
- |
mkdir -p out
cat <<EOF > out/build-info.json
{
"commit": "$CI_COMMIT_SHORT_SHA",
"pipeline": "$CI_PIPELINE_ID",
"built_at": "$(date -u +"%Y-%m-%dT%H:%M:%SZ")",
"NEXT_PUBLIC_LTI_URL": "$NEXT_PUBLIC_LTI_URL",
"NEXT_PUBLIC_SSO_LOGIN_URL": "$NEXT_PUBLIC_SSO_LOGIN_URL",
"NEXT_PUBLIC_API_BASE_URL": "$NEXT_PUBLIC_API_BASE_URL"
}
EOF
artifacts:
name: 'out-$CI_COMMIT_SHORT_SHA'
paths:
- out/
expire_in: 1 week
jq -n \
--arg repo "$CI_PROJECT_PATH" \
--arg mr "#${CI_MERGE_REQUEST_IID}" \
--arg url "$MR_URL" \
--arg requestor "${GITLAB_USER_LOGIN:-$GITLAB_USER_NAME}" \
--arg source "$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME" \
--arg target "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" \
--arg title "$CI_MERGE_REQUEST_TITLE" \
'{
username: "CI Bot - FE",
embeds: [{
title: "📣 [LTI WEB CLIENT] Merge Request Opened/Updated",
description: ($mr + " in " + $repo),
url: $url,
color: 3447003,
fields: [
{name: "Author", value: $requestor, inline: true},
{name: "Source → Target", value: ($source + " → " + $target), inline: true},
{name: "Title", value: $title}
]
}]
}' \
| curl -sS -H "Content-Type: application/json" -d @- "$WEBHOOK_URL"
# ==========================================================
# 🚀 Deploy Template
# ==========================================================
.deploy_template: &deploy_template
stage: deploy
image:
name: amazon/aws-cli:latest
entrypoint: ['/bin/sh', '-c']
script:
- set -e
- aws --version
- echo "Cleaning up newline characters in AWS credentials..."
- export AWS_ACCESS_KEY_ID=$(echo $AWS_ACCESS_KEY_ID | tr -d '\r\n')
- export AWS_SECRET_ACCESS_KEY=$(echo $AWS_SECRET_ACCESS_KEY | tr -d '\r\n')
- echo "Deploying to s3://$S3_BUCKET in region $AWS_REGION"
- aws s3api head-bucket --bucket "$S3_BUCKET" --region "$AWS_REGION" || aws s3api create-bucket --bucket "$S3_BUCKET" --region "$AWS_REGION" --create-bucket-configuration LocationConstraint="$AWS_REGION"
- aws s3 sync ./out "s3://$S3_BUCKET" --delete --region "$AWS_REGION" --endpoint-url "https://s3.ap-southeast-3.amazonaws.com"
# --- Notify when MR is merged ---
notify_discord_merge:
stage: notify
image: alpine:3.20
# CloudFront invalidation
- |
STATUS="success"
if [ -n "$CLOUDFRONT_DISTRIBUTION_ID" ]; then
echo "Invalidating CloudFront cache..."
if ! aws cloudfront create-invalidation --distribution-id "$CLOUDFRONT_DISTRIBUTION_ID" --paths "/*"; then
echo "CloudFront invalidation failed."
STATUS="failed"
fi
else
echo "No CloudFront distribution specified — skipping invalidation"
fi
# Notifikasi Discord
- |
RUN_URL="${CI_PROJECT_URL}/-/pipelines/${CI_PIPELINE_ID}"
if [ "$CI_COMMIT_BRANCH" = "development" ]; then
ENVIRONMENT_NAME="WEB-LTI-DEV"
elif [ "$CI_COMMIT_BRANCH" = "staging" ]; then
ENVIRONMENT_NAME="WEB-LTI-STAGING"
else
ENVIRONMENT_NAME="UNKNOWN"
fi
if [ "$STATUS" = "success" ]; then
COLOR=3066993
TITLE="✅ Deployment ${ENVIRONMENT_NAME} Succeeded"
DESC="Deployment job on branch \${CI_COMMIT_REF_NAME}\ completed successfully."
else
COLOR=15158332
TITLE="❌ Deployment ${ENVIRONMENT_NAME} Failed"
DESC="Deployment job on branch \${CI_COMMIT_REF_NAME}\ encountered issues."
fi
jq -n \
--arg title "$TITLE" \
--arg desc "$DESC" \
--arg color "$COLOR" \
--arg repo "$CI_PROJECT_PATH" \
--arg actor "$GITLAB_USER_LOGIN" \
--arg commit "$CI_COMMIT_SHA" \
--arg run_url "$RUN_URL" \
'{
username: "CI Bot - LTI WEB",
embeds: [{
title: $title,
description: $desc,
color: ($color|tonumber),
fields: [
{name: "Repository", value: $repo, inline: true},
{name: "Actor", value: $actor, inline: true},
{name: "Commit", value: $commit, inline: false},
{name: "Pipeline", value: ("[Open run](" + $run_url + ")"), inline: false}
]
}]
}' > payload.json
curl -sS -H "Content-Type: application/json" -d @payload.json "$DISCORD_WEBHOOK_URL"
# ==========================================================
# ==== DEVELOPMENT (Branch development) ======
# ==========================================================
build:dev:
<<: *build_template
rules:
# Only run for merge request pipelines that are in merged state
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_STATE == "merged"'
- if: '$CI_COMMIT_BRANCH == "development"'
environment:
name: development
variables:
WEBHOOK_URL: $DISCORD_WEBHOOK_URL
before_script:
- apk add --no-cache curl jq
script: |
MR_URL="${CI_PROJECT_URL}/-/merge_requests/${CI_MERGE_REQUEST_IID}"
NEXT_PUBLIC_LTI_URL: 'https://dev-lti-erp.mbugroup.id'
NEXT_PUBLIC_SSO_LOGIN_URL: 'https://dev-auth-erp.mbugroup.id'
NEXT_PUBLIC_API_BASE_URL: 'https://dev-api-lti.mbugroup.id/api'
NEXT_PUBLIC_CLIENT_ID: 'Lumbung-Telur-Indonesia'
jq -n \
--arg repo "$CI_PROJECT_PATH" \
--arg mr "#${CI_MERGE_REQUEST_IID}" \
--arg url "$MR_URL" \
--arg requestor "${CI_MERGE_REQUEST_AUTHOR}" \
--arg source "$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME" \
--arg target "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" \
--arg title "$CI_MERGE_REQUEST_TITLE" \
'{
username: "CI Bot - FE",
embeds: [{
title: "✅ [LTI WEB CLIENT] Merge Request Merged",
description: ($mr + " has been merged into " + $repo),
url: $url,
color: 3066993,
fields: [
{name: "Author", value: $requestor, inline: true},
{name: "Source → Target", value: ($source + " → " + $target), inline: true},
{name: "Title", value: $title}
]
}]
}' \
| curl -sS -H "Content-Type: application/json" -d @- "$WEBHOOK_URL"
deploy:dev:
<<: *deploy_template
needs: ['build:dev']
rules:
- if: '$CI_COMMIT_BRANCH == "development"'
variables:
S3_BUCKET: 'dev-lti-erp.mbugroup.id'
AWS_REGION: 'ap-southeast-3'
CLOUDFRONT_DISTRIBUTION_ID: 'E1Z8XTA8XF1GIV'
environment:
name: development
url: https://dev-lti-erp.mbugroup.id
# ==========================================================
# ====== STAGING (Branch staging) ======
# ==========================================================
build:staging:
<<: *build_template
rules:
- if: '$CI_COMMIT_BRANCH == "staging"'
environment:
name: staging
variables:
NEXT_PUBLIC_LTI_URL: 'https://stg-lti-erp.mbugroup.id'
NEXT_PUBLIC_SSO_LOGIN_URL: 'https://stg-auth-erp.mbugroup.id'
NEXT_PUBLIC_API_BASE_URL: 'https://stg-api-lti.mbugroup.id/api'
NEXT_PUBLIC_CLIENT_ID: 'Lumbung-Telur-Indonesia'
deploy:staging:
<<: *deploy_template
needs: ['build:staging']
rules:
- if: '$CI_COMMIT_BRANCH == "staging"'
variables:
S3_BUCKET: 'stg-lti-erp.mbugroup.id'
AWS_REGION: 'ap-southeast-3'
CLOUDFRONT_DISTRIBUTION_ID: 'E2V6PPO1AUIU7H'
environment:
name: staging
url: https://stg-lti-erp.mbugroup.id
+3
View File
@@ -0,0 +1,3 @@
npm run format
npm run lint
npx tsc --noEmit
+25
View File
@@ -0,0 +1,25 @@
FROM node:20-alpine
RUN apk add --no-cache git bash build-base curl
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
# Buat config agar Next tahu output: export
RUN echo "const config = { output: 'export', images: { unoptimized: true } }; export default config;" > next.config.mjs
# Build project (Next.js 15 otomatis static export)
RUN NEXT_DISABLE_TURBOPACK=1 npx next build
# Copy static assets dan hasil build agar bisa diakses
RUN mkdir -p .next/server/app/_next && \
cp -r .next/static .next/server/app/_next/static && \
cp -r public/* .next/server/app/
EXPOSE 3000
CMD ["npx", "serve", ".next/server/app", "-l", "3000"]
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF"
if [[ "$VERCEL_GIT_COMMIT_REF" == "master" || "$VERCEL_GIT_COMMIT_REF" == "development" ]]; then
echo "✅ - Build can proceed"
exit 1
else
echo "🛑 - Build cancelled"
exit 0
fi
+39
View File
@@ -0,0 +1,39 @@
version: '3.9'
services:
dev-web-lti:
container_name: dev-web-lti
build:
context: .
dockerfile: Dockerfile
ports:
- '3002:3000'
env_file:
- .env
environment:
NODE_ENV: production
APP_ENV: production
networks:
- dev-lti-network
restart: always
deploy:
resources:
limits:
cpus: '3.0'
memory: 3G
reservations:
cpus: '1.0'
memory: 512M
extra_hosts:
- 'host.docker.internal:host-gateway'
# Optional: aktifkan healthcheck jika punya endpoint
# healthcheck:
# test: ["CMD-SHELL", "curl -fsS http://localhost:3000/api/healthz || exit 1"]
# interval: 10s
# timeout: 3s
# retries: 10
# start_period: 15s
networks:
dev-lti-network:
external: true
+9 -9
View File
@@ -1,6 +1,6 @@
import { dirname } from "path";
import { fileURLToPath } from "url";
import { FlatCompat } from "@eslint/eslintrc";
import { dirname } from 'path';
import { fileURLToPath } from 'url';
import { FlatCompat } from '@eslint/eslintrc';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
@@ -10,14 +10,14 @@ const compat = new FlatCompat({
});
const eslintConfig = [
...compat.extends("next/core-web-vitals", "next/typescript"),
...compat.extends('next/core-web-vitals', 'next/typescript'),
{
ignores: [
"node_modules/**",
".next/**",
"out/**",
"build/**",
"next-env.d.ts",
'node_modules/**',
'.next/**',
'out/**',
'build/**',
'next-env.d.ts',
],
},
];
+1
View File
@@ -3,6 +3,7 @@ import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
output: 'export',
images: { unoptimized: true },
trailingSlash: true,
};
export default nextConfig;
+5458 -571
View File
File diff suppressed because it is too large Load Diff
+31 -6
View File
@@ -6,23 +6,46 @@
"dev": "eslint && next dev --turbopack",
"build": "next build --turbopack",
"start": "next start",
"lint": "eslint"
"lint": "eslint",
"prepare": "husky",
"format": "prettier --write ."
},
"dependencies": {
"@react-pdf/renderer": "^4.3.1",
"@tanstack/match-sorter-utils": "^8.19.4",
"@tanstack/react-table": "^8.21.3",
"axios": "^1.12.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"embla-carousel-react": "^8.6.0",
"exceljs": "^4.4.0",
"formik": "^2.4.6",
"html-to-image": "^1.11.13",
"input-otp": "^1.4.2",
"jspdf": "^3.0.4",
"jspdf-autotable": "^5.0.2",
"lucide-react": "^0.562.0",
"moment": "^2.30.1",
"next": "15.5.3",
"react": "19.1.0",
"react-dom": "19.1.0",
"next": "15.5.9",
"next-themes": "^0.4.6",
"radix-ui": "^1.4.3",
"react": "^19.1.2",
"react-day-picker": "^9.11.1",
"react-dom": "^19.1.2",
"react-dropzone": "^14.3.8",
"react-hook-form": "^7.70.0",
"react-hot-toast": "^2.6.0",
"react-number-format": "^5.4.4",
"react-resizable-panels": "2.1.7",
"react-select": "^5.10.2",
"recharts": "^3.6.0",
"sonner": "^2.0.7",
"swr": "^2.3.6",
"tailwind-merge": "^3.3.1",
"use-debounce": "^10.0.6",
"vaul": "^1.1.2",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
"yup": "^1.7.0",
"zustand": "^5.0.8"
},
@@ -33,9 +56,11 @@
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"daisyui": "^5.1.12",
"daisyui": "^5.5.14",
"eslint": "^9",
"eslint-config-next": "15.5.3",
"eslint-config-next": "^15.5.7",
"husky": "^9.1.7",
"prettier": "^3.6.2",
"tailwindcss": "^4",
"typescript": "^5"
}
+1 -1
View File
@@ -1,5 +1,5 @@
const config = {
plugins: ["@tailwindcss/postcss"],
plugins: ['@tailwindcss/postcss'],
};
export default config;
Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

+11
View File
@@ -0,0 +1,11 @@
import SuspenseHelper from '@/components/helper/SuspenseHelper';
const Layout = ({
children,
}: Readonly<{
children: React.ReactNode;
}>) => {
return <SuspenseHelper>{children}</SuspenseHelper>;
};
export default Layout;
+112
View File
@@ -0,0 +1,112 @@
'use client';
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
import ClosingDetail from '@/components/pages/closing/ClosingDetail';
import { ClosingApi } from '@/services/api/closing';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
import { FlockApi } from '@/services/api/master-data';
import { ProjectFlockApi } from '@/services/api/production/project-flock';
import { ProjectFlockKandangApi } from '@/services/api/production';
const ClosingDetailPage = () => {
const router = useRouter();
const searchParams = useSearchParams();
const closingId = searchParams.get('closingId');
const kandangId = searchParams.get('kandangId'); // project flock kandang ID
const { data: closing, isLoading: isLoadingClosing } = useSWR(
closingId,
(id: number) => ClosingApi.getGeneralInfo(id)
);
// WORKAROUND - get flock data from closing ID
const { data: projectData, isLoading: isLoadingProject } = useSWR(
`flock-${closingId}`,
() => ProjectFlockApi.getSingle(Number(closingId))
);
// WORKAROUND - get kandang data from closing ID
const { data: kandangData, isLoading: isLoadingKandang } = useSWR(
kandangId ? `kandang-${closingId}-${kandangId}` : null,
() => ProjectFlockKandangApi.getSingle(Number(kandangId))
);
const { data: salesData, isLoading: isLoadingSales } = useSWR(
kandangId
? `sales-${closingId}-${kandangId}`
: closingId
? `sales-${closingId}`
: null,
() =>
kandangId
? ClosingApi.getPenjualanByKandang(Number(closingId), Number(kandangId))
: ClosingApi.getPenjualan(Number(closingId))
);
const { data: hppEkspedisiData, isLoading: isLoadingHppEkspedisi } = useSWR(
kandangId
? `hpp-ekspedisi-${closingId}-${kandangId}`
: closingId
? `hpp-ekspedisi-${closingId}`
: null,
() =>
kandangId
? ClosingApi.getHppEkspedisiByKandang(
Number(closingId),
Number(kandangId)
)
: ClosingApi.getHppEkspedisi(Number(closingId))
);
if (!closingId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (!isLoadingClosing && (!closing || isResponseError(closing))) {
router.replace('/404');
return;
}
const isLoading =
isLoadingClosing ||
isLoadingSales ||
isLoadingHppEkspedisi ||
isLoadingProject ||
isLoadingKandang;
return (
<div className='w-full p-4 flex flex-row justify-center'>
{isLoading && <span className='loading loading-spinner loading-xl' />}
{!isLoading && isResponseSuccess(closing) && (
<ClosingDetail
id={Number(closingId)}
initialValue={closing.data}
salesData={isResponseSuccess(salesData) ? salesData.data : undefined}
hppExpeditionData={
isResponseSuccess(hppEkspedisiData)
? hppEkspedisiData.data
: undefined
}
projectData={
isResponseSuccess(projectData) ? projectData.data : undefined
}
kandangData={
isResponseSuccess(kandangData) ? kandangData.data : undefined
}
/>
)}
</div>
);
};
export default ClosingDetailPage;
+11
View File
@@ -0,0 +1,11 @@
import ClosingsTable from '@/components/pages/closing/ClosingsTable';
const Closing = () => {
return (
<section className='w-full p-4'>
<ClosingsTable />
</section>
);
};
export default Closing;
@@ -0,0 +1,11 @@
import { DailyChecklistContent } from '@/figma-make/components/pages/daily-checklist/DailyChecklistContent';
const DailyChecklistPage = () => {
return (
<section className='w-full'>
<DailyChecklistContent />
</section>
);
};
export default DailyChecklistPage;
@@ -0,0 +1,11 @@
import { Dashboard as DashboardDailyChecklist } from '@/figma-make/components/pages/dashboard/Dashboard';
const DailyChecklistDashboardPage = () => {
return (
<section className='w-full'>
<DashboardDailyChecklist />
</section>
);
};
export default DailyChecklistDashboardPage;
@@ -0,0 +1,11 @@
import SuspenseHelper from '@/components/helper/SuspenseHelper';
const Layout = ({
children,
}: Readonly<{
children: React.ReactNode;
}>) => {
return <SuspenseHelper>{children}</SuspenseHelper>;
};
export default Layout;
@@ -0,0 +1,11 @@
import { DetailDailyChecklistContent } from '@/figma-make/components/pages/list-daily-checklist/detail/DetailDailyChecklistContent';
const ListDailyChecklistDetailPage = () => {
return (
<section className='w-full'>
<DetailDailyChecklistContent />
</section>
);
};
export default ListDailyChecklistDetailPage;
@@ -0,0 +1,11 @@
import { ListDailyChecklistContent } from '@/figma-make/components/pages/list-daily-checklist/ListDailyChecklistContent';
const ListDailyChecklistPage = () => {
return (
<section className='w-full'>
<ListDailyChecklistContent />
</section>
);
};
export default ListDailyChecklistPage;
@@ -0,0 +1,11 @@
import { MasterAktivitasContent } from '@/figma-make/components/pages/master-data/activity/MasterAktivitasContent';
const MasterAktivitasPage = () => {
return (
<section className='w-full'>
<MasterAktivitasContent />
</section>
);
};
export default MasterAktivitasPage;
@@ -0,0 +1,11 @@
import { MasterConfigurationContent } from '@/figma-make/components/pages/master-data/configuration/MasterConfigurationContent';
const MasterConfigurationPage = () => {
return (
<section className='w-full'>
<MasterConfigurationContent />
</section>
);
};
export default MasterConfigurationPage;
@@ -0,0 +1,11 @@
import { MasterEmployeeContent } from '@/figma-make/components/pages/master-data/employee/MasterEmployeeContent';
const MasterEmployeePage = () => {
return (
<section className='w-full'>
<MasterEmployeeContent />
</section>
);
};
export default MasterEmployeePage;
+11
View File
@@ -0,0 +1,11 @@
import { DailyChecklistReportsContent } from '@/figma-make/components/pages/reports/DailyChecklistReportsContent';
const DailyChecklistReportsPage = () => {
return (
<section className='w-full'>
<DailyChecklistReportsContent />
</section>
);
};
export default DailyChecklistReportsPage;
+3 -5
View File
@@ -1,9 +1,7 @@
import DashboardProduction from '@/components/pages/dashboard/DashboardProduction';
const Dashboard = () => {
return (
<section className='w-full p-4'>
<h1 className='text-3xl font-bold text-primary'>Dashboard</h1>
</section>
);
return <DashboardProduction />;
};
export default Dashboard;
+11
View File
@@ -0,0 +1,11 @@
import ExpenseRequestForm from '@/components/pages/expense/form/ExpenseRequestForm';
const AddExpense = () => {
return (
<div className='w-full p-4 flex flex-row justify-center'>
<ExpenseRequestForm />
</div>
);
};
export default AddExpense;
+65
View File
@@ -0,0 +1,65 @@
'use client';
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
import ExpenseRequestForm from '@/components/pages/expense/form/ExpenseRequestForm';
import { ExpenseApi } from '@/services/api/expense';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
const ExpenseEditPage = () => {
const router = useRouter();
const searchParams = useSearchParams();
const expenseId = searchParams.get('expenseId');
const { data: expense, isLoading: isLoadingExpense } = useSWR(
expenseId,
(id: number) => ExpenseApi.getSingle(id)
);
if (!expenseId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (!isLoadingExpense && (!expense || isResponseError(expense))) {
router.replace('/404');
return;
}
const isExpenseCanBeEdited =
!isLoadingExpense &&
isResponseSuccess(expense) &&
expense.data.latest_approval.step_number !== 5 &&
expense.data.latest_approval.step_number !== 6 &&
(expense.data.latest_approval.step_number === 1 ||
expense.data.latest_approval.step_number === 2 ||
expense.data.latest_approval.step_number === 3 ||
expense.data.latest_approval.step_number === 4);
if (!isLoadingExpense && !isExpenseCanBeEdited) {
router.back();
return;
}
return (
<div className='w-full p-4 flex flex-row justify-center'>
{isLoadingExpense && (
<span className='loading loading-spinner loading-xl' />
)}
{!isLoadingExpense && isResponseSuccess(expense) && (
<ExpenseRequestForm type='edit' initialValues={expense.data} />
)}
</div>
);
};
export default ExpenseEditPage;
+11
View File
@@ -0,0 +1,11 @@
import SuspenseHelper from '@/components/helper/SuspenseHelper';
const Layout = ({
children,
}: Readonly<{
children: React.ReactNode;
}>) => {
return <SuspenseHelper>{children}</SuspenseHelper>;
};
export default Layout;
+50
View File
@@ -0,0 +1,50 @@
'use client';
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
import ExpenseDetail from '@/components/pages/expense/ExpenseDetail';
import { ExpenseApi } from '@/services/api/expense';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
const ExpenseDetailPage = () => {
const router = useRouter();
const searchParams = useSearchParams();
const expenseId = searchParams.get('expenseId');
const { data: expense, isLoading: isLoadingExpense } = useSWR(
expenseId,
(id: number) => ExpenseApi.getSingle(id)
);
if (!expenseId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (!isLoadingExpense && (!expense || isResponseError(expense))) {
router.replace('/404');
return;
}
return (
<div className='w-full p-4 flex flex-row justify-center'>
{isLoadingExpense && (
<span className='loading loading-spinner loading-xl' />
)}
{!isLoadingExpense && isResponseSuccess(expense) && (
<ExpenseDetail initialValues={expense.data} />
)}
</div>
);
};
export default ExpenseDetailPage;
+11
View File
@@ -0,0 +1,11 @@
import ExpensesTable from '@/components/pages/expense/ExpensesTable';
const Expense = () => {
return (
<section className='w-full p-4 sm:p-0'>
<ExpensesTable />
</section>
);
};
export default Expense;
+62
View File
@@ -0,0 +1,62 @@
'use client';
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
import ExpenseRealizationForm from '@/components/pages/expense/form/ExpenseRealizationForm';
import { ExpenseApi } from '@/services/api/expense';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
const ExpenseRealizationEditPage = () => {
const router = useRouter();
const searchParams = useSearchParams();
const expenseId = searchParams.get('expenseId');
const { data: expense, isLoading: isLoadingExpense } = useSWR(
expenseId,
(id: number) => ExpenseApi.getSingle(id)
);
if (!expenseId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (!isLoadingExpense && (!expense || isResponseError(expense))) {
router.replace('/404');
return;
}
const isExpenseRealizationCanBeEdited =
!isLoadingExpense &&
isResponseSuccess(expense) &&
expense.data.latest_approval.action !== 'REJECTED' &&
(expense.data.latest_approval.step_number === 5 ||
expense.data.latest_approval.step_number === 6);
if (!isLoadingExpense && !isExpenseRealizationCanBeEdited) {
router.back();
return;
}
return (
<div className='w-full p-4 flex flex-row justify-center'>
{isLoadingExpense && (
<span className='loading loading-spinner loading-xl' />
)}
{!isLoadingExpense && isResponseSuccess(expense) && (
<ExpenseRealizationForm type='edit' initialValues={expense.data} />
)}
</div>
);
};
export default ExpenseRealizationEditPage;
+11
View File
@@ -0,0 +1,11 @@
import SuspenseHelper from '@/components/helper/SuspenseHelper';
const Layout = ({
children,
}: Readonly<{
children: React.ReactNode;
}>) => {
return <SuspenseHelper>{children}</SuspenseHelper>;
};
export default Layout;
+67
View File
@@ -0,0 +1,67 @@
'use client';
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
import ExpenseRealizationForm from '@/components/pages/expense/form/ExpenseRealizationForm';
import { ExpenseApi } from '@/services/api/expense';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
const ExpenseRealization = () => {
const router = useRouter();
const searchParams = useSearchParams();
const expenseId = searchParams.get('expenseId');
const { data: expense, isLoading: isLoadingExpense } = useSWR(
expenseId,
(id: number) => ExpenseApi.getSingle(id)
);
if (!expenseId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (!isLoadingExpense && (!expense || isResponseError(expense))) {
router.replace('/404');
return;
}
const isExpenseCanBeRealized =
isResponseSuccess(expense) &&
expense.data.latest_approval.action !== 'REJECTED' &&
expense.data.latest_approval.step_number === 4;
if (isResponseSuccess(expense) && !isExpenseCanBeRealized) {
if (typeof window !== 'undefined') {
router.back();
}
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
return (
<div className='w-full p-4 flex flex-row justify-center'>
{isLoadingExpense && (
<span className='loading loading-spinner loading-xl' />
)}
{!isLoadingExpense && isResponseSuccess(expense) && (
<ExpenseRealizationForm initialValues={expense.data} />
)}
</div>
);
};
export default ExpenseRealization;
+5
View File
@@ -0,0 +1,5 @@
const FinanceAdjust = () => {
return <div>Finance Adjust</div>;
};
export default FinanceAdjust;
@@ -0,0 +1,7 @@
import FormFinanceAddInitialBalance from '@/components/pages/finance/add/initial-balance/FormFinanceAddInitialBalance';
const FinanceAddInitialBalancePage = () => {
return <FormFinanceAddInitialBalance type='add' />;
};
export default FinanceAddInitialBalancePage;
+7
View File
@@ -0,0 +1,7 @@
import FormFinanceInjection from '@/components/pages/finance/add/injection/FormFinanceInjection';
const FinanceAddInjectionPage = () => {
return <FormFinanceInjection type='add' />;
};
export default FinanceAddInjectionPage;
+7
View File
@@ -0,0 +1,7 @@
import FormFinanceAdd from '@/components/pages/finance/add/FormFinanceAdd';
const FinanceAddPage = () => {
return <FormFinanceAdd />;
};
export default FinanceAddPage;
@@ -0,0 +1,51 @@
'use client';
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
import { FinanceApi } from '@/services/api/finance';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
import FormFinanceAddInitialBalance from '@/components/pages/finance/add/initial-balance/FormFinanceAddInitialBalance';
const EditFinanceInitialBalancePage = () => {
const router = useRouter();
const searchParams = useSearchParams();
const financeId = searchParams.get('financeId');
const { data: finance, isLoading: isLoadingFinance } = useSWR(
financeId,
(id: number) => FinanceApi.getSingle(id)
);
if (!financeId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (!isLoadingFinance && (!finance || isResponseError(finance))) {
router.replace('/404');
return;
}
return (
<div className='w-full p-4 flex flex-row justify-center'>
{isLoadingFinance && (
<span className='loading loading-spinner loading-xl' />
)}
{!isLoadingFinance && (
<FormFinanceAddInitialBalance
type='edit'
initialValues={isResponseSuccess(finance) ? finance.data : undefined}
/>
)}
</div>
);
};
export default EditFinanceInitialBalancePage;
@@ -0,0 +1,51 @@
'use client';
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
import { FinanceApi } from '@/services/api/finance';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
import FormFinanceInjection from '@/components/pages/finance/add/injection/FormFinanceInjection';
const EditFinanceInjectionPage = () => {
const router = useRouter();
const searchParams = useSearchParams();
const financeId = searchParams.get('financeId');
const { data: finance, isLoading: isLoadingFinance } = useSWR(
financeId,
(id: number) => FinanceApi.getSingle(id)
);
if (!financeId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (!isLoadingFinance && (!finance || isResponseError(finance))) {
router.replace('/404');
return;
}
return (
<div className='w-full p-4 flex flex-row justify-center'>
{isLoadingFinance && (
<span className='loading loading-spinner loading-xl' />
)}
{!isLoadingFinance && (
<FormFinanceInjection
type='edit'
initialValues={isResponseSuccess(finance) ? finance.data : undefined}
/>
)}
</div>
);
};
export default EditFinanceInjectionPage;
+52
View File
@@ -0,0 +1,52 @@
'use client';
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
import { FinanceApi } from '@/services/api/finance';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
import FormFinanceAdd from '@/components/pages/finance/add/FormFinanceAdd';
import FormFinanceAddInitialBalance from '@/components/pages/finance/add/initial-balance/FormFinanceAddInitialBalance';
const EditFinanceTransactionPage = () => {
const router = useRouter();
const searchParams = useSearchParams();
const financeId = searchParams.get('financeId');
const { data: finance, isLoading: isLoadingFinance } = useSWR(
financeId,
(id: number) => FinanceApi.getSingle(id)
);
if (!financeId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (!isLoadingFinance && (!finance || isResponseError(finance))) {
router.replace('/404');
return;
}
return (
<div className='w-full p-4 flex flex-row justify-center'>
{isLoadingFinance && (
<span className='loading loading-spinner loading-xl' />
)}
{!isLoadingFinance && (
<FormFinanceAdd
type='edit'
initialValues={isResponseSuccess(finance) ? finance.data : undefined}
/>
)}
</div>
);
};
export default EditFinanceTransactionPage;
+11
View File
@@ -0,0 +1,11 @@
import SuspenseHelper from '@/components/helper/SuspenseHelper';
const Layout = ({
children,
}: Readonly<{
children: React.ReactNode;
}>) => {
return <SuspenseHelper>{children}</SuspenseHelper>;
};
export default Layout;
+39
View File
@@ -0,0 +1,39 @@
'use client';
import FinanceDetail from '@/components/pages/finance/FinanceDetail';
import useSWR from 'swr';
import { useRouter, useSearchParams } from 'next/navigation';
import { FinanceApi } from '@/services/api/finance';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
const FinanceDetailPage = () => {
const router = useRouter();
const financeId = useSearchParams().get('financeId');
const { data: finance } = useSWR(financeId, () =>
FinanceApi.getSingle(Number(financeId))
);
if (!financeId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
// if (!finance || isResponseError(finance)) {
// router.replace('/404');
// return;
// }
return (
<>
{isResponseSuccess(finance) && <FinanceDetail finance={finance.data} />}
</>
);
};
export default FinanceDetailPage;
+14
View File
@@ -0,0 +1,14 @@
'use client';
import FinanceTable from '@/components/pages/finance/FinanceTable';
const Finance = () => {
return (
<section className='size-full p-6'>
<div className='flex flex-row gap-4'></div>
<FinanceTable />
</section>
);
};
export default Finance;
+67 -1
View File
@@ -1,14 +1,80 @@
@import 'tailwindcss';
@plugin "daisyui";
@import '../styles/tailwind.css';
@import '../styles/daisyui.css';
@import '../figma-make/styles/theme.css';
@plugin "daisyui/theme" {
name: 'lti';
default: false;
prefersdark: false;
color-scheme: 'light';
/* Primary Colors */
--color-primary: oklch(39.4% 0.177 301.9);
--color-primary-content: oklch(87.5% 0.038 274.5);
/* Secondary Colors */
--color-secondary: oklch(60.1% 0.258 335.7);
--color-secondary-content: oklch(99.4% 0.007 337.8);
/* Accent Colors */
--color-accent: oklch(76.2% 0.155 170.8);
--color-accent-content: oklch(7.2% 0.007 167.6);
/* Neutral Colors */
--color-neutral: oklch(22.4% 0.032 258.8);
--color-neutral-content: oklch(87.7% 0.016 257);
/* Base Colors */
--color-base-100: oklch(100% 0 0); /* #ffffff */
--color-base-200: oklch(97.2% 0 0); /* #f2f2f2 */
--color-base-300: oklch(93.1% 0.002 249.7); /* #e5e6e6 */
--color-base-content: #18181b;
/* Status/Utility Colors */
--color-info: oklch(67.4% 0.176 238.9);
--color-info-content: oklch(0% 0 0); /* #000000 */
--color-success: #00d390;
--color-success-content: oklch(100% 0 0); /* #ffffff */
--color-warning: #fcb700;
--color-warning-content: oklch(0% 0 0); /* #000000 */
--color-error: #ff3a3a;
--color-error-content: oklch(100% 0 0); /* #fffffff */
--radius-selector: 0rem;
--radius-field: 0.25rem;
--radius-box: 0.25rem;
--size-selector: 0.21875rem;
--size-field: 0.1875rem;
--border: 1px;
--depth: 0;
--noise: 0;
}
:root {
--color-primary: #1f74bf;
--color-primary: #0069e0;
}
@theme {
--font-inter: var(--font-inter);
--font-roboto: var(--font-roboto);
--container-sm: 40rem;
--container-md: 48rem;
--container-lg: 64rem;
--container-xl: 80rem;
--container-2xl: 96rem;
--shadow-button-soft:
0 3px 2px -2px var(--color-base-200), 0 4px 3px -2px var(--color-base-200);
}
html {
scrollbar-gutter: initial;
}
.react-select__menu-portal {
position: relative;
z-index: 99999 !important;
}
+5 -5
View File
@@ -1,11 +1,11 @@
import InventoryAdjustmentForm from "@/components/pages/inventory/adjustment/form/InventoryAdjustmentForm";
import InventoryAdjustmentForm from '@/components/pages/inventory/adjustment/form/InventoryAdjustmentForm';
const CreateInventoryAdjustment = () => {
return (
<section className="w-full p-4 flex flex-row justify-center">
<InventoryAdjustmentForm/>
<section className='w-full p-4 flex flex-row justify-center'>
<InventoryAdjustmentForm />
</section>
);
}
};
export default CreateInventoryAdjustment;
export default CreateInventoryAdjustment;
@@ -0,0 +1,11 @@
import SuspenseHelper from '@/components/helper/SuspenseHelper';
const Layout = ({
children,
}: Readonly<{
children: React.ReactNode;
}>) => {
return <SuspenseHelper>{children}</SuspenseHelper>;
};
export default Layout;
+5 -9
View File
@@ -7,12 +7,11 @@ import type { InventoryAdjustment } from '@/types/api/inventory/adjustment';
const DetailInventoryAdjustment = () => {
const router = useRouter();
const [inventoryAdjustment, setInventoryAdjustment] = useState<InventoryAdjustment | null>(null);
const [inventoryAdjustment, setInventoryAdjustment] =
useState<InventoryAdjustment | null>(null);
// Ambil data dari router state
useEffect(() => {
console.log("Router State");
console.log(window.history.state);
const state = window.history.state?.usr as
| { inventoryAdjustment?: InventoryAdjustment }
| undefined;
@@ -24,20 +23,17 @@ const DetailInventoryAdjustment = () => {
}, [router]);
const finalData = inventoryAdjustment;
console.log("Final Data");
console.log(finalData);
if (!finalData) {
return (
<div className="w-full flex flex-row justify-center items-center p-4">
<span className="loading loading-spinner loading-xl" />
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
return (
<section className="w-full p-4 flex flex-row justify-center">
<section className='w-full p-4 flex flex-row justify-center'>
<InventoryAdjustmentForm initialValues={finalData} />
</section>
);
+11
View File
@@ -0,0 +1,11 @@
import MovementForm from '@/components/pages/inventory/movement/form/MovementForm';
const AddMovement = () => {
return (
<div className='w-full p-4 flex flex-row justify-center'>
<MovementForm />
</div>
);
};
export default AddMovement;
@@ -0,0 +1,48 @@
'use client';
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
import MovementForm from '@/components/pages/inventory/movement/form/MovementForm';
import { MovementApi } from '@/services/api/inventory';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
const MovementEdit = () => {
const router = useRouter();
const searchParams = useSearchParams();
const movementId = searchParams.get('movementId');
const { data: movement, isLoading: isLoadingMovement } = useSWR(
movementId,
(id: number) => MovementApi.getSingle(id)
);
if (!movementId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (!isLoadingMovement && (!movement || isResponseError(movement))) {
router.replace('/404');
return;
}
return (
<div className='w-full p-4 flex flex-row justify-center'>
{isLoadingMovement && (
<span className='loading loading-spinner loading-xl' />
)}
{!isLoadingMovement && isResponseSuccess(movement) && (
<MovementForm type='edit' initialValues={movement.data} />
)}
</div>
);
};
export default MovementEdit;
@@ -0,0 +1,11 @@
import SuspenseHelper from '@/components/helper/SuspenseHelper';
const Layout = ({
children,
}: Readonly<{
children: React.ReactNode;
}>) => {
return <SuspenseHelper>{children}</SuspenseHelper>;
};
export default Layout;
@@ -0,0 +1,48 @@
'use client';
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
import MovementForm from '@/components/pages/inventory/movement/form/MovementForm';
import { MovementApi } from '@/services/api/inventory';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
const MovementDetail = () => {
const router = useRouter();
const searchParams = useSearchParams();
const movementId = searchParams.get('movementId');
const { data: movement, isLoading: isLoadingMovement } = useSWR(
movementId,
(id: number) => MovementApi.getSingle(id)
);
if (!movementId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (!isLoadingMovement && (!movement || isResponseError(movement))) {
router.replace('/404');
return;
}
return (
<div className='w-full p-4 flex flex-row justify-center'>
{isLoadingMovement && (
<span className='loading loading-spinner loading-xl' />
)}
{!isLoadingMovement && isResponseSuccess(movement) && (
<MovementForm type='detail' initialValues={movement.data} />
)}
</div>
);
};
export default MovementDetail;
+11
View File
@@ -0,0 +1,11 @@
import MovementTable from '@/components/pages/inventory/movement/MovementTable';
const Movement = () => {
return (
<section className='w-full p-4 sm:p-0'>
<MovementTable />
</section>
);
};
export default Movement;
@@ -0,0 +1,11 @@
import SuspenseHelper from '@/components/helper/SuspenseHelper';
const Layout = ({
children,
}: Readonly<{
children: React.ReactNode;
}>) => {
return <SuspenseHelper>{children}</SuspenseHelper>;
};
export default Layout;
+50
View File
@@ -0,0 +1,50 @@
'use client';
import InventoryProductDetail from '@/components/pages/inventory/product/detail/InventoryProductDetail';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
import { InventoryProductApi } from '@/services/api/inventory';
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
const InventoryProductDetailPage = () => {
const router = useRouter();
const searchParams = useSearchParams();
const inventoryProductId = searchParams.get('inventoryProductId');
const { data: inventoryProduct, isLoading: isLoadingInventoryProduct } =
useSWR(inventoryProductId, (id: number) =>
InventoryProductApi.getSingle(id)
);
if (!inventoryProductId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (
!isLoadingInventoryProduct &&
(!inventoryProduct || isResponseError(inventoryProduct))
) {
router.replace('/404');
return;
}
return (
<div className='size-full'>
{isLoadingInventoryProduct && (
<span className='loading loading-spinner loading-xl' />
)}
{!isLoadingInventoryProduct && isResponseSuccess(inventoryProduct) && (
<InventoryProductDetail inventoryProduct={inventoryProduct.data} />
)}
</div>
);
};
export default InventoryProductDetailPage;
+11
View File
@@ -0,0 +1,11 @@
import InventoryProductTable from '@/components/pages/inventory/product/InventoryProductTable';
const InventoryProductPage = () => {
return (
<div className='size-full'>
<InventoryProductTable />
</div>
);
};
export default InventoryProductPage;
+13 -3
View File
@@ -1,8 +1,9 @@
import type { Metadata, Viewport } from 'next';
import { Inter } from 'next/font/google';
import { Inter, Roboto } from 'next/font/google';
import '@/app/globals.css';
import { Toaster } from 'react-hot-toast';
import { Toaster as SonnerToaster } from '@/figma-make/components/base/sonner';
import MainDrawer from '@/components/MainDrawer';
import RequireAuth from '@/components/helper/RequireAuth';
@@ -11,6 +12,12 @@ const inter = Inter({
subsets: ['latin'],
});
const roboto = Roboto({
variable: '--font-roboto',
subsets: ['latin'],
weight: ['200', '300', '400', '500', '600', '700', '900'],
});
export const viewport: Viewport = {
themeColor: '#1f74bf',
colorScheme: 'light',
@@ -28,13 +35,16 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html lang='en'>
<body className={`${inter.variable} antialiased font-inter`}>
<html lang='en' data-theme='lti'>
<body
className={`${inter.variable} ${roboto.variable} antialiased font-inter`}
>
<RequireAuth>
<MainDrawer>{children}</MainDrawer>
</RequireAuth>
<Toaster />
<SonnerToaster position='top-right' />
</body>
</html>
);
@@ -0,0 +1,11 @@
import SuspenseHelper from '@/components/helper/SuspenseHelper';
const Layout = ({
children,
}: Readonly<{
children: React.ReactNode;
}>) => {
return <SuspenseHelper>{children}</SuspenseHelper>;
};
export default Layout;
@@ -0,0 +1,54 @@
'use client';
import MarketingForm from '@/components/pages/marketing/form/MarketingForm';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
import { MarketingApi } from '@/services/api/marketing/marketing';
import { useRouter, useSearchParams } from 'next/navigation';
import toast from 'react-hot-toast';
import useSWR from 'swr';
const EditMarketingDelivery = () => {
const router = useRouter();
const searchParams = useSearchParams();
const soId = searchParams.get('marketingId');
const {
data: marketing,
isLoading: isLoading,
mutate: refreshMarketing,
} = useSWR(`get-so-${soId}`, () =>
MarketingApi.getSingle(soId ? parseInt(soId) : 0)
);
if (!soId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (!isLoading && (!marketing || isResponseError(marketing))) {
router.replace('/404');
return;
}
return (
<div className='w-full p-4'>
{isLoading && <span className='loading loading-spinner loading-xl' />}
{!isLoading && isResponseSuccess(marketing) && (
<MarketingForm
formType='add_deliver'
initialValues={marketing.data}
afterSubmit={() => {
refreshMarketing();
}}
/>
)}
</div>
);
};
export default EditMarketingDelivery;
@@ -0,0 +1,11 @@
import MarketingForm from '@/components/pages/marketing/form/MarketingForm';
const AddSalesOrder = () => {
return (
<div className='size-full p-4'>
<MarketingForm formType='add' />
</div>
);
};
export default AddSalesOrder;
@@ -0,0 +1,11 @@
import SuspenseHelper from '@/components/helper/SuspenseHelper';
const Layout = ({
children,
}: Readonly<{
children: React.ReactNode;
}>) => {
return <SuspenseHelper>{children}</SuspenseHelper>;
};
export default Layout;
@@ -0,0 +1,62 @@
'use client';
import MarketingForm from '@/components/pages/marketing/form/MarketingForm';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
import { MarketingApi } from '@/services/api/marketing/marketing';
import { useRouter, useSearchParams } from 'next/navigation';
import toast from 'react-hot-toast';
import useSWR from 'swr';
const EditMarketingDelivery = () => {
const router = useRouter();
const searchParams = useSearchParams();
const soId = searchParams.get('marketingId');
const {
data: marketing,
isLoading: isLoading,
mutate: refreshMarketing,
} = useSWR(`get-so-${soId}`, () =>
MarketingApi.getSingle(soId ? parseInt(soId) : 0)
);
if (!soId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (!isLoading && (!marketing || isResponseError(marketing))) {
router.replace('/404');
return;
}
if (
isResponseSuccess(marketing) &&
marketing.data.latest_approval.step_number != 3
) {
toast.error('Data Marketing perlu dilakukan approval terlebih dahulu!');
router.back();
}
return (
<div className='w-full p-4'>
{isLoading && <span className='loading loading-spinner loading-xl' />}
{!isLoading && isResponseSuccess(marketing) && (
<MarketingForm
formType='edit_deliver'
initialValues={marketing.data}
afterSubmit={() => {
refreshMarketing();
}}
/>
)}
</div>
);
};
export default EditMarketingDelivery;
+11
View File
@@ -0,0 +1,11 @@
import SuspenseHelper from '@/components/helper/SuspenseHelper';
const Layout = ({
children,
}: Readonly<{
children: React.ReactNode;
}>) => {
return <SuspenseHelper>{children}</SuspenseHelper>;
};
export default Layout;
+49
View File
@@ -0,0 +1,49 @@
'use client';
import MarketingDetail from '@/components/pages/marketing/detail/MarketingDetail';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
import { MarketingApi } from '@/services/api/marketing/marketing';
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
const DetailMarketing = () => {
const router = useRouter();
const searchParams = useSearchParams();
const soId = searchParams.get('marketingId');
const {
data: marketing,
isLoading: isLoading,
mutate: refreshMarketing,
} = useSWR(soId, (id: number) => MarketingApi.getSingle(id));
if (!soId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (!isLoading && (!marketing || isResponseError(marketing))) {
router.replace('/404');
return;
}
return (
<div className='w-full p-4'>
{isLoading && <span className='loading loading-spinner loading-xl' />}
{!isLoading && isResponseSuccess(marketing) && (
<MarketingDetail
initialValues={marketing.data}
refresh={refreshMarketing}
/>
)}
</div>
);
};
export default DetailMarketing;
@@ -0,0 +1,11 @@
import SuspenseHelper from '@/components/helper/SuspenseHelper';
const Layout = ({
children,
}: Readonly<{
children: React.ReactNode;
}>) => {
return <SuspenseHelper>{children}</SuspenseHelper>;
};
export default Layout;
@@ -0,0 +1,52 @@
'use client';
import MarketingForm from '@/components/pages/marketing/form/MarketingForm';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
import { MarketingApi } from '@/services/api/marketing/marketing';
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
const EditSalesOrder = () => {
const router = useRouter();
const searchParams = useSearchParams();
const soId = searchParams.get('marketingId');
const {
data: marketing,
isLoading: isLoading,
mutate: refreshMarketing,
} = useSWR(`get-so-${soId}`, () =>
MarketingApi.getSingle(soId ? parseInt(soId) : 0)
);
if (!soId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (!isLoading && (!marketing || isResponseError(marketing))) {
router.replace('/404');
return;
}
return (
<div className='w-full p-4'>
{isLoading && <span className='loading loading-spinner loading-xl' />}
{!isLoading && isResponseSuccess(marketing) && (
<MarketingForm
formType='edit'
initialValues={marketing.data}
afterSubmit={() => {
refreshMarketing();
}}
/>
)}
</div>
);
};
export default EditSalesOrder;
+11
View File
@@ -0,0 +1,11 @@
import MarketingTable from '@/components/pages/marketing/MarketingTable';
const Marketing = () => {
return (
<div className='w-full p-4'>
<MarketingTable />
</div>
);
};
export default Marketing;
+5 -5
View File
@@ -1,11 +1,11 @@
import CustomerForm from "@/components/pages/master-data/customer/form/CustomerForm";
import CustomerForm from '@/components/pages/master-data/customer/form/CustomerForm';
const AddCustomer = () => {
return (
<section className="w-full p-4 flex flex-row justify-center">
<CustomerForm/>
<section className='w-full p-4 flex flex-row justify-center'>
<CustomerForm />
</section>
);
}
};
export default AddCustomer;
export default AddCustomer;
@@ -0,0 +1,11 @@
import SuspenseHelper from '@/components/helper/SuspenseHelper';
const Layout = ({
children,
}: Readonly<{
children: React.ReactNode;
}>) => {
return <SuspenseHelper>{children}</SuspenseHelper>;
};
export default Layout;
+17 -15
View File
@@ -1,45 +1,47 @@
'use client'
'use client';
import { useRouter, useSearchParams } from "next/navigation";
import useSWR from "swr";
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
import { CustomerApi } from '@/services/api/master-data';
import { isResponseError, isResponseSuccess } from "@/lib/api-helper";
import CustomerForm from "@/components/pages/master-data/customer/form/CustomerForm";
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
import CustomerForm from '@/components/pages/master-data/customer/form/CustomerForm';
const CustomerDetail = () => {
const router = useRouter();
const searchParams = useSearchParams();
const costumerId = searchParams.get("customerId");
const costumerId = searchParams.get('customerId');
const { data: costumer, isLoading: isLoadingCostumer } = useSWR(
costumerId,
(id: number) => CustomerApi.getSingle(id)
);
if(!costumerId){
if (!costumerId) {
router.back();
return (
<div className="w-full flex flex-row justify-center items-center p-4">
<span className="loading loading-spinner loading-xl" />
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if(!isLoadingCostumer && (!costumer || isResponseError(costumer))){
router.replace("/404");
if (!isLoadingCostumer && (!costumer || isResponseError(costumer))) {
router.replace('/404');
return;
}
return (
<div className="w-full p-4 flex flex-row justify-center">
{isLoadingCostumer && <span className="loading loading-spinner loading-xl" />}
<div className='w-full p-4 flex flex-row justify-center'>
{isLoadingCostumer && (
<span className='loading loading-spinner loading-xl' />
)}
{!isLoadingCostumer && isResponseSuccess(costumer) && (
<CustomerForm formType="detail" initialValues={costumer.data} />
<CustomerForm formType='detail' initialValues={costumer.data} />
)}
</div>
)
);
};
export default CustomerDetail;
+4 -4
View File
@@ -1,11 +1,11 @@
import CustomersTable from "@/components/pages/master-data/customer/CustomersTable";
import CustomersTable from '@/components/pages/master-data/customer/CustomersTable';
const Customer = () => {
return (
<section className="w-full p-4">
<section className='w-full p-4'>
<CustomersTable />
</section>
)
);
};
export default Customer;
export default Customer;
+11
View File
@@ -0,0 +1,11 @@
import FlockForm from '@/components/pages/master-data/flock/form/FlockForm';
const AddFlock = () => {
return (
<section className='w-full p-4 flex flex-row justify-center'>
<FlockForm />
</section>
);
};
export default AddFlock;
@@ -0,0 +1,49 @@
'use client';
import FlockForm from '@/components/pages/master-data/flock/form/FlockForm';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
import { FlockApi } from '@/services/api/master-data';
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
const FlockEdit = () => {
const router = useRouter();
const searchParams = useSearchParams();
// Get Query Params
const flockId = searchParams.get('flockId');
// Fetch Data
const { data: flock, isLoading: isLoadingFlock } = useSWR(
flockId,
(id: number) => FlockApi.getSingle(id)
);
if (!flockId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (!isLoadingFlock && (!flock || isResponseError(flock))) {
router.replace('/404');
return;
}
return (
<div className='w-full p-4 flex flex-row justify-center'>
{isLoadingFlock && (
<span className='loading loading-spinner loading-xl' />
)}
{!isLoadingFlock && isResponseSuccess(flock) && (
<FlockForm formType='edit' initialValues={flock.data} />
)}
</div>
);
};
export default FlockEdit;
@@ -0,0 +1,11 @@
import SuspenseHelper from '@/components/helper/SuspenseHelper';
const Layout = ({
children,
}: Readonly<{
children: React.ReactNode;
}>) => {
return <SuspenseHelper>{children}</SuspenseHelper>;
};
export default Layout;
+49
View File
@@ -0,0 +1,49 @@
'use client';
import FlockForm from '@/components/pages/master-data/flock/form/FlockForm';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
import { FlockApi } from '@/services/api/master-data';
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
const FlockDetail = () => {
const router = useRouter();
const searchParams = useSearchParams();
// Get Query Params
const flockId = searchParams.get('flockId');
// Fetch Data
const { data: flock, isLoading: isLoadingFlock } = useSWR(
flockId,
(id: number) => FlockApi.getSingle(id)
);
if (!flockId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (!isLoadingFlock && (!flock || isResponseError(flock))) {
router.replace('/404');
return;
}
return (
<div className='w-full p-4 flex flex-row justify-center'>
{isLoadingFlock && (
<span className='loading loading-spinner loading-xl' />
)}
{!isLoadingFlock && isResponseSuccess(flock) && (
<FlockForm formType='detail' initialValues={flock.data} />
)}
</div>
);
};
export default FlockDetail;
+11
View File
@@ -0,0 +1,11 @@
import FlockTable from '@/components/pages/master-data/flock/FlocksTable';
const Flock = () => {
return (
<section className='w-full p-4'>
<FlockTable />
</section>
);
};
export default Flock;
@@ -1,11 +1,11 @@
import ProductCategoryForm from "@/components/pages/master-data/product-category/form/ProductCategoryForm";
import ProductCategoryForm from '@/components/pages/master-data/product-category/form/ProductCategoryForm';
const AddProductCategory = () => {
return (
<div className="w-full p-4 flex flex-row justify-center">
<div className='w-full p-4 flex flex-row justify-center'>
<ProductCategoryForm />
</div>
);
};
export default AddProductCategory;
export default AddProductCategory;
@@ -9,39 +9,44 @@ import { ProductCategoryApi } from '@/services/api/master-data';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
const ProductCategoryEdit = () => {
const router = useRouter();
const searchParams = useSearchParams();
const router = useRouter();
const searchParams = useSearchParams();
const productCategoryId = searchParams.get('productCategoryId');
const productCategoryId = searchParams.get('productCategoryId');
const { data: productCategory, isLoading: isLoadingProductCategory } = useSWR(
productCategoryId,
(id: number) => ProductCategoryApi.getSingle(id)
);
const { data: productCategory, isLoading: isLoadingProductCategory } = useSWR(
productCategoryId,
(id: number) => ProductCategoryApi.getSingle(id)
);
if (!productCategoryId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (!isLoadingProductCategory && (!productCategory || isResponseError(productCategory))) {
router.replace('/404');
return;
}
if (!productCategoryId) {
router.back();
return (
<div className='w-full p-4 flex flex-row justify-center'>
{isLoadingProductCategory && <span className='loading loading-spinner loading-xl' />}
{!isLoadingProductCategory && isResponseSuccess(productCategory) && (
<ProductCategoryForm type='edit' initialValues={productCategory.data} />
)}
</div>
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
}
export default ProductCategoryEdit;
if (
!isLoadingProductCategory &&
(!productCategory || isResponseError(productCategory))
) {
router.replace('/404');
return;
}
return (
<div className='w-full p-4 flex flex-row justify-center'>
{isLoadingProductCategory && (
<span className='loading loading-spinner loading-xl' />
)}
{!isLoadingProductCategory && isResponseSuccess(productCategory) && (
<ProductCategoryForm type='edit' initialValues={productCategory.data} />
)}
</div>
);
};
export default ProductCategoryEdit;
@@ -29,16 +29,24 @@ const ProductCategoryDetail = () => {
);
}
if (!isLoadingProductCategory && (!productCategory || isResponseError(productCategory))) {
if (
!isLoadingProductCategory &&
(!productCategory || isResponseError(productCategory))
) {
router.replace('/404');
return;
}
return (
<div className='w-full p-4 flex flex-row justify-center'>
{isLoadingProductCategory && <span className='loading loading-spinner loading-xl' />}
{isLoadingProductCategory && (
<span className='loading loading-spinner loading-xl' />
)}
{!isLoadingProductCategory && isResponseSuccess(productCategory) && (
<ProductCategoryForm type='detail' initialValues={productCategory.data} />
<ProductCategoryForm
type='detail'
initialValues={productCategory.data}
/>
)}
</div>
);
@@ -1,11 +1,11 @@
import ProductCategoryTable from "@/components/pages/master-data/product-category/ProductCategoryTable";
import ProductCategoryTable from '@/components/pages/master-data/product-category/ProductCategoryTable';
const ProductCategory = () => {
return (
<section className="w-full p-4">
<section className='w-full p-4'>
<ProductCategoryTable />
</section>
);
};
export default ProductCategory;
export default ProductCategory;
+2 -2
View File
@@ -2,10 +2,10 @@ import ProductForm from '@/components/pages/master-data/product/form/ProductForm
const AddProduct = () => {
return (
<div className="w-full p-4 flex flex-row justify-center">
<div className='w-full p-4 flex flex-row justify-center'>
<ProductForm />
</div>
);
};
export default AddProduct;
export default AddProduct;
@@ -13,9 +13,8 @@ const ProductEdit = () => {
const productId = searchParams.get('productId');
const { data: product, isLoading } = useSWR(
productId,
(id: number) => ProductApi.getSingle(id)
const { data: product, isLoading } = useSWR(productId, (id: number) =>
ProductApi.getSingle(id)
);
if (!productId) {
@@ -42,4 +41,4 @@ const ProductEdit = () => {
);
};
export default ProductEdit;
export default ProductEdit;
+3 -4
View File
@@ -13,9 +13,8 @@ const ProductDetail = () => {
const productId = searchParams.get('productId');
const { data: product, isLoading } = useSWR(
productId,
(id: number) => ProductApi.getSingle(id)
const { data: product, isLoading } = useSWR(productId, (id: number) =>
ProductApi.getSingle(id)
);
if (!productId) {
@@ -42,4 +41,4 @@ const ProductDetail = () => {
);
};
export default ProductDetail;
export default ProductDetail;
+4 -4
View File
@@ -1,11 +1,11 @@
import ProductsTable from "@/components/pages/master-data/product/ProductTable";
import ProductsTable from '@/components/pages/master-data/product/ProductTable';
const Product = () => {
return (
<section className="w-full p-4">
<ProductsTable />
<section className='w-full p-4'>
<ProductsTable />
</section>
);
};
export default Product;
export default Product;
@@ -0,0 +1,13 @@
'use client';
import ProductionStandardForm from '@/components/pages/master-data/production-standard/form/ProductionStandardForm';
const AddProductionStandardPage = () => {
return (
<>
<ProductionStandardForm formType='add' />
</>
);
};
export default AddProductionStandardPage;
@@ -0,0 +1,56 @@
'use client';
import ProductionStandardForm from '@/components/pages/master-data/production-standard/form/ProductionStandardForm';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
import { ProductionStandardApi } from '@/services/api/master-data';
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
const EditProductionStandardPage = () => {
const router = useRouter();
const searchParams = useSearchParams();
// Get Query Params
const productionStandardId = searchParams.get('productionStandardId');
// Fetch Data
const { data: productionStandard, isLoading: isLoadingProductionStandard } =
useSWR(productionStandardId, (id: number) =>
ProductionStandardApi.getSingle(id)
);
if (!productionStandardId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (
!isLoadingProductionStandard &&
(!productionStandard || isResponseError(productionStandard))
) {
router.replace('/404');
return;
}
return (
<>
{isLoadingProductionStandard && (
<span className='loading loading-spinner loading-xl' />
)}
{!isLoadingProductionStandard &&
isResponseSuccess(productionStandard) && (
<ProductionStandardForm
formType='edit'
initialValue={productionStandard.data}
/>
)}
</>
);
};
export default EditProductionStandardPage;
@@ -0,0 +1,11 @@
import SuspenseHelper from '@/components/helper/SuspenseHelper';
const Layout = ({
children,
}: Readonly<{
children: React.ReactNode;
}>) => {
return <SuspenseHelper>{children}</SuspenseHelper>;
};
export default Layout;
@@ -0,0 +1,56 @@
'use client';
import ProductionStandardForm from '@/components/pages/master-data/production-standard/form/ProductionStandardForm';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
import { ProductionStandardApi } from '@/services/api/master-data';
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
const DetailProductionStandardPage = () => {
const router = useRouter();
const searchParams = useSearchParams();
// Get Query Params
const productionStandardId = searchParams.get('productionStandardId');
// Fetch Data
const { data: productionStandard, isLoading: isLoadingProductionStandard } =
useSWR(productionStandardId, (id: number) =>
ProductionStandardApi.getSingle(id)
);
if (!productionStandardId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (
!isLoadingProductionStandard &&
(!productionStandard || isResponseError(productionStandard))
) {
router.replace('/404');
return;
}
return (
<>
{isLoadingProductionStandard && (
<span className='loading loading-spinner loading-xl' />
)}
{!isLoadingProductionStandard &&
isResponseSuccess(productionStandard) && (
<ProductionStandardForm
formType='detail'
initialValue={productionStandard.data}
/>
)}
</>
);
};
export default DetailProductionStandardPage;
@@ -0,0 +1,11 @@
import ProductionStandardTable from '@/components/pages/master-data/production-standard/ProductionStandardTable';
const ProductionStandardPage = () => {
return (
<div className='w-full'>
<ProductionStandardTable />
</div>
);
};
export default ProductionStandardPage;
+1 -1
View File
@@ -8,4 +8,4 @@ const AddSupplier = () => {
);
};
export default AddSupplier;
export default AddSupplier;
@@ -0,0 +1,11 @@
import SuspenseHelper from '@/components/helper/SuspenseHelper';
const Layout = ({
children,
}: Readonly<{
children: React.ReactNode;
}>) => {
return <SuspenseHelper>{children}</SuspenseHelper>;
};
export default Layout;
+1 -1
View File
@@ -46,4 +46,4 @@ const SupplierDetail = () => {
);
};
export default SupplierDetail;
export default SupplierDetail;
+1 -1
View File
@@ -1,4 +1,4 @@
import SuppliersTable from "@/components/pages/master-data/supplier/SupplierTable";
import SuppliersTable from '@/components/pages/master-data/supplier/SupplierTable';
const Supplier = () => {
return (
+25 -3
View File
@@ -1,11 +1,33 @@
import { redirect } from 'next/navigation';
'use client';
import { useEffect } from 'react';
import { usePathname, useRouter } from 'next/navigation';
import { useAuth } from '@/services/hooks/useAuth';
import { redirectToSSO } from '@/lib/auth-helper';
export default function Home() {
redirect('/dashboard');
const { user, isLoadingUser } = useAuth();
const router = useRouter();
const pathname = usePathname();
useEffect(() => {
if (pathname === '/') {
router.replace('/dashboard');
}
}, [pathname]);
if (isLoadingUser) {
return (
<main className='w-full h-full min-h-screen flex flex-row justify-center items-center'>
<span className='loading loading-spinner loading-lg'></span>
</main>
);
}
return (
<main className='w-full h-full min-h-screen flex flex-row justify-center items-center'>
<h1>LTI ERP</h1>
<span className='loading loading-spinner loading-lg'></span>
</main>
);
}
@@ -0,0 +1,21 @@
'use client';
import ProjectFlockForm from '@/components/pages/production/project-flock/form/ProjectFlockForm';
import React, { useImperativeHandle } from 'react';
import toast from 'react-hot-toast';
const AddProjectFlock = () => {
// useImperativeHandle(ref, () => ({
// validate() {
// toast.success('Validating');
// return false;
// },
// }));
return (
<section className='w-full flex flex-row justify-center'>
<ProjectFlockForm formType='add' />
</section>
);
};
export default AddProjectFlock;
@@ -0,0 +1,11 @@
import SuspenseHelper from '@/components/helper/SuspenseHelper';
const Layout = ({
children,
}: Readonly<{
children: React.ReactNode;
}>) => {
return <SuspenseHelper>{children}</SuspenseHelper>;
};
export default Layout;
@@ -0,0 +1,60 @@
'use client';
import ChickinForm from '@/components/pages/production/chickin/form/ChickinForm';
import { isResponseSuccess } from '@/lib/api-helper';
import { ProjectFlockKandangApi } from '@/services/api/production';
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
export default function AddChickinKandang() {
const searchParams = useSearchParams();
const projectFlockKandangId = searchParams.get('projectFlockKandangId');
const projectFlockId = searchParams.get('projectFlockId');
const router = useRouter();
const {
data: projectFlockKandang,
isLoading: isLoading,
mutate: refreshProjectFlockKandang,
} = useSWR(
`get-single-project-flock-kandang/${projectFlockKandangId}`,
async () =>
ProjectFlockKandangApi.getSingle(
parseInt(projectFlockKandangId as string)
)
);
if (!projectFlockKandangId) {
router.push(`/production/chickin/add?projectFlockId=${projectFlockId}`);
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (!isLoading && !projectFlockKandang) {
router.replace('/404');
return;
}
const handleAfterSubmit = () => {
refreshProjectFlockKandang();
};
return (
<>
<section className='size-full'>
{isLoading && <span className='loading loading-spinner loading-xl' />}
{!isLoading &&
isResponseSuccess(projectFlockKandang) &&
projectFlockId && (
<ChickinForm
initialValues={projectFlockKandang.data}
afterSubmit={handleAfterSubmit}
/>
)}
</section>
</>
);
}
@@ -0,0 +1,11 @@
import SuspenseHelper from '@/components/helper/SuspenseHelper';
const Layout = ({
children,
}: Readonly<{
children: React.ReactNode;
}>) => {
return <SuspenseHelper>{children}</SuspenseHelper>;
};
export default Layout;
@@ -0,0 +1,63 @@
'use client';
import ProjectFlockClosingForm from '@/components/pages/production/project-flock/closing/ProjectFlockClosingForm';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
import { ProjectFlockKandangApi } from '@/services/api/production';
import { ProjectFlockApi } from '@/services/api/production/project-flock';
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
const ProjectFlockClosingPage = () => {
const router = useRouter();
const searchParams = useSearchParams();
const projectFlockId = searchParams.get('projectFlockId');
const projectFlockKandangId = searchParams.get('projectFlockKandangId');
const { data: projectFlockKandang, isLoading: isLoadingProjectFlockKandang } =
useSWR(`get-flock-kandang-id/${projectFlockKandangId}`, () =>
ProjectFlockKandangApi.getSingle(parseInt(projectFlockKandangId ?? ''))
);
const { data: projectFlock, isLoading: isLoadingProjectFlock } = useSWR(
`get-flock-id/${projectFlockId}`,
() => ProjectFlockApi.getSingle(parseInt(projectFlockId ?? ''))
);
if (!projectFlockId || !projectFlockKandangId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (
!isLoadingProjectFlock &&
(!projectFlock || isResponseError(projectFlock)) &&
!isLoadingProjectFlockKandang &&
(!projectFlockKandang || isResponseError(projectFlockKandang))
) {
router.replace('/404');
return;
}
return (
<div className='w-full h-full flex flex-col justify-center'>
{isLoadingProjectFlock ||
(isLoadingProjectFlockKandang && (
<span className='loading loading-spinner loading-xl' />
))}
{isResponseSuccess(projectFlock) &&
isResponseSuccess(projectFlockKandang) && (
<ProjectFlockClosingForm
projectFlock={projectFlock.data}
projectFlockKandang={projectFlockKandang.data}
/>
)}
</div>
);
};
export default ProjectFlockClosingPage;
@@ -0,0 +1,51 @@
'use client';
import ProjectFlockForm from '@/components/pages/production/project-flock/form/ProjectFlockForm';
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
import { ProjectFlockApi } from '@/services/api/production/project-flock';
import { useRouter, useSearchParams } from 'next/navigation';
import useSWR from 'swr';
const ProjectFlockEdit = () => {
const router = useRouter();
const searchParams = useSearchParams();
const projectFlockId = searchParams.get('projectFlockId');
const {
data: projectFlock,
isLoading: isLoadingProjectFlock,
mutate: refreshProjectFlocks,
} = useSWR(projectFlockId, (id: number) => ProjectFlockApi.getSingle(id));
if (!projectFlockId) {
router.back();
return (
<div className='w-full flex flex-row justify-center items-center p-4'>
<span className='loading loading-spinner loading-xl' />
</div>
);
}
if (
!isLoadingProjectFlock &&
(!projectFlock || isResponseError(projectFlock))
) {
router.replace('/404');
return;
}
return (
<div className='w-full flex flex-col justify-center'>
{isLoadingProjectFlock && (
<span className='loading loading-spinner loading-xl' />
)}
{!isLoadingProjectFlock && isResponseSuccess(projectFlock) && (
<ProjectFlockForm formType='edit' initialValues={projectFlock.data} />
)}
</div>
);
};
export default ProjectFlockEdit;
@@ -0,0 +1,11 @@
import SuspenseHelper from '@/components/helper/SuspenseHelper';
const Layout = ({
children,
}: Readonly<{
children: React.ReactNode;
}>) => {
return <SuspenseHelper>{children}</SuspenseHelper>;
};
export default Layout;

Some files were not shown because too many files have changed in this diff Show More