Commit Graph

156 Commits

Author SHA1 Message Date
f8752a94de Merge branch 'main' into feature-farm-setup 2025-04-01 17:42:49 +07:00
0776291bc8
Merge pull request #23 from ForFarmTeam/feature-inventory
Add inventory CRUD and migrations
2025-04-01 17:38:34 +07:00
d6dc91270e Merge branch 'feature-farm-setup' of https://github.com/ForFarmTeam/ForFarm into feature-farm-setup 2025-04-01 17:14:43 +07:00
Pattadon
e7bdb5d6a1 feat: add fetchInventoryStatus API and integrate into inventory page 2025-04-01 16:07:09 +07:00
Natthapol SERMSARAN
a00111aa07 feat: update main api and add harvestRepo 2025-04-01 15:18:29 +07:00
Natthapol SERMSARAN
022a6e4caa feat: update inventory API for status, category and harvest relations 2025-04-01 15:17:39 +07:00
Natthapol SERMSARAN
b79f3f69f3 feat: implement inventory repository with status and category relations 2025-04-01 15:16:51 +07:00
Natthapol SERMSARAN
6dac03a489 feat: implement harvest units repository 2025-04-01 15:16:18 +07:00
Natthapol SERMSARAN
10bb1a9475 feat: add inventory status, category and units models 2025-04-01 15:15:51 +07:00
Pattadon
338733b12b fix: remove unnecessary 'Type' column from inventory table 2025-04-01 14:25:48 +07:00
Pattadon
a254185375 feat: add inventory_category table and update inventory_items structure with category and unit references 2025-04-01 14:11:52 +07:00
Pattadon
b4793aba38 fix: streamline inventory item filtering by converting id to string 2025-04-01 13:31:04 +07:00
Pattadon
9b81a8af3b fix: update inventory item status to "Out Of Stock" and adjust status class handling 2025-04-01 11:19:25 +07:00
Pattadon
7d8fd6e10f feat: create inventory_status table and modify inventory_items to use status_id 2025-04-01 11:06:50 +07:00
Pattadon
4e42794aad feat: enhance EditInventoryItem component with props and status selection 2025-04-01 10:47:22 +07:00
Natthapol SERMSARAN
0a1320805c feat: add user to inventory and update api 2025-04-01 03:52:01 +07:00
Natthapol SERMSARAN
54c8fd433c feat: add user to inventory domain 2025-04-01 03:51:42 +07:00
Natthapol SERMSARAN
5a373b5f2b feat: add user to inventory repository 2025-04-01 03:51:31 +07:00
Natthapol SERMSARAN
b39ddfba6f feat: add user to inventory_items table in migration file 2025-04-01 03:51:06 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
06b318bfc5 Merge branch 'feature-inventory' into feature-farm-setup 2025-03-31 22:16:49 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
fd00ec02de refactor: format axios post request for better readability in createInventoryItem function 2025-03-31 22:16:14 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
486c16ab15 feat: style delete button and remove unused search handler in inventory page 2025-03-31 22:12:18 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
0df2d8241e feat: enhance status display in inventory table with conditional styling 2025-03-31 21:58:12 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
e004c62941 feat: add sorting icons to inventory table headers and disable sorting for edit/delete columns 2025-03-31 21:53:09 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
83bffe9747 feat: add search functionality to inventory page 2025-03-31 21:37:38 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
2b694a1b44 change to use the tannstack table 2025-03-31 21:07:23 +07:00
89364fae0c feat: modify google map state management + add farm creation 2025-03-31 11:24:29 +07:00
a5bdac4f2d feat: include crops in farm fetch 2025-03-31 11:04:13 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
7b69c68056 Merge branch 'feature-farm-setup' into feature-inventory 2025-03-30 17:32:59 +07:00
Natthapol SERMSARAN
41e5b1fb81 feat: create inventory_items table migration 2025-03-29 19:17:46 +07:00
Natthapol SERMSARAN
860181d983 feat: add inventory routes and handlers to api.go 2025-03-29 19:16:51 +07:00
Natthapol SERMSARAN
64098b5d10 feat: add inventory api 2025-03-29 19:13:15 +07:00
Natthapol SERMSARAN
4ed46f9ba5 feat: add inventory repository for query logic 2025-03-29 19:12:46 +07:00
Natthapol SERMSARAN
044a2856cf feat: add inventory domain 2025-03-29 19:11:22 +07:00
6885eb4bfb feat: add farm setup and fetch 2025-03-28 01:20:41 +07:00
21559f3b55 feat: add analytic event aggregator 2025-03-27 23:45:39 +07:00
a5108e9990 Merge branch 'feature-farm-setup' of https://github.com/ForFarmTeam/ForFarm into feature-farm-setup 2025-03-27 23:44:34 +07:00
Natthapol SERMSARAN
e0dc49499b ui: add delete and edit button ui to inventoty page 2025-03-21 23:00:32 +07:00
Natthapol SERMSARAN
f2b2f0fcbe ui: add edit inventoty item ui 2025-03-21 22:59:24 +07:00
Natthapol SERMSARAN
7a56e69953 ui: add delete inventoty item ui 2025-03-21 22:58:31 +07:00
26cb8e2abf fix: check ownership from authorization header 2025-03-20 16:00:17 +07:00
eb2262271f chore: add rollback script 2025-03-20 15:52:51 +07:00
Pattadon
d9d670093a feat: integrate Sonner for toast notifications in setup page and layout 2025-03-14 12:50:44 +07:00
Pattadon
22449089fa feat: add margin to section headers in setup page for improved layout 2025-03-14 11:32:24 +07:00
Pattadon
976800047e feat: enhance button styling for save actions in harvest and planting detail forms 2025-03-14 11:27:24 +07:00
Pattadon
aa3490efad feat: replace button elements with UI component for navigation and form submission 2025-03-14 11:21:30 +07:00
Pattadon
e7c8b64e24 feat: streamline setup page with step navigation and enhance map area selection 2025-03-14 10:26:37 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
3a27d48f21 feat: enhance map data handling and improve shape detection logging in Google Map component 2025-03-13 20:43:35 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
420dc0e3a5 Merge branch 'main' into feature-farm-setup 2025-03-13 20:24:47 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
4ffb6567ba feat: update harvest and planting detail forms to handle data changes and improve type safety 2025-03-13 20:23:45 +07:00