Commit Graph

260 Commits

Author SHA1 Message Date
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
0ff6b59ca9 refactor: update dashboard permission roles and implement dynamic grid layouts for stats and charts 2026-06-29 10:25:04 +07:00
Yoga Pangestu
4135dcb4c3 refactor: update raw material loading to include 'unit_abbreviation' for improved material detail consistency across cutting services 2026-06-29 09:00:42 +07:00
Yoga Pangestu
ebd48d4cb4 refactor: consistently rename 'hasilCuttingDiluarsample' to 'originalOutsideSample' across models, requests, and UI components for improved clarity in cutting results management 2026-06-29 08:49:38 +07:00
Yoga Pangestu
4e3e935f43 refactor: rename 'sampel' to 'sample' across models, requests, and UI components for consistency in cutting results management 2026-06-29 08:37:30 +07:00
Yoga Pangestu
b4e93fa329 refactor: rename 'hasil_cutting_diluar_sampel' to 'original_outside_sample' across models, requests, and UI components for consistency and clarity in cutting results management 2026-06-29 08:36:24 +07:00
Yoga Pangestu
c3c25679be feat: update StockVerifyRequest and related components to replace 'sampel' and 'hasil_cutting_diluar_sampel' with 'good' and 'reject' for improved clarity in cutting results management 2026-06-29 08:34:40 +07:00
Yoga Pangestu
944c0bc14a feat: enhance cutting and purchase services by adding raw material attributes and updating related UI components for improved material management 2026-06-29 00:02:35 +07:00
Yoga Pangestu
8da733ec08 feat: add functionality to create new purchase variants and update related UI components for variant management 2026-06-28 23:41:30 +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
aeb7d1f292 feat: enhance cutting status management by adding verified status transition and refining user permissions for verification actions 2026-06-28 22:02:21 +07:00
Yoga Pangestu
ce553f9aed refactor: remove unused inventory stock warning components and service logic 2026-06-28 18:11:26 +07:00
Yoga Pangestu
62e6995191 feat: improve owner verification notifications by adding search parameters to index routes and updating product variant UI layout. 2026-06-28 17:56:50 +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
b43835335a refactor: update enum handling in migrations and seeder, replace array_column with values() method for better performance and consistency 2026-06-28 12:06:05 +07:00
Yoga Pangestu
a5158c3992 feat: add stok opname management with new models, controllers, services, and frontend components for creating, editing, and viewing stok opnames 2026-06-28 11:53:37 +07:00
Yoga Pangestu
3d4745cb0a feat: integrate media upload handling for order transactions, update validation and frontend components for photo requirements 2026-06-28 11:12:32 +07:00
Yoga Pangestu
607bae444e feat: add nego_price handling to order management, update validation, formatting, and frontend components 2026-06-28 10:53:22 +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
414ce51904 feat: implement employee advance payment management with new model, migration, and frontend updates 2026-06-28 09:33:40 +07:00
Yoga Pangestu
fe1549e0a5 feat: add order status management to OrderRequest and OrderService, update frontend forms for status handling 2026-06-28 00:01:54 +07:00
Yoga Pangestu
9dba5e1491 refactor: replace remaining material with sampel and hasil cutting diluar sampel in cutting requests and models, update related validation and frontend components 2026-06-27 23:50:41 +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
4fb137d57d feat: implement notification system with controller, model, and frontend integration 2026-06-27 20:45:01 +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
d9fb7018b3 refactor: remove attendance and specific analysis permissions from role definition 2026-06-27 17:09:41 +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
acdd7ebb63 feat: add modal for quick creation of raw material variants and implement backend API support 2026-06-27 16:54:07 +07:00
Yoga Pangestu
f6b5a78f4b feat: enhance user profile and employee management with profile photo handling and validation updates 2026-06-27 15:53:33 +07:00
Yoga Pangestu
5cffe43a07 feat: implement owner verification actions in various management tables and enhance request handling in the OwnerVerificationRowActions component 2026-06-27 15:11:20 +07:00
Yoga Pangestu
21b990799e feat: implement owner verification system with enums, service, and controller updates for managing verification requests 2026-06-26 19:13:10 +07:00
Yoga Pangestu
69f9062807 refactor: update permissions for ADMIN_TOKO role by removing unnecessary analysis permissions and adding DASHBOARD_CASH 2026-06-26 16:44:21 +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
c378036691 feat: add new permissions and update role assignments in Permission and Role enums; enhance dashboard and analysis components with conditional rendering based on permissions 2026-06-26 15:23:57 +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
d19bd8000a refactor: update authorization logic in AppServiceProvider to restrict access for OWNER role 2026-06-25 21:16:12 +07:00
Yoga Pangestu
abe84899c9 refactor: implement error handling in EmployeeAdvanceService methods to ensure transaction safety and improve code robustness 2026-06-25 20:39:36 +07:00
Yoga Pangestu
a3d5ac2eb2 feat: add additional permissions for roles and activity logs in Role enum to enhance access control 2026-06-25 20:39:18 +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
41ee835f1f feat: implement analysis module with dedicated controller, view, and role-based permissions 2026-06-23 14:15:32 +07:00
Yoga Pangestu
04ee7c3426 feat: refactor dashboard layout by introducing modular StatCard and LowStockCard components 2026-06-23 14:01:07 +07:00
Yoga Pangestu
2a4bcae5ce feat: add browser permission management page for notifications, camera, and location 2026-06-23 13:02:06 +07:00
Yoga Pangestu
4414f2c050 refactor: consolidate order creator and marketing name retrieval into model attributes 2026-06-23 11:10:46 +07:00
Yoga Pangestu
dfd2c5560b refactor: replace hardcoded URL strings with dynamic route helpers across services and frontend components. 2026-06-23 10:49:27 +07:00
Yoga Pangestu
66bdd86b4f refactor: remove unused check_out_photo_path from checkedInOnly state in AttendanceFactory 2026-06-22 20:54:58 +07:00
Yoga Pangestu
f12c7cea75 refactor: remove supplier permissions from Role enum to streamline access control 2026-06-22 19:28:11 +07:00
Yoga Pangestu
dc72033bd9 refactor: replace Builder import with Eloquent\Builder for improved clarity in PayrollAdjustment model 2026-06-22 19:08:55 +07:00
Yoga Pangestu
da879eb1f3 refactor: exclude users with the developer role from employee pagination query for improved data management 2026-06-22 18:31:38 +07:00
Yoga Pangestu
e3b138d410 refactor: update toggleStatus method in EmployeeController to accept validated request data for improved status management 2026-06-22 18:20:42 +07:00
Yoga Pangestu
86956b1c9f refactor: add methods for retrieving assignable roles and their values in Role enum, and enhance Permission enum with values method for improved role management 2026-06-22 18:12:43 +07:00
Yoga Pangestu
da3e3a6895 refactor: enhance permission and role management by introducing group categorization for permissions and streamlining role permission assignments for improved maintainability 2026-06-22 17:57:18 +07:00
Yoga Pangestu
9a35c1cae2 refactor: remove unused docblocks in CustomerService and add getSelectOptions method for enhanced customer data retrieval 2026-06-22 15:18:07 +07:00
Yoga Pangestu
8159e45e3a refactor: remove unused docblocks in SupplierService and add getSelectOptions method for improved supplier data retrieval 2026-06-22 15:09:53 +07:00
Yoga Pangestu
4f7290711d refactor: update database connection settings in phpunit.xml and clean up CategoryService by removing unused docblocks and reorganizing sorting logic for improved clarity 2026-06-22 15:02:04 +07:00
Yoga Pangestu
27c5b5fffa refactor: streamline enum management and enhance role assignment logic in EmployeeController for improved maintainability 2026-06-22 14:41:52 +07:00
Yoga Pangestu
480e173d12 refactor: update route references for system settings in SettingController and AppSidebar for consistency 2026-06-22 14:00:56 +07:00
Yoga Pangestu
a89922fea6 refactor: enhance attendance penalty application by utilizing query scopes for employee status and payroll period checks 2026-06-22 13:58:07 +07:00
Yoga Pangestu
0fabc7b280 refactor: utilize query builder for LeaveRequest and EmployeeAdvance status checks across multiple services for improved consistency and readability 2026-06-22 13:42:41 +07:00
Yoga Pangestu
6d6de5fa4b refactor: standardize enum case naming and update route permissions for consistency across the application 2026-06-22 13:24:53 +07:00
Yoga Pangestu
d8a403daa9 refactor: streamline active product retrieval by utilizing query builder for improved clarity and maintainability 2026-06-22 13:07:49 +07:00
Yoga Pangestu
f38f61fe45 refactor: standardize variable naming in query closures across service classes for improved readability 2026-06-22 12:53:09 +07:00
Yoga Pangestu
f83def0e8a perf: implement batch-fetching for variant prices to optimize query performance in OrderService and HomeController 2026-06-22 12:40:58 +07:00
Yoga Pangestu
747836be91 refactor: replace individual attribute assignments and save calls with mass update() calls across service classes 2026-06-22 12:26:38 +07:00
Yoga Pangestu
b88c2b4701 refactor: implement and utilize eloquent scopes for common model status queries across the application 2026-06-22 12:15:08 +07:00
Yoga Pangestu
5119dd7208 refactor: encapsulate password update and push subscription logic within dedicated services 2026-06-22 12:08:20 +07:00
Yoga Pangestu
60142c5aa8 refactor: extract validation logic into FormRequests for verification and push subscription controllers 2026-06-22 12:00:46 +07:00
Yoga Pangestu
3e5ffef2d8 feat: implement DashboardService and refactor active scope usage in services 2026-06-22 11:48:13 +07:00
Yoga Pangestu
1ffb913fe8 refactor: refactor CashTransaction model logic into helper methods and update best practice documentation for Eloquent attributes 2026-06-22 11:39:40 +07:00
Yoga Pangestu
0986ec780b refactor: standardize model structure, normalize bidirectional relations, and update documentation. 2026-06-22 11:26:47 +07:00
Yoga Pangestu
8ce493ebf2 refactor: update DashboardController to use imported models for product and category counts 2026-06-22 11:14:15 +07:00
Yoga Pangestu
4a13297cb7 feat: enhance dashboard with marketplace summary and additional product statistics for improved analytics 2026-06-22 10:43:33 +07:00
Yoga Pangestu
ad73e8237c refactor: update storePriceTypeOptions to exclude HARGA_MODAL from available price types for improved pricing logic 2026-06-21 16:06:14 +07:00
Yoga Pangestu
322af0c1e8 refactor: remove STOCKS_VIEW permission from ADMIN_BAHAN_BAKU role for updated permission management 2026-06-21 15:57:31 +07:00
Yoga Pangestu
19675aa057 feat: add CheckInRequest and CheckOutRequest classes for attendance management with validation rules 2026-06-21 15:48:56 +07:00
Yoga Pangestu
60e87803d8 feat: add new permissions and update related functionality for owner verifications and stock management 2026-06-21 15:44:03 +07:00
Yoga Pangestu
245127c921 feat: add submit URL to EmployeeForm component for employee creation functionality 2026-06-21 15:31:24 +07:00
Yoga Pangestu
4cbd296c0c feat: add submittedBy relationship to Cutting model and enhance notification system for cutting updates and deletions 2026-06-21 15:16:58 +07:00
Yoga Pangestu
50f9328ebc feat: implement owner verification process with new status and related functionality for improved stock management 2026-06-21 14:51:15 +07:00
Yoga Pangestu
5e71277056 feat: add harga_modal price type and related logic for improved stock management and pricing accuracy 2026-06-21 14:08:53 +07:00
Yoga Pangestu
07e9a4ab18 refactor: remove verified cuttings display and related logic from StockController and StockPendingSection for improved clarity and focus on pending cuttings 2026-06-21 13:32:04 +07:00
Yoga Pangestu
e76a117abb refactor: adjust material usage calculations to account for remaining material across Cutting components for improved accuracy in cost and usage representation 2026-06-21 13:25:51 +07:00
Yoga Pangestu
fc234a6afd refactor: remove length unit handling from CuttingMaterial and related components for improved clarity and consistency in material usage representation 2026-06-21 12:59:11 +07:00
Yoga Pangestu
ec80f2145b refactor: remove ProductPendingAction and ProductStatus enums, update related references in Product model and services for improved code clarity and maintainability 2026-06-21 12:36:36 +07:00
Yoga Pangestu
13f2c6d745 refactor: standardize material usage and remaining material precision to two decimal places across CuttingService and related components for improved consistency 2026-06-21 12:23:51 +07:00
Yoga Pangestu
3bb6baffa6 feat: enhance raw material stock display by adding breakdown by unit in DashboardController and updating Dashboard.vue for improved inventory insights 2026-06-21 12:15:18 +07:00
Yoga Pangestu
e4b475cd82 feat: add stock management functionality by introducing StockController and updating AppSidebar to include stock menu item for improved inventory handling 2026-06-21 11:53:41 +07:00
Yoga Pangestu
04897cb3bd refactor: remove status check in appendCostPreview method to streamline cost calculation in CuttingService and update labels for material cost in CuttingPosForm for improved clarity 2026-06-21 11:38:14 +07:00
Yoga Pangestu
175e0dc5af refactor: update material usage and remaining material precision to four decimal places across cutting management components for improved accuracy 2026-06-21 11:02:54 +07:00
Yoga Pangestu
9c205cf3d0 feat: enhance cutting management by adding draft materials and results functionality, improving user experience with new API endpoints and UI components for better material handling 2026-06-21 10:29:45 +07:00
Yoga Pangestu
6022f93d4b refactor: simplify LeaveRequest handling by removing unnecessary permission checks and validation methods, streamline service methods, and enhance UI components for better user experience 2026-06-21 01:39:27 +07:00
Yoga Pangestu
0cb93c4e05 refactor: update AttendanceController and related components to use new CheckInRequest and CheckOutRequest classes, streamline attendance handling by removing location tags, and enhance UI components for better user experience 2026-06-21 01:35:30 +07:00