Commit Graph

193 Commits

Author SHA1 Message Date
Yoga Pangestu
cc3cd03e41 feat: enhance raw material management by adding validation for updates and deletions, and improve error handling in the UI 2026-08-15 22:40:36 +07:00
Yoga Pangestu
6fa9224983 feat: fix raw material photo display in Cutting and Purchase pages by adding conversion URLs 2026-08-15 20:30:04 +07:00
Yoga Pangestu
ef136bd1e7 feat: add total price calculations for raw materials and products in analysis components 2026-08-15 20:16:49 +07:00
Yoga Pangestu
25a316ccf0 feat: add negotiation price to marketing sales calculations and update header label for discounts 2026-08-15 20:03:08 +07:00
Yoga Pangestu
dd3a2aa1eb feat: update material usage and stock fields to use decimal type for improved precision 2026-08-15 20:03:00 +07:00
Yoga Pangestu
a10519ab9d feat: enhance Restock feature by adding photo URLs to Restock model and displaying images in RestockCard 2026-08-15 16:26:12 +07:00
Yoga Pangestu
bac9f79087 feat: enhance AttendanceIndex component by adding 'Belum Pulang' badge and improving check-out display logic 2026-08-15 16:15:40 +07:00
Yoga Pangestu
17273c9479 feat: enhance Employee data structure by adding resign_date and improving salary display in employee columns 2026-08-15 16:12:06 +07:00
Yoga Pangestu
7371a9e517 feat: update notification retrieval to use pagination and enhance loading experience 2026-08-15 15:23:44 +07:00
Yoga Pangestu
41a32b08f2 feat: refactor getForRestock and getForTransaction methods to improve media handling and streamline data retrieval 2026-08-15 14:59:06 +07:00
Yoga Pangestu
0d1e6ba1fe feat: simplify pay method in PayrollPeriodService by removing cash transaction handling 2026-08-15 14:02:21 +07:00
Yoga Pangestu
4758b19d2a feat: add byMonth method to AttendanceController and corresponding service logic 2026-08-15 13:46:30 +07:00
Yoga Pangestu
86cc8637bd feat: remove summary calculation and related component from Transaction management 2026-08-15 13:19:37 +07:00
Yoga Pangestu
ae376342af feat: add delete all notifications feature in NotificationController and update NotificationBell component 2026-08-15 11:09:23 +07:00
Yoga Pangestu
22c9a4cf2a feat: add notification highlight feature to various services and frontend components
- Updated paginated methods in multiple services to accept a highlight parameter for filtering results.
- Modified notification URLs to include the highlight parameter for specific entity IDs.
- Enhanced frontend components to display a message when filtered by notification, with an option to show all entries.
- Implemented mark as read functionality in the notification bell component upon clicking a notification.
- Updated multiple index pages to handle the highlight prop and display relevant messages.
2026-08-15 00:11:40 +07:00
Yoga Pangestu
8194a71c68 feat: optimize stock management in CuttingService and PurchaseService, and remove unused media loading in RawMaterialVariantService 2026-08-14 23:12:04 +07:00
Yoga Pangestu
8c26f942bf feat: update photo handling to support multiple images in PurchaseRequest and related components 2026-08-14 22:59:21 +07:00
Yoga Pangestu
018c3adf12 feat: update photo handling to support multiple images in CuttingRequest and related components 2026-08-14 22:34:13 +07:00
Yoga Pangestu
703cdb8b8b feat: add complete action for cuttings with notification and update route 2026-08-14 22:13:22 +07:00
Yoga Pangestu
9ab2b0505c feat: enhance notification system with new NotificationService methods and integrate notifications for various actions in services 2026-08-14 21:37:03 +07:00
Yoga Pangestu
c2354440e3 feat: implement lazy loading for restock items, optimize data fetching in Restock service and controller 2026-08-14 07:17:34 +07:00
Yoga Pangestu
0344648b74 feat: implement lazy loading for transaction items, optimize data fetching in Transaction service and controller 2026-08-14 07:07:13 +07:00
Yoga Pangestu
910be15abc feat: implement lazy loading for cutting materials and combinations, optimize data fetching in Cutting service and controller 2026-08-14 07:02:51 +07:00
Yoga Pangestu
113f9a7c4f feat: implement lazy loading for purchase items and optimize data fetching 2026-08-14 06:55:32 +07:00
Yoga Pangestu
ce901c2c8b feat: add variants endpoint and update product/raw material models for variant handling 2026-08-14 06:48:28 +07:00
Yoga Pangestu
b954e3cb84 refactor: update AnalysisService and index.tsx to streamline stock calculations and remove unused values 2026-08-14 06:07:47 +07:00
Yoga Pangestu
5fd0ab135d feat: add NotificationPermissionPrompt component for handling push notification permissions 2026-08-14 05:44:51 +07:00
Yoga Pangestu
c49027492c feat: add SendAttendanceReminderJob to notify users for attendance reminders 2026-08-14 05:10:29 +07:00
Yoga Pangestu
ae1cc7b9a9 feat: enhance expense summary and monthly expense calculations with user role-based purchase visibility 2026-08-14 04:21:26 +07:00
Yoga Pangestu
7fa20fbc3c feat: update payroll generation logic to schedule on the 5th of each month and adjust attendance penalties calculation 2026-08-14 04:08:13 +07:00
Yoga Pangestu
7976a457f5 refactor: improve code readability by standardizing spacing and formatting in TransactionService 2026-08-14 03:31:52 +07:00
Yoga Pangestu
49841a662c Refactor marketplace settings: remove MarketplaceFeeRule, update related database and UI components
- Deleted MarketplaceFeeRule class and its usage in settings migration.
- Removed 'is_affiliate' field from orders and related factories.
- Updated notifications table to use longText for body.
- Adjusted role permissions by removing marketplace-related permissions.
- Cleaned up admin settings page by removing marketplace settings section and related components.
- Updated tests to reflect the removal of marketplace settings and ensure other settings remain unaffected.
2026-08-14 03:20:18 +07:00
Yoga Pangestu
0aae00a96b feat: enhance revenue analysis by adding payroll and expense calculations 2026-08-14 00:32:37 +07:00
Yoga Pangestu
78c432eaa0 feat: add base salary default value to employee edit form 2026-08-14 00:05:59 +07:00
Yoga Pangestu
863d0e7b98 feat: add share functionality for cutting resource with route and controller method 2026-08-13 23:37:04 +07:00
Yoga Pangestu
95df2e9dc7 feat: optimize cash overview calculations for total balance, deposits, and withdrawals 2026-08-13 21:20:53 +07:00
Yoga Pangestu
8053ea2db4 feat: Enhance leave request and transaction management with user-specific data
- Added current user ID to leave request index for better context.
- Updated transaction management to include user-specific filters and summaries.
- Enhanced analysis service methods to incorporate user context for attendance and revenue metrics.
- Modified dashboard service to reflect user-specific attendance and financial summaries.
- Implemented role-based access control in leave request service for update and delete actions.
- Adjusted frontend components to utilize user-specific data for leave requests and transactions.
- Removed unused permissions from role seeder for cleaner access control.
2026-08-13 21:08:39 +07:00
Yoga Pangestu
5e07a1b910 feat: update LeaveRequest status check to use LeaveRequestStatus enum 2026-08-13 18:23:00 +07:00
Yoga Pangestu
867517f034 feat: enhance employee advances migration logic to update status values 2026-08-13 17:44:29 +07:00
Yoga Pangestu
b905c0a2c6 feat: update EmployeeAdvance status values and related logic, modify notifications accordingly 2026-08-13 17:36:55 +07:00
Yoga Pangestu
7d21a1e6db feat: add cart context and functionality, update welcome page with new components and styles
- Implemented CartContext for managing cart state, including adding, removing, and updating items.
- Added CartDrawer component to display cart items.
- Updated AppHeader to include cart item count.
- Enhanced welcome page with new layout, improved product image handling, and updated call-to-action buttons.
- Refactored homepage data types to accommodate new features and removed unused properties.
2026-08-13 17:19:56 +07:00
Yoga Pangestu
1c9532199c feat: add is_featured attribute and toggle functionality for products 2026-08-13 12:02:49 +07:00
Yoga Pangestu
5c1343d575 feat: remove subtotal from restock model, migration, and related components 2026-08-13 11:30:20 +07:00
Yoga Pangestu
e61f6fce7e feat: implement data fixing commands for various entities including cuttings, orders, and pricing 2026-08-13 11:11:08 +07:00
Yoga Pangestu
71a7863244 feat: remove submittedCuttings relation and related attributes from Cutting and User models; update cuttings migration to remove submitted_by_id 2026-08-13 10:49:06 +07:00
Yoga Pangestu
a778e2f499 feat: add cutting detail view and enhance cutting data handling in various components 2026-08-13 10:35:04 +07:00
Yoga Pangestu
5182dcc012 feat: enhance search functionality in paginated methods to include related product and raw material variants 2026-08-13 08:48:44 +07:00
Yoga Pangestu
5a89a0d1e3 feat: update attribute labels in various request files to use lowercase Indonesian terms for consistency 2026-08-13 08:39:32 +07:00
Yoga Pangestu
1f41f04199 feat: remove unused media collection clearing in destroy methods and add CleanupOrphanedMediaJob for orphaned media management 2026-08-13 00:39:46 +07:00
Yoga Pangestu
e1a0d25c3c feat: update relationships in models to include trashed records for CuttingMaterial, OrderItem, ProductVariant, and RestockItem 2026-08-13 00:28:10 +07:00