%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/hr/api/database/seeds/
Upload File :
Create Path :
Current File : /var/www/html/hr/api/database/seeds/ConfigurationsTableSeeder.php

<?php

use App\Models\Configuration;
use Illuminate\Database\Seeder;

class ConfigurationsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     * @throws Throwable
     */
    public function run()
    {
        Configuration::createItem([
            'should_get_holidays_from_working_day_overtime'     => false,
            'should_get_holidays_from_non_working_day_overtime' => true,
            'holidays_percentage_from_non_working_day_overtime' => 100,
            'should_postpone_holidays'                          => true,
            'holidays_validity_in_months'                       => 15,
            'overtime_percentage_on_working_day'                => 125,
            'expected_daily_working_hours'                      => 8,
            'overtime_percentage_on_non_working_day'            => 150,
            'out_sick_percentage'                               => 80,
            'annual_leave_quantity'                             => 20,
            'valid_from'                                        => '2020-01-01',
        ]);
    }
}

Zerion Mini Shell 1.0