Commit Graph

236 Commits

Author SHA1 Message Date
Yoga Pangestu
b85bbb1ba4 feat: enhance purchase and restock management with variant support
- Added existing_material_ids to PurchaseForEdit and RestockForEdit types.
- Introduced RawMaterialVariant and ProductVariantForRestock types for better variant handling.
- Updated PurchaseCreate and PurchaseEdit components to fetch and display raw material variants.
- Enhanced RestockCreate and RestockEdit components to manage product variants dynamically.
- Modified TransactionCreate and TransactionEdit components to support product variants.
- Added routes for fetching active products and raw materials.
2026-08-20 10:48:24 +07:00
Yoga Pangestu
9fead3dfa9 feat: update cash overview to use cash account balance and add description for clarity 2026-08-19 20:19:09 +07:00
Yoga Pangestu
cd944403bd feat: add materials count and enhance purchase item display in purchase management 2026-08-19 18:46:21 +07:00
Yoga Pangestu
631330d3b4 feat: refactor PurchaseEdit component to streamline material selection and quantity handling 2026-08-19 18:34:52 +07:00
Yoga Pangestu
ad4c6d47df feat: add variant search functionality to transaction creation page 2026-08-18 14:38:21 +07:00
Yoga Pangestu
e4b49c7ff8 feat: update card titles in analysis component for clarity and consistency 2026-08-18 14:26:13 +07:00
Yoga Pangestu
4d94fbe7c6 feat: enhance form history logging by restructuring attribute changes and improving data handling in LogsFormHistory and related components 2026-08-17 23:27:24 +07:00
Yoga Pangestu
42f7214efa feat: add monthly retail revenue calculation and display in analysis component 2026-08-17 22:50:20 +07:00
Yoga Pangestu
a301e96f33 feat: display percentage of net revenue in analysis component when total revenue is greater than zero 2026-08-17 22:42:32 +07:00
Yoga Pangestu
f32544ccce feat: add new transaction type and update cash transaction handling in TransactionService 2026-08-17 22:42:11 +07:00
Yoga Pangestu
1f47ec1939 feat: update layout for cutting create and edit components to improve responsiveness and overflow handling 2026-08-17 22:26:52 +07:00
Yoga Pangestu
99cd75120f feat: update layout for purchase and transaction components to improve readability of price display 2026-08-16 20:56:14 +07:00
Yoga Pangestu
919e8228d2 feat: implement form history logging for CRUD operations and add activity log management interface 2026-08-16 20:41:48 +07:00
Yoga Pangestu
581761398f feat: enhance product title display by including product name alongside variant name in transaction and stok opname components 2026-08-16 20:20:01 +07:00
Yoga Pangestu
aaa85a45ed feat: remove unused myAttendance data and related UI components from analysis page 2026-08-16 20:04:24 +07:00
Yoga Pangestu
097b7f7192 feat: add cashier role checks to filter data in analysis and dashboard services 2026-08-16 20:00:17 +07:00
Yoga Pangestu
05707aad7d feat: add stok opname management functionality
- Implemented StokOpnameEdit component for editing stock opname entries.
- Created StokOpnameIndex component for listing and managing stock opnames.
- Added StokOpnameCardRow and StokOpnameItemSubRow components for displaying stock opname details.
- Introduced routes for stok opname CRUD operations and actions (submit, verify, reject, cancel).
- Integrated UI components for better user interaction and data presentation.
2026-08-16 19:38:36 +07:00
Yoga Pangestu
28f88bb69c feat: add revenue by stock type calculation and update analysis components 2026-08-16 18:06:05 +07:00
Yoga Pangestu
731c8aa6da feat: enhance transaction management by adding cashier role checks and updating price type logic 2026-08-16 16:20:51 +07:00
Yoga Pangestu
85ba5631b3 feat: simplify permission checks by removing redundant role conditions in useCan hook 2026-08-16 15:41:13 +07:00
Yoga Pangestu
953a395f24 feat: enhance variant deletion handling to update loaded variants on success 2026-08-16 15:32:25 +07:00
Yoga Pangestu
b0cb117e60 feat: update button visibility logic to check variant length in ProductCreate and ProductEdit components 2026-08-16 15:20:38 +07:00
Yoga Pangestu
0998c81803 feat: split 'reject' price type into 'reject_capital' and 'reject_selling', update related components and database migration 2026-08-16 14:27:19 +07:00
Yoga Pangestu
0947cf3737 feat: add salary type to cash transaction enum and update related components 2026-08-16 14:26:55 +07:00
Yoga Pangestu
c415493ee1 feat: implement push notification subscription handling and improve service worker configuration 2026-08-16 13:42:37 +07:00
Yoga Pangestu
cc3cd03e41 feat: enhance raw material management by adding validation for updates and deletions, and improve error handling in the UI 2026-08-15 22:40:36 +07:00
Yoga Pangestu
6fa9224983 feat: fix raw material photo display in Cutting and Purchase pages by adding conversion URLs 2026-08-15 20:30:04 +07:00
Yoga Pangestu
ef136bd1e7 feat: add total price calculations for raw materials and products in analysis components 2026-08-15 20:16:49 +07:00
Yoga Pangestu
25a316ccf0 feat: add negotiation price to marketing sales calculations and update header label for discounts 2026-08-15 20:03:08 +07:00
Yoga Pangestu
dd3a2aa1eb feat: update material usage and stock fields to use decimal type for improved precision 2026-08-15 20:03:00 +07:00
Yoga Pangestu
cff231097a feat: simplify WhatsApp share text generation by removing unnecessary variables and logic 2026-08-15 19:45:53 +07:00
Yoga Pangestu
a07cb4bb45 feat: add confirmation dialogs for cancelling and refunding transactions in TransactionCardRow 2026-08-15 16:26:42 +07:00
Yoga Pangestu
a10519ab9d feat: enhance Restock feature by adding photo URLs to Restock model and displaying images in RestockCard 2026-08-15 16:26:12 +07:00
Yoga Pangestu
bac9f79087 feat: enhance AttendanceIndex component by adding 'Belum Pulang' badge and improving check-out display logic 2026-08-15 16:15:40 +07:00
Yoga Pangestu
17273c9479 feat: enhance Employee data structure by adding resign_date and improving salary display in employee columns 2026-08-15 16:12:06 +07:00
Yoga Pangestu
de18ac5ce8 feat: refactor AttendanceIndex component to improve code organization and enhance badge styling for check-out status 2026-08-15 15:48:59 +07:00
Yoga Pangestu
00ff74bab6 feat: enhance mobile experience by closing sidebar on link click 2026-08-15 15:28:24 +07:00
Yoga Pangestu
7371a9e517 feat: update notification retrieval to use pagination and enhance loading experience 2026-08-15 15:23:44 +07:00
Yoga Pangestu
4758b19d2a feat: add byMonth method to AttendanceController and corresponding service logic 2026-08-15 13:46:30 +07:00
Yoga Pangestu
86cc8637bd feat: remove summary calculation and related component from Transaction management 2026-08-15 13:19:37 +07:00
Yoga Pangestu
bdfb75f2f7 feat: reorganize imports and update SidebarTrigger icon 2026-08-15 13:17:32 +07:00
Yoga Pangestu
e8c46ec18b feat: add interactivity to DashboardPieChart and ChartLegendContent components 2026-08-15 13:14:25 +07:00
Yoga Pangestu
fd6793af50 feat: enhance FilterPopover component with scrollable content 2026-08-15 13:02:42 +07:00
Yoga Pangestu
10f277a268 feat: add loading state management in DeleteConfirmDialog component 2026-08-15 12:59:52 +07:00
Yoga Pangestu
ae376342af feat: add delete all notifications feature in NotificationController and update NotificationBell component 2026-08-15 11:09:23 +07:00
Yoga Pangestu
22c9a4cf2a feat: add notification highlight feature to various services and frontend components
- Updated paginated methods in multiple services to accept a highlight parameter for filtering results.
- Modified notification URLs to include the highlight parameter for specific entity IDs.
- Enhanced frontend components to display a message when filtered by notification, with an option to show all entries.
- Implemented mark as read functionality in the notification bell component upon clicking a notification.
- Updated multiple index pages to handle the highlight prop and display relevant messages.
2026-08-15 00:11:40 +07:00
Yoga Pangestu
aff7ddbcf2 feat: update button styles for file removal actions in FileUpload and FileUploadMultiple components 2026-08-14 23:16:53 +07:00
Yoga Pangestu
670719c0d8 feat: comment out Role & Permission and Log Aktivitas items in sistemItems for future reference 2026-08-14 23:06:15 +07:00
Yoga Pangestu
8c26f942bf feat: update photo handling to support multiple images in PurchaseRequest and related components 2026-08-14 22:59:21 +07:00
Yoga Pangestu
018c3adf12 feat: update photo handling to support multiple images in CuttingRequest and related components 2026-08-14 22:34:13 +07:00