- Introduced routes for managing admin settings including system, homepage, social media, marketplace, and HR settings. - Created a comprehensive test suite for the AdminSettingsController to ensure proper functionality and validation of settings updates. - Implemented tests for authentication, data integrity, and realistic user scenarios to validate the settings management process.
19 lines
350 B
PHP
19 lines
350 B
PHP
<?php
|
|
|
|
namespace App\Settings;
|
|
|
|
use Spatie\LaravelSettings\Settings;
|
|
|
|
class HRSettings extends Settings
|
|
{
|
|
public string $scheduled_check_in_time;
|
|
public string $scheduled_check_out_time;
|
|
public int $late_penalty_amount;
|
|
public int $absent_penalty_amount;
|
|
|
|
public static function group(): string
|
|
{
|
|
return 'hr';
|
|
}
|
|
}
|