Commit Graph

175 Commits

Author SHA1 Message Date
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