Commit Graph

248 Commits

Author SHA1 Message Date
Yoga Pangestu
dc97b9bc61 feat: enforce minimum value for nego_price and update total calculation logic 2026-08-28 10:56:11 +07:00
Yoga Pangestu
579a25cdff fix: simplify submit button disabled condition in TransactionCreate component 2026-08-25 09:58:18 +07:00
Yoga Pangestu
6e7a4044b6 feat: add total products sold to revenue summary and update dashboard display for marketing roles 2026-08-23 20:12:20 +07:00
Yoga Pangestu
a75fae2233 feat: add normalizePrices function to standardize price data and update shared prices initialization 2026-08-22 16:10:03 +07:00
Yoga Pangestu
1f61ff895a feat: enhance rendering of attribute changes for improved display of array and object values 2026-08-22 16:09:58 +07:00
Yoga Pangestu
72ac9fe2fb fix: update route reference for form histories in FormHistoryIndex component 2026-08-22 15:52:26 +07:00
Yoga Pangestu
2a0b99c599 feat: implement invoice management features including index, create, update, delete, and print functionalities
- Added InvoiceIndex component for displaying a list of invoices with pagination and search capabilities.
- Created InvoiceShareButton component for sharing invoice details via WhatsApp.
- Developed InvoicePrint component for printing invoice details.
- Defined routes for invoice management including share and print functionalities.
- Implemented InvoiceTest to cover authentication, authorization, and CRUD operations for invoices.
2026-08-22 15:13:28 +07:00
Yoga Pangestu
6539d7dd2d feat: add variant preview functionality with modal for image display in cutting and purchase management 2026-08-20 21:51:38 +07:00
Yoga Pangestu
cc112ef253 feat: refactor combo selection to use structured item objects for improved clarity and functionality 2026-08-20 20:40:29 +07:00
Yoga Pangestu
f128ace2ea feat: update purchase management to support decimal quantities and improve data handling 2026-08-20 11:12:38 +07:00
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