Commit Graph
132 Commits
Author SHA1 Message Date
shancheas e316afa51d refactor: clean up code formatting and improve readability
- Standardized table formatting in `api.md` for privilege keys, enhancing clarity.
- Removed unnecessary line breaks and improved inline formatting in various components, including `right-section.tsx`, `company-settings.remote.service.ts`, and `timeline-helpers.tsx`, to streamline code readability.
- Updated test cases in `privilege-key-hierarchy.test.ts` and `filter-menu-by-view-privilege.test.ts` for better alignment and consistency in assertions.

These changes improve the overall code quality and maintainability, making it easier for developers to navigate and understand the codebase.
2026-09-02 08:14:37 +07:00
shancheas 87bfe50f0e feat: add sales timeline module and company settings configuration
- Introduced a new sales timeline module with routes and lazy loading for efficient loading.
- Updated privilege keys in `api.md` to include `ADMIN.SALES.ACTIVITIES.TIMELINE` for access control.
- Enhanced menu data to include the timeline option, improving navigation.
- Added company settings module with configuration options for cycle start date and check-in radius.
- Implemented remote services and data handling for company settings, ensuring accurate data management.
- Enhanced language support for both English and Indonesian in navigation and company settings.

These changes significantly improve the application's functionality by adding a timeline feature for sales activities and a comprehensive settings module for company configurations, enhancing user experience and data management.
2026-09-01 20:36:57 +07:00
shancheas 991bf3fe65 feat: implement report engine with sales and logistics modules
- Added a new report engine UI, including configuration-driven report screens for sales and logistics.
- Created `ReportProvider`, `ReportTable`, and related components for rendering reports with server-side data fetching.
- Introduced `logisticsReportsModuleConfig` and `salesReportsModuleConfig` for managing report configurations and API interactions.
- Updated navigation to include sales and logistics reports with proper labels and paths.
- Enhanced language support for report titles in English and Indonesian.
- Implemented bookmark and filter functionalities for reports, improving user interaction and data management.

These changes establish a robust reporting framework, enhancing the application's data visualization capabilities and user experience.
2026-09-01 08:46:08 +07:00
shancheas 6808a681b7 feat: enhance sales module with decimal formatting and input improvements
- Updated various components to utilize `FieldCurrencyInput` for quantity inputs, improving user experience in financial data entry.
- Introduced `formatDecimal` utility for consistent decimal formatting across the application, ensuring accurate display of numeric values.
- Refactored quantity handling in forms and tables to support decimal values, enhancing data integrity and usability.
- Added unit tests for new decimal formatting functionality to ensure reliability and correctness.

These changes improve the sales module's handling of numeric inputs and displays, providing a more user-friendly experience for managing financial data.
2026-08-31 16:27:55 +07:00
shancheas 71046973ae feat: add currency input field and enhance currency formatting utilities
- Introduced `FieldCurrencyInput` component for handling currency input in forms, supporting formatted display while maintaining numeric values.
- Implemented `RenderCurrency` component for displaying currency values with proper formatting.
- Enhanced `CurrencyUtils` to include parsing and formatting functions for Rupiah, ensuring accurate representation in UI.
- Updated various components and forms to utilize the new currency input and rendering capabilities, improving user experience in financial data entry.
- Added unit tests for currency input and formatting functionalities to ensure reliability and correctness.

These changes enhance the application's handling of currency inputs and displays, providing a more user-friendly experience for financial transactions.
2026-08-31 15:36:53 +07:00
shancheas 32b2edaa49 feat: enhance EnterpriseDataTable with server-side pagination utilities and refresh logic
- Introduced new utility functions for handling server-side pagination, including `resolveServerSideInitialRowCount` and `shouldRestorePaginationPage`.
- Updated `EnterpriseDataTable` to utilize these utilities for improved pagination behavior, ensuring proper row count handling and page restoration.
- Added a new test file for the pagination utilities to validate their functionality and ensure reliability.
- Modified navigation logic to reset pagination state after creating or duplicating entries, enhancing user experience.

