Commit Graph

36 Commits

Author SHA1 Message Date
Yoga Pangestu
46cb2c3588 refactor: remove photo path columns from attendance schema and simplify validation rules 2026-06-14 14:53:19 +07:00
Yoga Pangestu
e6ed485718 refactor: remove photo attachment functionality from employee advances module 2026-06-14 13:48:48 +07:00
Yoga Pangestu
c40e9e5e87 fix: enforce cash balance validation, add due date constraint, and improve error message feedback in finance modules 2026-06-14 13:36:25 +07:00
Yoga Pangestu
691916e6de feat: implement role management system with CRUD interface and permission redefinitions 2026-06-14 02:45:31 +07:00
Yoga Pangestu
c22252f44c feat: implement push notification system with web-push integration and subscription management 2026-06-14 00:08:06 +07:00
Yoga Pangestu
1805c64428 feat: implement cutting verification workflow with stock adjustment and rejection notes 2026-06-13 14:28:15 +07:00
Yoga Pangestu
7d721cab31 Refactor marketplace settings to use structured fee rules. Update MarketplaceRequest, MarketplaceService, and MarketplaceSettings to handle fees as arrays with scope and value type. Enhance frontend components to accommodate new fee structure and validation logic for improved user experience. 2026-06-13 01:20:12 +07:00
Yoga Pangestu
584387504c Refactor order management to remove marketplace fee handling. Update OrderRequest, Order model, and related services to utilize marketplace settings snapshot instead. Adjust frontend components and TypeScript types accordingly for consistency in order processing. 2026-06-13 00:56:24 +07:00
Yoga Pangestu
e77f0ebc8a Refactor price handling in product and raw material requests, models, and migrations to use integers instead of decimals. Update validation rules and data types in related TypeScript files for consistency across the application. 2026-06-12 23:37:44 +07:00
Yoga Pangestu
4c91834389 Enhance order and purchase management by implementing draft item functionality. Update OrderController and PurchaseController to handle draft items for users, allowing for better cart management. Refactor OrderService and PurchaseService to include methods for syncing and removing draft items. Update related request classes and models to support user associations. Modify frontend components to restore draft items and synchronize quantities, improving user experience during order and purchase creation. 2026-06-12 23:33:17 +07:00
Yoga Pangestu
eb2047a3e2 Implement FlashesEntityMessage trait across multiple controllers for consistent flash messaging. Update flash messages in various methods to utilize the new trait, enhancing code maintainability and readability. Additionally, add attribute methods in request classes for improved validation feedback. 2026-06-12 22:48:23 +07:00
Yoga Pangestu
1e32837d76 Remove tiktok_shop and shopee_shop URL and ID fields from MarketplaceRequest, MarketplaceService, MarketplaceSettings, and related database migration. Update MarketplaceSection and other components to reflect these changes, ensuring a cleaner and more focused marketplace settings structure. 2026-06-12 15:55:12 +07:00
Yoga Pangestu
5233890030 Update SystemRequest, SystemService, and SystemSettings to require address, email, phone, and about_app fields. Modify database migration to set default values for new fields. Enhance SystemSection component to include address input and update TypeScript definitions accordingly. 2026-06-12 13:24:53 +07:00
Yoga Pangestu
ec8b49be05 Add cutting management features including Cutting, CuttingMaterial, and CuttingResult models. Implement CuttingController for CRUD operations and request validation. Introduce CuttingStatus enum for status management and enhance sidebar navigation for cuttings. Integrate UI components for creating, editing, and listing cuttings, along with permissions in the Permission and Role enums. 2026-06-12 10:56:50 +07:00
Yoga Pangestu
7a0ac4f4d1 Add order management features including Order and OrderItem models, OrderController for CRUD operations, and request validation. Implement OrderChannel and OrderStatus enums for order categorization and status management. Enhance sidebar navigation for orders and integrate UI components for creating, editing, and listing orders, along with permissions in the Permission and Role enums. 2026-06-12 10:34:50 +07:00
Yoga Pangestu
04e57c0dd1 Add purchase management features including Purchase and PurchaseItem models, PurchaseController for CRUD operations, and corresponding request validation. Implement UI components for creating, editing, and listing purchases, along with permissions in the Permission and Role enums. Enhance sidebar navigation for purchases and integrate media handling for purchase items. 2026-06-12 00:09:20 +07:00
Yoga Pangestu
f8322566da Add media management features across various models and services. Implement media handling in Product, RawMaterial, Attendance, CashTransaction, EmployeeAdvance, and Expense models. Introduce ValidatesMediaUploads trait for consistent media validation in requests. Enhance services to support media synchronization and retrieval, improving user experience with image uploads and management. 2026-06-11 19:32:33 +07:00
Yoga Pangestu
67c27c2954 Add system settings management features including controllers for managing system, social media, and marketplace settings. Implement request validation for each settings type and create corresponding UI components for user interaction. Update permissions in the Permission and Role enums to manage access to settings functionalities, and enhance the sidebar for navigation to the new settings sections. 2026-06-11 18:30:21 +07:00
Yoga Pangestu
9798150994 Add user account management features including Appearance, Password, and Profile controllers for handling user preferences. Implement corresponding requests for validation and create views for each setting. Update routes for new account functionality and enhance UI components for user navigation in the account layout. 2026-06-11 18:01:12 +07:00
Yoga Pangestu
f6891dbe24 Add leave request management features including LeaveRequest model, LeaveRequestController for CRUD operations, and corresponding permissions in the Permission and Role enums. Update routes for leave requests functionality and enhance UI components for leave requests navigation in the sidebar. 2026-06-11 15:51:06 +07:00
Yoga Pangestu
34c59c24f5 Add attendance management features including Attendance model, AttendanceController for handling check-in and check-out operations, and AttendanceService for business logic. Implement request validation for attendance actions and enhance UI components for attendance listing, including a calendar view and detail dialog. Update permissions in the Permission and Role enums to manage attendance access, and integrate webcam functionality for capturing attendance photos. 2026-06-11 15:39:06 +07:00
Yoga Pangestu
3f05e3cdc2 Add payroll management features including Payroll, PayrollPeriod, and PayrollAdjustment models, along with PayrollService for handling payroll operations. Implement corresponding controllers for payroll and payroll period management, and integrate request validation for payroll adjustments. Enhance UI components for payroll listing and management, including data tables and modals. Update permissions in the Permission and Role enums, and add scheduled command for opening payroll periods. 2026-06-11 14:40:54 +07:00
Yoga Pangestu
39a74964fc Add employee advance management features including EmployeeAdvance model, EmployeeAdvanceController for CRUD operations, and corresponding permissions in the Permission and Role enums. Implement request validation for employee advances and enhance UI components for employee advance listing and management, including data table and form modal. Update sidebar for employee advances navigation. 2026-06-11 00:40:53 +07:00
Yoga Pangestu
e2f0feed9d Add expenses management features including Expense model, ExpenseController for CRUD operations, and corresponding permissions in the Permission and Role enums. Update routes for expenses functionality and enhance UI components for expenses navigation in the sidebar. 2026-06-10 23:56:17 +07:00
Yoga Pangestu
0e8166a7ff Add cash management features including CashAccount and CashTransaction models, CashController for handling transactions, and corresponding requests for validation. Implement permissions in the Permission and Role enums, and update routes for cash operations. Enhance UI components for cash transaction management, including a data table and form modal. Update sidebar for cash navigation. 2026-06-10 23:48:49 +07:00
Yoga Pangestu
01997dccc4 Add user settings management features including Appearance, Password, and Profile controllers for handling user preferences. Implement corresponding requests for validation and create views for each setting. Enhance middleware to manage appearance settings across the application. Update routes for new settings functionality and integrate UI components for user navigation in the settings layout. 2026-06-10 23:33:19 +07:00
Yoga Pangestu
426d7ed61c Add customer management features including Customer model, CustomerController for CRUD operations, and CustomerRequest for validation. Integrate permissions in the Permission and Role enums, and update routes for customer management. Enhance UI components for customer listing and management, including a data table and form modal. Update sidebar for customer navigation. 2026-06-10 15:49:03 +07:00
Yoga Pangestu
c21f71563f Add supplier management features including Supplier model, SupplierController for CRUD operations, and SupplierRequest for validation. Integrate permissions in the Permission and Role enums, and update routes for supplier management. Enhance UI components for supplier listing and management, including a data table and form modal. Update sidebar for supplier navigation. 2026-06-10 15:48:34 +07:00
Yoga Pangestu
887b811cee Refactor admin controllers for categories, products, and raw materials. Introduce new Master namespace for CategoryController, ProductController, and RawMaterialController, enhancing organization and maintainability. Migrate existing logic to dedicated service classes for improved separation of concerns and code clarity. Remove outdated controllers to streamline the codebase. 2026-06-10 15:02:14 +07:00
Yoga Pangestu
9e3325c16a Add raw materials management features including permissions in the Permission and Role enums, routes for CRUD operations in RawMaterialController, and UI updates in the sidebar for raw materials navigation. Enhance the application structure to support raw materials alongside existing product and category management. 2026-06-10 14:00:29 +07:00
Yoga Pangestu
448ac63260 Add product management features including Product, ProductVariant, and ProductPrice models. Implement ProductController for CRUD operations, integrate permissions in Role and Permission enums, and enhance UI components for product listing and management. Introduce new migrations for products and related entities, and update sidebar for product navigation. 2026-06-10 02:29:46 +07:00
Yoga Pangestu
432bbd110a Add category management routes, permissions, and UI components. Integrate new permissions for categories in the Permission and Role enums, and update the sidebar to include category navigation. Enhance the composer configuration by adding the Spatie Laravel Sluggable package for slug generation. 2026-06-10 02:06:14 +07:00
Yoga Pangestu
a917c76c6b Add role and permission management using Spatie's Laravel Permission package. Introduce Role and Permission enums, update User model to use roles, and implement authorization checks in EmployeeController and related components. Enhance employee management forms and data tables to include role selection and display. Update migrations and seeders for roles and permissions. 2026-06-10 01:51:05 +07:00
Yoga Pangestu
184b012fd9 Remove EmployeeStatus enum and related references from the codebase. Update Employee and User models to eliminate employee status handling. Refactor EmployeeController and related components to remove employee status filtering and display. Adjust EmployeeRequest and migration files accordingly. 2026-06-10 01:31:50 +07:00
Yoga Pangestu
926da48a8e Enhance employee and user profile models by adding formatted date attributes and relationships. Introduce enum labels for EmployeeStatus, EmploymentStatus, and Gender. Update routes for employee management with new HR controller actions. 2026-06-10 01:16:15 +07:00
Yoga Pangestu
151490d47e Add login functionality with a new LoginController and LoginRequest. Implemented a LoginForm component for user authentication. Added a components.json configuration file and updated package dependencies. Enhanced CSS styles and added utility components for UI elements. 2026-06-09 19:19:46 +07:00