Commit Graph

66 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
cce733e288 refactor: improve MediaDropzone file handling and input triggering with container-based scoping 2026-06-25 22:41:11 +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
66bdd86b4f refactor: remove unused check_out_photo_path from checkedInOnly state in AttendanceFactory 2026-06-22 20:54:58 +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
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
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
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
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
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
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
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
802c4e36c0 feat: implement cash transaction management with deposit and withdrawal requests, enhance UI components for better user experience 2026-06-21 00:21:27 +07:00
Yoga Pangestu
256b13ad73 feat: add prices relationship to ProductVariant model and update related services and UI for improved product pricing management 2026-06-21 00:09:23 +07:00
Yoga Pangestu
21adde11fd style: refine layout and formatting in Index.vue for improved readability and consistency 2026-06-20 21:48:26 +07:00
Yoga Pangestu
6273d1a31d feat: integrate homepage settings management in Admin and HomeController, enhancing homepage configuration capabilities 2026-06-20 12:04:58 +07:00
Yoga Pangestu
67ee140ba7 feat: add favicon support and update related configurations in SystemService, SystemRequest, and views for improved branding 2026-06-20 11:01:32 +07:00
Yoga Pangestu
5dc24b1494 feat: implement product approval workflow by adding verification, rejection, and approval functionalities, including UI updates and permission checks 2026-06-19 20:53:42 +07:00
Yoga Pangestu
2a2cc0fb96 feat: add shipping cost field to purchase management, including validation, calculations, and UI updates for total cost 2026-06-19 19:19:50 +07:00
Yoga Pangestu
db3f6887ea feat: add sewing and other cost fields to cutting management, including validation, calculations, and UI updates for total production cost 2026-06-19 19:11:58 +07:00
Yoga Pangestu
2db6dfece9 feat: enhance cutting management by adding result prices handling, including validation and calculations for total material cost and cost per unit 2026-06-19 19:04:23 +07:00
Yoga Pangestu
55b779c76e feat: implement attendance management features including penalty application, reminders, and HR settings management 2026-06-18 01:52:50 +07:00
Yoga Pangestu
fe7a3e4813 feat: add shipping cost field to order management, including validation, formatting, and UI updates 2026-06-18 01:33:35 +07:00
Yoga Pangestu
1af4af70fa feat: add is_affiliate field to order management, including validation, database migration, and UI updates 2026-06-18 00:57:47 +07:00
Yoga Pangestu
191743632b feat: introduce PaymentType enum and integrate payment type selection in order management, including validation and UI updates 2026-06-18 00:33:39 +07:00
Yoga Pangestu
91f7858cfe feat: add cash withdrawal functionality, including permission, controller method, and UI updates 2026-06-18 00:16:49 +07:00
Yoga Pangestu
69d2212d64 refactor: restrict marketing role permissions and add employee advances and payroll access 2026-06-14 16:43:46 +07:00
Yoga Pangestu
175cb4acab refactor: make employee employment fields nullable and update related salary calculations and display logic 2026-06-14 15:29:08 +07:00
Yoga Pangestu
d076df9d72 feat: implement CRUD functionality for payroll adjustments including update and delete operations 2026-06-14 14:38:38 +07:00
Yoga Pangestu
e6ed485718 refactor: remove photo attachment functionality from employee advances module 2026-06-14 13:48:48 +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
d50310c078 feat: replace welcome page with new Home controller and product catalog view, while updating date formatting and Vite config 2026-06-14 01:51:44 +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
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
64088c82bb Refactor order and payroll models to replace 'net_amount' with 'total_amount'. Update related methods, migrations, factories, and frontend components to ensure consistent handling of total amounts across the application. 2026-06-13 00:31:53 +07:00
Yoga Pangestu
521e8c5538 Implement stock warning functionality for products and raw materials. Add minStock method to RawMaterialUnit enum and ProductVariant model. Enhance ProductService and RawMaterialService with stockWarningGroups method to identify items below minimum stock levels. Update admin index pages to display stock warning groups in MasterOutOfStockCatalogSection component. 2026-06-13 00:24:05 +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
1d1f0e7941 Add activity logging features by integrating Spatie's laravel-activitylog package. Update Permission and Role enums to include activity log permissions. Implement activity logging in Login and Logout controllers. Enhance sidebar navigation to include activity logs section. Update models to interact with activity logs through InteractsWithActivityLog concern. 2026-06-12 11:10:36 +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
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