Yoga Pangestu
cf5b300895
Refactor product status management: replace is_active with status enum
...
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
5d11741f1d
feat: enhance attendance retrieval by filtering employees based on roles with attendance view permissions
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
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
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
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
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
b78d512197
refactor: streamline OrderPosCheckoutSection.vue by simplifying component structure and improving readability; enhance code consistency in template syntax
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
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
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
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
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
3f510f3d58
feat: introduce AnalysisService and refactor AnalysisController to enhance data retrieval for analysis metrics
2026-06-23 18:29:58 +07:00