Commit Graph

4 Commits

Author SHA1 Message Date
Yoga Pangestu
0023309a8f Refactor services to improve role checks and streamline data retrieval
- Updated CustomerService to simplify getAll method.
- Refactored ProductService to utilize HasRoleChecks trait and improved role verification logic.
- Enhanced ProductVariantService with new methods for fetching data for restocking and transactions.
- Cleaned up RawMaterialService by removing unused methods and improving data retrieval.
- Adjusted SupplierService to streamline getAll method.
- Refactored RoleService to use Spatie's Role model and improved role filtering logic.
- Updated NotificationService to handle role labels more effectively.
- Improved StockMutationService by removing redundant paginated method.
- Cleaned up various frontend components to directly accept necessary props instead of nested data objects.
- Updated tests to reflect changes in service method names and ensure proper notification handling.
2026-08-09 11:33:25 +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
d90d2261ac feat: implement cash and stock handling traits for improved transaction management 2026-08-04 21:57:38 +07:00
Yoga Pangestu
79cd9a8c39 feat: implement RegistersMedia trait for media handling across services 2026-08-01 13:36:32 +07:00