These changes improve the data table's handling of server-side pagination, ensuring a smoother experience when navigating through data entries.
2026-08-31 14:38:13 +07:00
shancheas 15efa358f9 feat: implement sales invoices module with comprehensive functionality
- Introduced a new Sales Invoices module, including routes for creating, editing, and viewing sales invoices.
- Added components for invoice forms, detail views, and index pages, enhancing user experience and data management.
- Integrated language support for English and Indonesian in the sales invoices module.
- Developed remote data services and transformers for handling sales invoice data, ensuring robust data operations.
- Implemented unit tests to validate functionality and reliability across the new module.

These changes enhance the application by providing a structured approach to sales invoice management, improving user experience and data handling.
2026-08-27 17:43:34 +07:00
shancheas 6b012a6aae refactor: improve code formatting and organization across multiple components
- Enhanced readability by restructuring code formatting in various components, including API documentation, user management, and sales modules.
- Standardized table and object definitions for better clarity in API documentation.
- Improved layout and indentation in React components for better maintainability.
- Updated unit tests to reflect changes in formatting and ensure consistency.

These changes enhance the overall code quality and maintainability of the project, making it easier for developers to navigate and understand the codebase.
2026-08-27 13:09:57 +07:00
shancheas 105cf3030a feat: implement privilege permissions table and enhance user detail views
- Added a new PrivilegePermissionsTable component to display permissions associated with user privileges in a structured format.
- Refactored DetailPermissions and UserPageDetail components to utilize the new PrivilegePermissionsTable for better organization of privilege information.
- Introduced employeeId support in user management, allowing for enhanced user detail views and improved data handling.
- Updated validation schemas and unit tests to accommodate new employee and privilege relationships.

These changes improve the user management experience by providing clearer visibility into user privileges and associated employee details.
2026-08-27 12:22:27 +07:00
shancheas 9e710a92b2 feat: introduce index layout skill for FULL_PAGE index/list tables
- Added a new skill for managing index and list table layouts in the ERP project, detailing layout and data contracts.
- Updated project guidelines to reference the new index layout skill.
- Introduced rules for page composition, column definitions, audit fields, action column width, and toolbar functionality.
- Created utility functions for computing action column width and formatting audit fields, along with corresponding unit tests to ensure reliability.

These changes enhance the application by providing a structured approach to index layouts, improving consistency and usability across the ERP project.
2026-08-27 11:06:00 +07:00
shancheas ee6c3273d9 feat: enhance weekdays management with tabbed interface and improved layout
- Refactored `DetailWeekdays` and `FormWeekdays` components to utilize a tabbed interface for better organization of weekday-related information.
- Introduced `FieldValue` components for displaying start and end branches, and customer details within each tab.
- Added a new CSS file for managing z-index stacking context to ensure Leaflet maps render correctly beneath modals.
- Updated `LocationMap` and `RouteMap` components to include the new CSS for proper layering.
- Enhanced unit tests for `LocationMap` to verify the correct stacking context.

These changes improve the user experience by providing a more structured and visually appealing way to manage weekdays and their associated data.
2026-08-26 12:09:12 +07:00
shancheas 27dfc167d2 feat: implement location management with interactive maps
- Introduced a new `LocationMap` component for handling latitude and longitude inputs in forms and detail views.
- Updated form and detail components to utilize the `LocationMap`, enhancing user experience by allowing map-based location selection.
- Added internationalization support for map-related labels in English and Indonesian.
- Developed unit tests for the `LocationMap` to ensure functionality and reliability.

This commit enhances the application by providing a user-friendly interface for managing geographical locations, improving data accuracy and user interaction.
2026-08-26 07:56:04 +07:00
shancheas 5287da918c feat: introduce employees and logistics management modules
- Added new modules for managing employees and logistics, including routes for creating, editing, and viewing employee details and logistics cycles.
- Implemented UI components for employee forms and detail views, with validation schemas for employee data.
- Integrated language support for English and Indonesian in the new modules.
- Developed unit tests for employee remote data services and transformers to ensure functionality and reliability.

