store/app/Models
Yoga Pangestu 9089b32d7b
Some checks are pending
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
refactor: streamline variant and price loading in product-related services
- 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
..
Concerns refactor: remove nonQueued() method from media conversion in HasModuleMedia for cleaner code 2026-07-02 09:28:58 +07:00
Attendance.php 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
CashAccount.php 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
CashTransaction.php 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
Category.php 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
Customer.php 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
Cutting.php refactor: remove StockController and related stock verification logic 2026-07-19 17:29:19 +07:00
CuttingMaterial.php 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
CuttingMaterialCombination.php 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
CuttingResult.php refactor: remove StockController and related stock verification logic 2026-07-19 17:29:19 +07:00
Employee.php 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
EmployeeAdvance.php 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
EmployeeAdvancePayment.php 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
Expense.php 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
HomepageConfiguration.php 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
LeaveRequest.php 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
Notification.php 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
Order.php 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
OrderItem.php 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
OwnerVerificationRequest.php Refactor product status management: replace is_active with status enum 2026-07-18 16:34:34 +07:00
Payroll.php 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
PayrollAdjustment.php 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
PayrollPeriod.php 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
Product.php refactor: streamline variant and price loading in product-related services 2026-07-29 15:06:16 +07:00
ProductPrice.php feat: integrate activity log functionality in ProductPrice model and enhance change formatting in ActivityLogService 2026-07-27 23:00:22 +07:00
ProductVariant.php refactor: streamline variant and price loading in product-related services 2026-07-29 15:06:16 +07:00
Purchase.php feat: add total quantity formatting to Purchase model and update related components 2026-07-29 08:59:02 +07:00
PurchaseItem.php 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
PushSubscription.php 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
RawMaterial.php refactor: streamline variant and price loading in product-related services 2026-07-29 15:06:16 +07:00
RawMaterialPrice.php refactor: streamline variant and price loading in product-related services 2026-07-29 15:06:16 +07:00
Rejection.php 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
Restock.php 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
RestockItem.php 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
RetailStockHistory.php 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
StockMutation.php feat: add stock mutation tracking and history feature 2026-07-27 22:45:49 +07:00
StokOpname.php 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
StokOpnameItem.php 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
Supplier.php 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
SystemConfiguration.php 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
User.php 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
UserProfile.php 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