- Implemented routes for managing payroll periods, including current, close, and reopen functionalities. - Added payroll payment and cancellation routes. - Introduced payroll adjustments with store and delete functionalities. - Created comprehensive feature tests for payroll management, covering authentication, CRUD operations, and business logic. - Ensured proper handling of payroll adjustments and their impact on payroll totals. - Developed tests for generating payrolls and managing payroll periods, ensuring accurate status transitions and data integrity.
14 lines
183 B
PHP
14 lines
183 B
PHP
<?php
|
|
|
|
namespace App\Enums;
|
|
|
|
use App\Enums\Concerns\HasValues;
|
|
|
|
enum PayrollAdjustmentType: string
|
|
{
|
|
use HasValues;
|
|
|
|
case BONUS = 'bonus';
|
|
case DEDUCTION = 'deduction';
|
|
}
|