Commit Graph

72 Commits

Author SHA1 Message Date
Yoga Pangestu
11557d0b85 feat: remove global scope for ordered in raw material and product stock queries
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-30 15:57:30 +07:00
Yoga Pangestu
4027363729 feat: enhance analysis functionality with new revenue metrics
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
- Added methods to AnalysisService for retrieving monthly revenue by channel and revenue by payment type.
- Updated AnalysisController to include new metrics in the index response.
- Enhanced Analysis.vue to visualize revenue data by channel and payment type with appropriate charts and tooltips.
2026-07-29 09:36:22 +07:00
Yoga Pangestu
1d5863efaf feat: integrate activity log functionality in ProductPrice model and enhance change formatting in ActivityLogService
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-27 23:00:22 +07:00
Yoga Pangestu
ee9bff3043 feat: replace OwnerVerificationService with PushNotificationService and update notification logic in SettingController and MarketplaceService
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-20 23:02:28 +07:00
Yoga Pangestu
cf5b300895 Refactor product status management: replace is_active with status enum
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
- Updated the OwnerVerificationRequest model to change pendingToggleIsActive to pendingToggleStatus, reflecting the new status structure.
- Refactored the Product model to replace is_active with status, utilizing the ProductStatus enum for better clarity and type safety.
- Modified the ProductService to accommodate the new status field, including pagination and creation logic.
- Adjusted the AnalysisService to filter products based on their status.
- Updated the VerificationChangeFormatter to handle the new status field.
- Created a migration to remove is_active from the products table and add status with appropriate default values.
- Refactored the ProductSeeder to use the new status field.
- Updated frontend components and types to reflect the changes from is_active to status.
- Adjusted tests to ensure they validate the new status logic correctly.
2026-07-18 16:34:34 +07:00
Yoga Pangestu
b3184de155 feat: enhance attendance retrieval by filtering roles based on view permissions
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-16 15:10:06 +07:00
Yoga Pangestu
5d11741f1d feat: enhance attendance retrieval by filtering employees based on roles with attendance view permissions
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-16 15:05:56 +07:00
Yoga Pangestu
735b7fa9ed feat: update attendance and cash overview methods to support date range filtering for improved analysis 2026-07-16 13:28:36 +07:00
Yoga Pangestu
ba01039b41 feat: clear cache for assignable roles and permissions in various services to ensure data consistency 2026-07-16 11:23:32 +07:00
Yoga Pangestu
bb17bf6ad4 Refactor HomepageService to remove caching and simplify pageData method; disable SSR in Inertia config; improve service worker registration in app.ts; fix URL parameters in Analysis.vue router call. 2026-07-16 10:38:28 +07:00
Yoga Pangestu
2ae41c2f83 fix: correct notification message formatting for marketplace settings verification
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-14 19:26:59 +07:00
Yoga Pangestu
9da452d505 feat: update notification messages to include user's full name for better clarity in purchase and restock requests
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-14 13:42:03 +07:00
Yoga Pangestu
26a10071b2 feat: update system settings to include media items for logo, favicon, and login cover, enhancing data handling in forms and validation 2026-07-13 13:04:45 +07:00
Yoga Pangestu
bd51f9abe0 refactor: update price handling in CuttingResultPriceResolver and HomepageService for improved data structure and consistency
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-06 15:47:46 +07:00
Yoga Pangestu
38d6f3a22b fix: error home
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-06 15:36:08 +07:00
Yoga Pangestu
00ef124fb3 feat: add predis/predis dependency and implement caching in various services for improved performance 2026-07-05 23:31:55 +07:00
Yoga Pangestu
0d77d6a4fd feat: add stock quality management to StokOpname; update validation rules, database schema, and frontend components to support stock quality categorization (good, retail, reject) for improved inventory tracking and reporting
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-05 13:46:50 +07:00
Yoga Pangestu
18ccd7a3c0 fix: update SendPushNotificationJob to correctly handle expired subscriptions; modify PushSubscriptionService to ensure user_id is set during subscription creation 2026-07-05 13:33:18 +07:00
Yoga Pangestu
3a8a6982ec feat: enhance monthly revenue calculations in AnalysisService to include stock quality breakdown; update Analysis.vue to display net revenue for gudang and ecer categories, improving data visibility for users 2026-07-05 12:59:10 +07:00
Yoga Pangestu
a3ff10d6e1 refactor: remove unused Carbon imports from Attendance and Employee models; update ProfileService to use UserProfile directly; clean up imports in various service files for improved clarity 2026-07-04 21:54:31 +07:00
Yoga Pangestu
2b7208a0c4 feat: expand permission management for settings by introducing new permissions for system, social media, marketplace, HR, and homepage updates; refactor related controllers, requests, and services to utilize these permissions; enhance frontend components to support new permission checks and improve user experience 2026-07-04 13:37:26 +07:00
Yoga Pangestu
b78d512197 refactor: streamline OrderPosCheckoutSection.vue by simplifying component structure and improving readability; enhance code consistency in template syntax
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-02 22:38:16 +07:00
Yoga Pangestu
d02af40836 feat: implement presigned upload functionality for S3 in PresignedUploadController; update media upload handling across various components to support S3 keys and improve user experience
Some checks failed
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Has been cancelled
tests / ci (8.4) (push) Has been cancelled
tests / ci (8.5) (push) Has been cancelled
2026-07-02 14:28:51 +07:00
Yoga Pangestu
deabe6b043 refactor: rename profit metrics in AnalysisService and Analysis.vue for clarity; update variable names from laba_kotor and laba_bersih to gross_profit and net_profit 2026-07-02 13:34:05 +07:00
Yoga Pangestu
82fdb9ee0a feat: update AnalysisService and Analysis.vue to include HPP in net revenue calculations for more accurate financial reporting 2026-07-02 13:20:12 +07:00
Yoga Pangestu
15f2f0e1d0 feat: add marketing sales analysis feature; enhance AnalysisService to retrieve marketing sales data and update Analysis.vue to display marketing sales table with relevant metrics 2026-07-02 13:11:18 +07:00
Yoga Pangestu
070e1e52d1 feat: update AnalysisService to include employee advance status filtering and adjust calculations for total amounts; enhance rupiah parsing to handle negative values; refine Analysis.vue for improved display of profit metrics and expenses 2026-07-01 20:11:50 +07:00
Yoga Pangestu
60b358fb49 feat: enhance order management by calculating and displaying total cost price and net amount in order summaries 2026-07-01 11:45:25 +07:00
Yoga Pangestu
ce26551666 feat: filter product stock calculation by price type and ensure data integrity with null checks 2026-07-01 11:36:51 +07:00
Yoga Pangestu
25c501c011 refactor: update user type hints in services for improved clarity and consistency 2026-06-29 20:08:02 +07:00
Yoga Pangestu
5220f373f3 feat: implement role-based data scoping for dashboard and analysis services to restrict non-privileged access 2026-06-29 10:28:22 +07:00
Yoga Pangestu
8f66502f25 feat: implement retail stock transfer functionality with new controller, request validation, and service logic, while updating related models and UI components 2026-06-28 22:57:07 +07:00
Yoga Pangestu
16fe9a3d9f refactor: remove redundant blank lines across all services and update dashboard imports 2026-06-28 17:33:46 +07:00
Yoga Pangestu
816c2a0e2a feat: overhaul POS management workflows including enhanced purchase, order, cutting, and stock-opname forms with updated master data handling. 2026-06-28 17:33:13 +07:00
Yoga Pangestu
b3790f2b2f feat: enhance service and controller logic for Cutting and Order management, implement best practices for method handling, and improve pagination defaults 2026-06-28 16:23:57 +07:00
Yoga Pangestu
7a1c4efe4a feat: enhance controller best practices and introduce new Cutting and Order management features with updated services and validation handling 2026-06-28 16:12:15 +07:00
Yoga Pangestu
393c36e932 refactor: reorganize model structure and enhance attribute handling across multiple models, including improved casting, scope definitions, and attribute formatting 2026-06-28 14:47:19 +07:00
Yoga Pangestu
8146da86c6 feat: add stock ecer transfer functionality with new controller, service, and frontend modal integration 2026-06-28 10:42:57 +07:00
Yoga Pangestu
1f27acc63a refactor: remove owner verification index functionality and related components, streamline approval and rejection processes 2026-06-27 21:51:48 +07:00
Yoga Pangestu
7c0b59b998 feat: add partially paid status to employee advances and update related functionalities 2026-06-27 20:07:12 +07:00
Yoga Pangestu
eb5eeaf73b feat: enhance expense chart visibility based on user roles in Analysis and Dashboard components 2026-06-27 17:19:32 +07:00
Yoga Pangestu
8c026dda1c feat: implement owner verification workflow for marketplace settings and restrict administrative settings access 2026-06-27 17:06:54 +07:00
Yoga Pangestu
2e516bcd06 fix: adjust attendance date range logic to use employee join date when available, ensuring accurate attendance tracking 2026-06-26 16:26:44 +07:00
Yoga Pangestu
a9b02a9bca feat: enhance attendance tracking by adding user-specific attendance data and conditional rendering in dashboard and analysis components; introduce AttendanceCard component for better UI management 2026-06-26 15:56:17 +07:00
Yoga Pangestu
cce733e288 refactor: improve MediaDropzone file handling and input triggering with container-based scoping 2026-06-25 22:41:11 +07:00
Yoga Pangestu
58ba7512a5 refactor: implement error handling and logging in various service methods to enhance transaction safety and improve code robustness 2026-06-25 21:40:21 +07:00
Yoga Pangestu
3f510f3d58 feat: introduce AnalysisService and refactor AnalysisController to enhance data retrieval for analysis metrics 2026-06-23 18:29:58 +07:00
Yoga Pangestu
1dc274cce1 feat: enhance dashboard metrics by adding attendance, cash overview, revenue summary, and expense summary 2026-06-23 15:35:37 +07:00
Yoga Pangestu
993a87cc66 feat: enable dynamic date range filtering for all dashboard and analysis metrics 2026-06-23 14:28:25 +07:00
Yoga Pangestu
04ee7c3426 feat: refactor dashboard layout by introducing modular StatCard and LowStockCard components 2026-06-23 14:01:07 +07:00