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';
}
}