Yoga Pangestu
c6a87a64c9
feat: enhance dashboard with detailed statistics and charts
...
- Refactored the dashboard component to include attendance, revenue, and expense summaries.
- Added donut charts for order statistics by channel, payment type, marketing, and status.
- Implemented a greeting message based on the current time and user information.
- Updated routing to use DashboardController for the dashboard view.
- Introduced a new AnalysisController for future analysis features.
2026-08-07 08:35:01 +07:00
Yoga Pangestu
bc02af2a66
feat: enhance attendance management with employee-specific data and location tracking
2026-08-06 23:43:49 +07:00
Yoga Pangestu
5ec0e9ff3b
feat: add view payments permission for employee advances and update related checks
2026-08-06 22:41:40 +07:00
Yoga Pangestu
d2d10ea63a
feat: add transfer stock and view stock mutations permissions for products
2026-08-06 22:19:58 +07:00
Yoga Pangestu
a10a1700b0
feat: add visibility check for leave requests based on user roles
2026-08-06 17:39:56 +07:00
Yoga Pangestu
c11962cda1
feat: rename attendanceDate method to formattedAttendanceDate for clarity
2026-08-06 17:31:08 +07:00
Yoga Pangestu
66d6c843c3
feat: add base64 media registration method with support for multiple image formats and S3 storage
2026-08-06 17:29:56 +07:00
Yoga Pangestu
8aa4e83cd8
feat: enhance role selection in Employee edit page; add conditional rendering based on view permissions and update role filtering in EmployeeService
2026-08-06 17:18:53 +07:00
Yoga Pangestu
ab217a8d79
feat: enhance Attendance model date formatting; add restricted roles check in EmployeeService; update RolePermissionSeeder with new payroll permissions
2026-08-06 17:16:50 +07:00
Yoga Pangestu
8df17601ea
feat: enhance EmployeeAdvanceService and ExpenseService with validation and transaction handling; update transaction columns for improved display
2026-08-06 17:12:22 +07:00
Yoga Pangestu
42e04673c6
feat: update CashTransactionType enum and improve transaction labels; refactor EmployeeAdvanceService and PayrollPeriodService for consistency
2026-08-06 15:26:46 +07:00
Yoga Pangestu
6ebcbc24c0
feat: add update status functionality for transactions with corresponding UI actions
2026-08-06 14:59:48 +07:00
Yoga Pangestu
1a5ac1dd85
feat: add date range filters and enhance transaction summary display
2026-08-06 14:41:10 +07:00
Yoga Pangestu
1d866d1b94
feat: add transaction summary feature with detailed metrics display
2026-08-06 14:25:44 +07:00
Yoga Pangestu
8399de9d2e
feat: improve code readability by standardizing spacing and formatting in TransactionService
2026-08-06 14:17:44 +07:00
Yoga Pangestu
0a6a441ec4
feat: add formatted stock display and enhance product variant attributes
2026-08-06 14:16:29 +07:00
Yoga Pangestu
1fc058f974
feat: streamline lambda function syntax and enhance readability in RestockService
2026-08-06 14:01:37 +07:00
Yoga Pangestu
fe0c565196
feat: add product name filtering and retrieval in product management
2026-08-06 13:50:16 +07:00
Yoga Pangestu
58d45f8363
feat: add role-based visibility for employee management features
2026-08-06 13:41:26 +07:00
Yoga Pangestu
8eb3e565ec
feat: enhance payroll period functionality with role-based visibility and improved data handling
2026-08-06 13:30:04 +07:00
Yoga Pangestu
54ad2edaf7
feat: implement employee advance payment functionality with history tracking
2026-08-06 12:09:53 +07:00
Yoga Pangestu
81b5db77e2
feat: add filtering options for employee advances by status in index view
2026-08-06 11:53:41 +07:00
Yoga Pangestu
1f39565754
feat: update material_result handling in CuttingRequest, CuttingCreate, and CuttingEdit components
2026-08-06 11:19:04 +07:00
Yoga Pangestu
71128002d7
refactor: streamline material validation and stock management in create and update methods of CuttingService
2026-08-06 10:41:41 +07:00
Yoga Pangestu
aaafbb92a2
feat: update validation rules in CuttingRequest and enhance error handling in CuttingCreate and CuttingEdit components
2026-08-06 10:35:08 +07:00
Yoga Pangestu
577329365a
feat: add active and nonactive scopes to RawMaterial model and apply active scope in CuttingService
2026-08-06 09:57:01 +07:00
Yoga Pangestu
62341ac50a
refactor: clean up imports and improve code readability across multiple components
2026-08-06 09:55:11 +07:00
Yoga Pangestu
bcf5842c4a
feat: enhance Purchase management with supplier filtering and pagination adjustments
2026-08-06 09:52:17 +07:00
Yoga Pangestu
3b49f5ff3a
refactor: update user relationship in PushSubscription model and clean up User model attributes
2026-08-05 23:29:37 +07:00
Yoga Pangestu
fc1c84f420
refactor: remove readonly modifier from S3PresignedService property for consistency
2026-08-05 22:35:46 +07:00
Yoga Pangestu
705f0d3efa
refactor: update select statements to use array syntax for improved readability
2026-08-05 20:45:16 +07:00
Yoga Pangestu
3f77a9436d
refactor: improve formatting consistency in various models and services
2026-08-05 20:27:27 +07:00
Yoga Pangestu
b70a40af4d
feat: implement sorting for lines in purchase and restock create/edit components; enhance user experience
2026-08-05 20:26:58 +07:00
Yoga Pangestu
6546e1e3eb
fix: update prepareForValidation to use all input data for currency stripping
2026-08-05 00:04:02 +07:00
Yoga Pangestu
3e9776696d
Refactor permissions and sidebar items; enhance user role checks
...
- Updated HandleInertiaRequests middleware to include user permissions in the shared data.
- Modified RolePermissionSeeder to redefine permissions and roles, adding new permissions and restructuring existing ones.
- Refactored app-sidebar component to filter menu items based on user permissions, improving sidebar visibility based on roles.
- Enhanced useCan hook to support checking multiple permissions with canAny function.
- Updated web routes to enforce permission checks on various resource routes, ensuring proper access control.
2026-08-04 23:57:00 +07:00
Yoga Pangestu
0a688f1028
refactor: streamline user query methods for improved readability and maintainability
2026-08-04 23:15:00 +07:00
Yoga Pangestu
a8a7ed4c69
fix: handle potential null value for gender in genderLabel method
2026-08-04 23:08:39 +07:00
Yoga Pangestu
4517eeb7ee
feat: enhance employee and leave request management
...
- Added roles property to Employee type and a new column for displaying employee roles in the employee table.
- Updated leave request columns to use formatted start and end dates instead of raw date strings.
- Enhanced leave request index to accept filter options for status dynamically.
- Refactored transaction index to support dynamic filter options for status, channel, and payment type.
- Introduced AGENTS.md for session notes detailing model relationships, casting, scopes, reorganizations, and conventions.
2026-08-04 23:03:56 +07:00
Yoga Pangestu
81f8135273
feat: add role selection to employee create and edit forms with conditional fields
2026-08-04 22:51:56 +07:00
Yoga Pangestu
318afca796
feat: add CurrencyStripping trait for consistent currency handling across requests
2026-08-04 22:11:50 +07:00
Yoga Pangestu
d90d2261ac
feat: implement cash and stock handling traits for improved transaction management
2026-08-04 21:57:38 +07:00
Yoga Pangestu
8970c47a4a
refactor: update constructors to use readonly properties for service dependencies
2026-08-04 15:58:11 +07:00
Yoga Pangestu
5961a60585
feat: add labels and formatting attributes to various models and enums
...
- Added labels for leave request statuses in LeaveRequestStatus enum.
- Introduced label methods for PayrollAdjustmentType, PayrollPeriodStatus, PayrollStatus, RawMaterialUnit, and StokOpnameStatus enums.
- Implemented formatted attributes for Attendance, CashAccount, CashTransaction, Category, Customer, Cutting, Employee, EmployeeAdvance, Expense, LeaveRequest, Order, OrderItem, Payroll, PayrollAdjustment, PayrollPeriod, Product, ProductPrice, ProductVariant, Purchase, PurchaseItem, RawMaterial, RawMaterialPrice, Restock, RestockItem, StokOpname, StokOpnameItem, Supplier, User, and UserProfile models.
- Enhanced phone number formatting for Customer and Supplier models.
- Added date formatting for various models to improve readability.
2026-08-04 15:31:41 +07:00
Yoga Pangestu
2d60c0c67d
refactor: swap relationships and scopes in models for clarity and consistency
2026-08-04 11:37:21 +07:00
Yoga Pangestu
26945160a2
feat: add new cast attributes for models including sewing_cost, other_cost, marketplace_settings_snapshot, year, month, stock, reject_stock, and retail_stock
2026-08-04 11:17:25 +07:00
Yoga Pangestu
38c486d11d
feat: add relationships for payroll adjustments, employee advances, and cutting submissions in models
2026-08-04 10:53:15 +07:00
Yoga Pangestu
7f91ce22db
fix: add null check for media model in CustomPathGenerator and remove duplicate transaction permissions in RolePermissionSeeder
2026-08-04 10:43:03 +07:00
Yoga Pangestu
c063cde967
feat: implement old data migration command and related migration classes
2026-08-04 10:41:01 +07:00
Yoga Pangestu
72848d51d8
feat: add transaction management page with filtering and CRUD functionality
...
- Implemented TransactionIndex component for displaying transactions with pagination and filtering options.
- Created TransactionCardRow component for rendering individual transaction details.
- Added TransactionItemSubRow component for displaying detailed order items within a transaction.
- Integrated delete confirmation dialog for transaction deletion.
- Updated routes to include transaction management with appropriate permissions.
2026-08-04 10:37:28 +07:00
Yoga Pangestu
e7aa582572
feat: add cutting management functionality with CRUD operations
...
- Implemented CuttingIndex component for listing and managing cuttings.
- Added routes for cutting management in web.php.
- Created CuttingTest for testing cutting-related features including authorization, validation, and stock management.
- Updated roles create and edit pages to include necessary imports.
- Refactored settings and profile pages to streamline imports.
- Enhanced permissions checks for cutting management actions.
2026-08-04 02:24:11 +07:00