HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/dvpis2025/dvpis.kaunokolegija.lt/src/Form/YearInformationType.php
<?php

namespace App\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;

class YearInformationType extends AbstractType
{
    /**
     * {@inheritdoc}
     */
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder
                ->add('year', null, ['label' => 'Metai'])
                ->add('lecturerWorkHours', null, ['label' => 'Dėstytojo darbo valandų skaičius etate'])
                ->add('bma', null, ['label' => 'BMA (bazinė mėnesinė alga)'])
                ->add('bsi', null, ['label' => 'BSI (bazinė socialinė išmoka)'])
                ->add('lecturerDu', null, ['label' => 'Dėstytojų DU'])
                ->add('employeeDu', null, ['label' => 'Darbuotojų DU'])
                ->add('services', null, ['label' => 'Prekėms ir paslaugoms'])
                ->add('students', null, ['label' => 'Studentams skatinti'])
                ->add('evaluationCoef', null, ['label' => 'Vertinimo koeficientas'])
                ->add('preparationCoef', null, ['label' => 'Pasirengimo koeficientas'])
        ;
    }

    /**
     * {@inheritdoc}
     */
    public function configureOptions(OptionsResolver $resolver)
    {
        $resolver->setDefaults(array(
            'data_class' => 'App\Entity\YearInformation'
        ));
    }

    /**
     * {@inheritdoc}
     */
    public function getBlockPrefix()
    {
        return 'App_yearinformation';
    }
}