dstpabuaran.com/app/Models
Yoga Pangestu 67e5a6271f Add tests for CheckAttendancePenaltiesJob to validate attendance penalties logic
- Implement tests to ensure job skips execution on weekends, when penalties are zero, or when no payroll period exists.
- Validate late penalty creation for late check-ins and ensure no penalties for on-time or early check-ins.
- Test absent penalties for employees without attendance records.
- Ensure no duplicate penalties are created and that payroll recalculations are accurate after penalties are applied.
- Handle multiple employees and edge cases, including employees without associated users.
- Verify that the job can be dispatched to the queue and has the correct retry configuration.
2026-07-31 11:13:46 +07:00
..
AppNotification.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
Attendance.php Add tests for CheckAttendancePenaltiesJob to validate attendance penalties logic 2026-07-31 11:13:46 +07:00
CashAccount.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
CashTransaction.php feat: add receipt handling and media upload functionality to CashTransaction and CashAccount components 2026-07-30 10:28:18 +07:00
Category.php feat: implement category management with CRUD functionality and integrate sluggable for SEO-friendly URLs 2026-07-29 01:11:53 +07:00
Customer.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
Cutting.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
CuttingMaterial.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
CuttingMaterialCombination.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
CuttingResult.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
Employee.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
EmployeeAdvance.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
Expense.php feat: enhance Expense model and service with media handling and receipt upload functionality 2026-07-30 10:21:51 +07:00
HomepageConfiguration.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
LeaveRequest.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
Order.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
OrderItem.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
OwnerVerificationRequest.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
Payroll.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
PayrollAdjustment.php feat: add payroll management features including payroll periods, adjustments, and payment processing 2026-07-30 17:06:52 +07:00
PayrollPeriod.php feat: add payroll management features including payroll periods, adjustments, and payment processing 2026-07-30 17:06:52 +07:00
Product.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
ProductCategory.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
ProductPrice.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
ProductVariant.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
Purchase.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
PurchaseItem.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
PushSubscription.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
RawMaterial.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
RawMaterialPrice.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
Rejection.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
Restock.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
RestockItem.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
RetailStockHistory.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
StockMutation.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
StokOpname.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
StokOpnameItem.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
Supplier.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
SystemConfiguration.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00
User.php feat: update User model and UserInfo component to use full_name attribute 2026-07-30 13:51:09 +07:00
UserProfile.php refactor: replace Hidden attribute with Guarded in model classes for improved attribute management 2026-07-29 00:59:45 +07:00