This commit enhances the application by providing structured management for employees and logistics, improving user experience and data handling.
2026-08-26 07:34:03 +07:00
shancheas 73d84f3874 feat: add configuration module for managing branches, divisions, and customers
- Introduced a new Configuration module with routes for managing branches, divisions, and customers.
- Implemented UI components for creating, editing, and viewing branch details, including general information, location, and working schedule.
- Added validation schemas for branch data and integrated language support for English and Indonesian.
- Developed comprehensive unit tests for the branches remote data service and transformer to ensure functionality and reliability.

This commit enhances the application by providing a structured approach to configuration management, improving user experience and data handling.
2026-08-25 22:56:07 +07:00
shancheas a5a42cf87e feat: add privileges management module with CRUD functionality
- Introduced a new Privileges module, including routes for creating, editing, and viewing privileges.
- Implemented a detailed permissions matrix for managing actions (view, create, update, delete, import) associated with each privilege.
- Added validation schema for privilege creation and editing.
- Developed UI components for displaying and managing privilege details and permissions.
- Integrated language support for English and Indonesian in the privileges module.
- Created unit tests for the privileges remote data service and transformer to ensure functionality.

This commit enhances the application by providing a comprehensive privileges management system, improving user role management and permissions handling.
2026-08-25 19:06:50 +07:00
shancheas 67ae5b6c11 refactor: improve code formatting and consistency across multiple files
- Standardized import statements and removed unnecessary line breaks for better readability in various components.
- Enhanced error handling and logging in the useElectronPrinter hook.
- Updated sample data formatting in AgGridShowcase for improved clarity.
- Refactored JSX elements for consistent indentation and structure in LandingSample, AuthPage, and EventsPage components.
- Consolidated and simplified conditional rendering logic in several components.

These changes aim to enhance code maintainability and readability throughout the project.
2026-08-25 17:50:48 +07:00
Firman Ramdhani 9e30c8a5e5 refactor: consolidate individual system pages into a single reusable StatusPage component 2026-08-03 11:20:45 +07:00
Firman Ramdhani c1d5e301f3 rename web/desktop packages to pos-web/pos-desktop and 2026-07-31 14:20:07 +07:00
Firman Ramdhani c9c5b2c86e refactor: implement enterprise storage provider 2026-07-31 14:20:01 +07:00
Firman Ramdhani 90e1bc2ea0 refactor: standardize theme colors, update UI components, and refine auth redirection logic 2026-07-31 13:32:06 +07:00
Firman Ramdhani 0470101fde refactor: standardize theme colors, update UI components, and refine auth redirection logic 2026-07-31 11:54:42 +07:00
Firman Ramdhani 2c8c9d22b4 refactor: standardize theme colors, update UI components, and refine auth redirection logic 2026-07-31 11:49:09 +07:00
Firman Ramdhani f91bbefddc chore: adjustment status badged color 2026-07-31 11:09:44 +07:00
Firman Ramdhani 8ae2772f78 feat: adjustment TYPOGRAPHY SCALES 2026-07-31 07:29:48 +07:00
Firman Ramdhani 93ec37f361 feat: adjustment theme css for update TYPOGRAPHY SCALES 2026-07-31 07:16:53 +07:00
Firman Ramdhani 61adbd4dac core: change base font size sm at density compact 2026-07-31 07:00:33 +07:00
Firman Ramdhani fdbc5dfe99 feat: setup auth schema 2026-07-30 16:43:27 +07:00
Firman Ramdhani 8a6a16ce9a feat: export notification and modal component from ui 2026-07-30 13:39:31 +07:00
Firman Ramdhani b55606817c refactor: simplify form draft key generation 2026-07-27 21:58:18 +07:00
Firman Ramdhani a01b0c1339 feat: update ag grid theme 2026-07-27 18:01:22 +07:00
Firman Ramdhani 75e0424e36 feat: implement persistent AG Grid column state 2026-07-27 17:02:58 +07:00
Firman Ramdhani c8852ce094 refactor: remove unused imports from index.tsx and render-date.tsx 2026-07-27 14:22:28 +07:00
Firman Ramdhani a1a82c5307 feat: implement RouterProvider, add draft mode mechanisms, update storage keys, and refactor module transformation logic. 2026-07-27 14:17:42 +07:00
Firman Ramdhani ca0c57277a fix: update default search key in EnterpriseDataTable component 2026-07-27 12:04:52 +07:00
Firman Ramdhani 3dcc084dfc feat: enhance styling for action buttons in detail and form page providers 2026-07-27 12:03:01 +07:00
Firman Ramdhani 5f97c6b2b0 feat: implement full page components and validation schema; enhance translations and form handling 2026-07-27 11:52:40 +07:00
Firman Ramdhani e55c33069b feat(i18n): add "save_changes" translations for English and Indonesian
fix(validation): improve Indonesian validation messages for clarity

