{% extends 'HRMBundle::layout.html.twig' %} {% block section %} New Employee {% endblock %} {% block stylesheets %} {{parent()}} {% endblock %} {% block body %} {{parent()}} {% spaceless %} {# Email Check #}
1) Check If User exists on Colabora Network
{# Form New Employee, new Contract #}
{# EMPLOYEE INFORMATION #}
2) New Employee Data
{##} {##} {##} {##}
Addressed As
Name Middlenames Lastnames
Gender
{{entity.id}}Department Add Department Professional Profile Role
Internal Telephone Corporate Email Colabora Main Email
DNI
Birth Date Birth Place Emergency Contact
CV {{form_widget(form.cv)}}Responsible User {{form_widget(form.user)}}
Bank Account
{# CONTRACT INFORMATION #}
3) New Contract Data
Name Middlenames Lastnames
DNI Social Insurance Number
Birth Place Academic Title
Start Date End Date
Position
Site
Addresses
Upload Contract: {##} {{form_widget(form2.contractpath, {'attr':{'class':'file'}} )}}
{# BUTTON GROUP SUBMIT #}
{% endspaceless %} {% endblock body %} {% block javascripts %} {{parent()}} {# Fill the input texts with webservice #} {# Reload Input text #} {# Date Picker #} {# Date Picker Birthday #} {% endblock javascripts %}