Yoga Pangestu
636508c5c0
feat: enhance stock calculations by loading all variants and prices in product and raw material services
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-30 11:42:52 +07:00
Yoga Pangestu
9089b32d7b
refactor: streamline variant and price loading in product-related services
...
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
- Removed unnecessary ordering by 'created_at' in variant loading across multiple services and models.
- Implemented global scopes for ordering product variants and raw material prices by 'name' and 'variant', respectively.
- Enhanced code readability and maintainability by simplifying query structures in ProductController, OrderService, and others.
2026-07-29 15:06:16 +07:00
Yoga Pangestu
7dec701770
feat: add total quantity formatting to Purchase model and update related components
...
- Implemented totalQuantityFormatted method in Purchase model to format total quantities by unit.
- Updated PurchaseGroupedTable.vue to display total quantity formatted in the purchase details.
- Modified TypeScript type definition to include total_quantity_formatted property.
2026-07-29 08:59:02 +07:00
Yoga Pangestu
1d5863efaf
feat: integrate activity log functionality in ProductPrice model and enhance change formatting in ActivityLogService
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-27 23:00:22 +07:00
Yoga Pangestu
d74d120a6c
feat: refactor stock mutation relationships in ProductVariant and RawMaterialPrice models
2026-07-27 22:46:25 +07:00
Yoga Pangestu
3052398ad8
feat: add stock mutation tracking and history feature
...
- Introduced StockMutation model and service to handle stock changes.
- Created migration for stock_mutations table.
- Implemented stock mutation recording in various services (CuttingService, OrderService, PurchaseService, RestockService, RetailStockService).
- Added StockHistoryController to manage stock history views.
- Developed frontend components for displaying stock history and actions.
- Updated routes to include stock history access with appropriate permissions.
- Enhanced ProductVariant and RawMaterialPrice models to support stock mutations.
- Added RowHistoryAction button for accessing stock history in product and raw material tables.
2026-07-27 22:45:49 +07:00
Yoga Pangestu
9539ff7042
refactor: remove StockController and related stock verification logic
...
- Deleted `data-table-actions.vue` component as it is no longer needed.
- Removed `CuttingResultPriceItem` type and related properties from `cutting.ts`.
- Updated routes in `web.php` to eliminate stock verification routes and permissions.
- Removed `StockTest.php` file and its associated tests for stock verification and management.
- Adjusted `CuttingTest.php` to reflect changes in cutting results handling and removed references to product variants.
2026-07-19 17:29:19 +07:00
Yoga Pangestu
cf5b300895
Refactor product status management: replace is_active with status enum
...
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
- Updated the OwnerVerificationRequest model to change pendingToggleIsActive to pendingToggleStatus, reflecting the new status structure.
- Refactored the Product model to replace is_active with status, utilizing the ProductStatus enum for better clarity and type safety.
- Modified the ProductService to accommodate the new status field, including pagination and creation logic.
- Adjusted the AnalysisService to filter products based on their status.
- Updated the VerificationChangeFormatter to handle the new status field.
- Created a migration to remove is_active from the products table and add status with appropriate default values.
- Refactored the ProductSeeder to use the new status field.
- Updated frontend components and types to reflect the changes from is_active to status.
- Adjusted tests to ensure they validate the new status logic correctly.
2026-07-18 16:34:34 +07:00
Yoga Pangestu
62beb309a8
feat: implement restock management features including CRUD operations, permissions, and UI components for creating and editing restocks
2026-07-13 19:15:17 +07:00
Yoga Pangestu
fe5dfd382f
refactor: update relationships in models to include withTrashed() for soft deletes, ensuring proper handling of related records
2026-07-10 11:07:07 +07:00
Yoga Pangestu
1c4f82529c
feat: enhance stock formatting methods in Product and RawMaterial models to handle unloaded relations gracefully
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-08 13:11:19 +07:00
Yoga Pangestu
00ef124fb3
feat: add predis/predis dependency and implement caching in various services for improved performance
2026-07-05 23:31:55 +07:00
Yoga Pangestu
0d77d6a4fd
feat: add stock quality management to StokOpname; update validation rules, database schema, and frontend components to support stock quality categorization (good, retail, reject) for improved inventory tracking and reporting
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-05 13:46:50 +07:00
Yoga Pangestu
15e2b7ec5b
feat: add material_result field to CuttingMaterial and CuttingMaterialCombination; update validation rules and service logic to handle new material result calculations; enhance frontend components for displaying material results in cutting management
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-04 23:14:37 +07:00
Yoga Pangestu
a3ff10d6e1
refactor: remove unused Carbon imports from Attendance and Employee models; update ProfileService to use UserProfile directly; clean up imports in various service files for improved clarity
2026-07-04 21:54:31 +07:00
Yoga Pangestu
ba3f7ef9f9
feat: add CuttingMaterialCombination management with store and destroy functionalities; implement validation for combination requests; enhance CuttingService to handle draft combinations; update frontend components for combination handling and display
2026-07-04 21:54:01 +07:00
Yoga Pangestu
8404b8af41
feat: enhance ApplyAttendancePenalties command with transaction management and system user tracking; refactor attendance penalty logic for improved clarity and efficiency; update PayrollService to utilize transaction handling for adjustments; schedule attendance penalties application in app bootstrap
2026-07-04 15:05:25 +07:00
Yoga Pangestu
f1c3658166
feat: refactor EmployeeController and EmployeeService to utilize Role enum for role options; implement transaction management in EmployeeService methods for create, update, toggle status, and delete operations; enhance Employee model date formatting methods; update frontend components for improved UI and code clarity
2026-07-04 12:35:18 +07:00
Yoga Pangestu
786d0fdb39
feat: implement transaction management in AttendanceService for check-in and check-out processes; refactor attendance date formatting in Attendance model; enhance AttendanceDetailDialog and Index components for improved UI and code clarity
2026-07-04 12:00:52 +07:00
Yoga Pangestu
e153497114
feat: implement ensureEditable method in LeaveRequest model for validation; update LeaveRequestController and LeaveRequestService to handle editability checks and transaction management for update and delete operations; enhance LeaveRequestService with new methods for pending requests and index page data
2026-07-04 00:29:57 +07:00
Yoga Pangestu
a8ab96b10b
feat: add ensureEditable method in EmployeeAdvance model for validation; update EmployeeAdvanceController to handle editability checks; enhance PayEmployeeAdvanceRequest with attribute mapping; refactor EmployeeAdvanceService to utilize transaction handling for create, update, delete, approve, and reject methods
2026-07-04 00:09:14 +07:00
Yoga Pangestu
c685f45bcf
refactor: replace UpdateCashTransactionRequest with CashTransactionRequest in CashController; add ensureEditable method in CashTransaction model for validation; update CashService to use transaction handling methods; enhance CashTest descriptions for clarity
2026-07-03 23:44:42 +07:00
Yoga Pangestu
3d00511626
feat: enhance PresignedUploadController to support local uploads and improve S3 integration; add localUpload method for handling uploads when S3 is not the default disk
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Has been cancelled
tests / ci (8.4) (push) Has been cancelled
tests / ci (8.5) (push) Has been cancelled
2026-07-02 22:53:28 +07:00
Yoga Pangestu
7c307b991e
refactor: remove nonQueued() method from media conversion in HasModuleMedia for cleaner code
2026-07-02 09:28:58 +07:00
Yoga Pangestu
13a75a1a25
feat: add AWS S3 and FTP support by including league/flysystem-aws-s3-v3 and league/flysystem-ftp packages; enhance UserProfile and MediaPresenter for temporary URL generation
2026-07-01 23:09: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
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
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
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
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
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
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
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