refactor(ui): optimize useAsyncPaginate hook for better readability

fix(data-table): enhance error handling with detailed messages in EnterpriseDataTable

feat(enterprise-module): add form control to EnterpriseFormPageConfig and implement save confirmation modal

refactor(form-page): streamline form page context and improve save handling logic

feat(index-page): set document title based on config or translation key

refactor(module-provider): clean up comments and improve code organization
2026-07-27 11:14:15 +07:00
Firman Ramdhani b332da4808 feat: enhance confirmation dialogs and form error handling; add new utility functions 2026-07-24 16:21:27 +07:00
Firman Ramdhani b7e9af9b07 feat: add custom postfix column support and date formatting in EnterpriseDataTable 2026-07-24 13:52:36 +07:00
Firman Ramdhani 1e082a20cc refactor: replace icons and adjust text sizes in SummaryPanel component 2026-07-23 18:38:30 +07:00
Firman Ramdhani 1812f7c585 refactor: update icons and improve action visibility in row and bulk action menus 2026-07-23 18:29:40 +07:00
Firman Ramdhani 7132ebc025 refactor: comment out unused TableSettingDrawer import in data table component 2026-07-23 17:31:04 +07:00
Firman Ramdhani 94e7b99712 refactor: remove unused DataTable component and clean up filter logic in FullPagePageIndex 2026-07-23 16:50:09 +07:00
Firman Ramdhani 8f2eecd8ae refactor: remove unused SummaryPanel component from BulkActionConfirmationModal 2026-07-23 15:59:11 +07:00
Firman Ramdhani 79b291cf74 refactor: improve code readability by formatting and restructuring useRef and useCallback hooks in EnterpriseDataTable component 2026-07-23 15:58:08 +07:00
Firman Ramdhani 9a8d94cd98 feat: update full-page module endpoint and transformer logic, optimize data-table search clearing, and hardcode auth token for development 2026-07-23 15:33:55 +07:00
Firman Ramdhani d69549b747 feat: implement server-side search, filter state management, and clearable inputs for data tables with associated API transformer updates. 2026-07-23 15:12:49 +07:00
Firman Ramdhani fa119deec2 feat: add configurable data table filtering and update API endpoints for the example module 2026-07-23 13:24:08 +07:00
Firman Ramdhani ddf11741e9 feat: enhance data-table with search, filter/setting drawers, and updated UI controls 2026-07-23 12:30:39 +07:00
Firman Ramdhani 4e13423409 feat: implement bulk action confirmation modal and related functionality
- Updated request methods for batch operations in constants.ts to use PUT instead of POST.
- Added new translation keys for bulk actions in English and Indonesian language files.
- Created BulkActionConfirmationModal component to handle bulk lifecycle actions with progress tracking and summary display.
- Introduced SummaryPanel component to show aggregated results of bulk actions.
- Enhanced BulkActionMenu to support custom bulk actions and improved action handling based on selected rows.
- Integrated bulk action handling in EnterpriseDataTable, allowing for batch processing of selected entities.
- Added new types for bulk action modal state and results in entity.ts.
- Exported BulkActionConfirmationModal from the module index for accessibility.
2026-07-23 11:47:23 +07:00