<commit_before>{% extends 'base.html.twig' %}

{% block title -%}
    {%- if employee.salutation == 'Herr' -%}
        Mitarbeiter
    {%- elseif employee.salutation == 'Frau' -%}
        Mitarbeiterin
    {%- else -%}
        Mitarbeiter/In
    {%- endif %} ({{ event.title }})
{% endblock %}
{% block body %}
    {% if is_granted('comment_add', event) or is_granted('comment_read', event) -%}
    <div class="modal fade" id="dialogModalComment" tabindex="-1" role="dialog" aria-labelledby="dialogModalCommentLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Abbrechen"><span
                                aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="dialogModalCommentLabel">Anmerkungen</h4>
                </div>
                <div class="modal-body">
                    <div class="form-group">
                        <input type="hidden" id="modalCommentToken" value="{{ csrf_token('Comment') }}" />
                        <textarea class="form-control" id="modalCommentContent"></textarea>
                    </div>
                    <p class="meta"></p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Abbrechen</button>
                    <button type="button" class="btn btn-primary" id="dialogModalCommentButton">Bestätigen</button>
                </div>
            </div>
        </div>
    </div>
    {% endif -%}
    <div class="modal fade" id="dialogModal" tabindex="-1" role="dialog" aria-labelledby="dialogModalLabel">
        <div class="modal-dialog" role="document">
            {{ form_start(formAction) }}
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Abbrechen"><span
                                aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="dialogModalLabel"></h4>
                </div>
                <div class="modal-body">
                    <p></p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Abbrechen
                    </button>
                    <input type="submit" class="btn btn-primary" value="Bestätigen"/>
                </div>
            </div>
            {{ form_end(formAction) }}
        </div>
    </div>
    <div class="modal fade" id="dialogModalAssignUser" tabindex="-1" role="dialog" aria-labelledby="dialogModalLabelAssignUser">
        <div class="modal-dialog" role="document">
            {{ form_start(formAssignUser) }}
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Abbrechen"><span
                                aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="dialogModalLabelAssignUser">Benutzerkonto verknüpfen</h4>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="col-xs-12">
                            {{ form_widget(formAssignUser.assignedUser) }}
                            <p class="help-block">Wenn der Mitarbeiter über ein Benutzerkonto verfügt, kann es hier
                                verknüpft verden. Es können nur Benutzer verknüpft werden, die die Rolle
                                <i>{{ constant('AppBundle\\Entity\\User::ROLE_EMPLOYEE_LABEL') }}</i> zugewiesen haben.
                            </p>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Abbrechen
                    </button>
                    <input type="submit" class="btn btn-primary" value="Bestätigen"/>
                </div>
            </div>
            {{ form_end(formAssignUser) }}
        </div>
    </div>
    <div class="modal fade" id="dialogPayment" tabindex="-1" role="dialog" aria-labelledby="dialogPaymentLabel"
         data-token="{{ csrf_token('Employee' ~ 'payment' ) }}">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Abbrechen"><span
                                aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="dialogPriceConfigurationLabel">Aufwandsentschädigung</h4>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="col-xs-12">
                            <table class="table table-striped table-condensed">
                                <thead>
                                <tr>
                                    <td class=" text-right">Betrag</td>
                                    <td>Feld</td>
                                    <td>Option</td>
                                </tr>
                                </thead>
                                <tbody>
                                {% for summand in summands %}
                                    <tr>
                                        <td class="value text-right">{{ summand.getValue(true)|number_format(2, ',', ".") }}&nbsp;€</td>
                                        {% if summand is instanceof('AppBundle\\Manager\\Payment\\PriceSummand\\FilloutChoiceSummand') %}
                                            <td>{{ summand.attribute.managementTitle }}</td>
                                            <td>{{ summand.choice.getManagementTitle(true) }}</td>
                                        {% elseif summand is instanceof('AppBundle\\Manager\\Payment\\PriceSummand\\FilloutSummand') %}
                                            <td colspan="2">{{ summand.attribute.managementTitle }}</td>
                                        {% else %}
                                            <td colspan="2"><code>{{ summand.type }}</code></td>
                                        {% endif %}
                                    </tr>
                                {% endfor %}
                                </tbody>
                                <tfoot>
                                    <tr class="total">
                                        <td class="value text-right">{{ summandsTotal|number_format(2, ',', ".") }}&nbsp;€</td>
                                        <td colspan="2"><b>Summe</b></td>
                                    </tr>
                                </tfoot>
                            </table>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Schließen</button>
                </div>
            </div>
        </div>
    </div>
    <div class="container participation-panels collapse-breadcrumb-header">
        <div class="row">
            <div class="col-xs-12">
                <ol class="breadcrumb">
                    <li><a href="{{ path('homepage') }}">{{ appTitle }}</a></li>
                    <li><a href="{{ path('event_list') }}">Veranstaltungen</a></li>
                    <li><a href="{{ path('event', {'eid': event.eid }) }}">{{ event.title }}</a></li>
                    <li><a href="{{ path('admin_event_employee_list', {'eid': event.eid }) }}">Mitarbeiter</a></li>
                    <li class="active">{{ employee.fullname }}</li><commit_msg>No longer trying to support AppBundle\\Manager\\Payment\\PriceSummand\\FilloutChoiceSummand<commit_after>{% extends 'base.html.twig' %}

{% block title -%}
    {%- if employee.salutation == 'Herr' -%}
        Mitarbeiter
    {%- elseif employee.salutation == 'Frau' -%}
        Mitarbeiterin
    {%- else -%}
        Mitarbeiter/In
    {%- endif %} ({{ event.title }})
{% endblock %}
{% block body %}
    {% if is_granted('comment_add', event) or is_granted('comment_read', event) -%}
    <div class="modal fade" id="dialogModalComment" tabindex="-1" role="dialog" aria-labelledby="dialogModalCommentLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Abbrechen"><span
                                aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="dialogModalCommentLabel">Anmerkungen</h4>
                </div>
                <div class="modal-body">
                    <div class="form-group">
                        <input type="hidden" id="modalCommentToken" value="{{ csrf_token('Comment') }}" />
                        <textarea class="form-control" id="modalCommentContent"></textarea>
                    </div>
                    <p class="meta"></p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Abbrechen</button>
                    <button type="button" class="btn btn-primary" id="dialogModalCommentButton">Bestätigen</button>
                </div>
            </div>
        </div>
    </div>
    {% endif -%}
    <div class="modal fade" id="dialogModal" tabindex="-1" role="dialog" aria-labelledby="dialogModalLabel">
        <div class="modal-dialog" role="document">
            {{ form_start(formAction) }}
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Abbrechen"><span
                                aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="dialogModalLabel"></h4>
                </div>
                <div class="modal-body">
                    <p></p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Abbrechen
                    </button>
                    <input type="submit" class="btn btn-primary" value="Bestätigen"/>
                </div>
            </div>
            {{ form_end(formAction) }}
        </div>
    </div>
    <div class="modal fade" id="dialogModalAssignUser" tabindex="-1" role="dialog" aria-labelledby="dialogModalLabelAssignUser">
        <div class="modal-dialog" role="document">
            {{ form_start(formAssignUser) }}
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Abbrechen"><span
                                aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="dialogModalLabelAssignUser">Benutzerkonto verknüpfen</h4>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="col-xs-12">
                            {{ form_widget(formAssignUser.assignedUser) }}
                            <p class="help-block">Wenn der Mitarbeiter über ein Benutzerkonto verfügt, kann es hier
                                verknüpft verden. Es können nur Benutzer verknüpft werden, die die Rolle
                                <i>{{ constant('AppBundle\\Entity\\User::ROLE_EMPLOYEE_LABEL') }}</i> zugewiesen haben.
                            </p>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Abbrechen
                    </button>
                    <input type="submit" class="btn btn-primary" value="Bestätigen"/>
                </div>
            </div>
            {{ form_end(formAssignUser) }}
        </div>
    </div>
    <div class="modal fade" id="dialogPayment" tabindex="-1" role="dialog" aria-labelledby="dialogPaymentLabel"
         data-token="{{ csrf_token('Employee' ~ 'payment' ) }}">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Abbrechen"><span
                                aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="dialogPriceConfigurationLabel">Aufwandsentschädigung</h4>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="col-xs-12">
                            <table class="table table-striped table-condensed">
                                <thead>
                                <tr>
                                    <td class=" text-right">Betrag</td>
                                    <td>Feld</td>
                                </tr>
                                </thead>
                                <tbody>
                                {% for summand in summands %}
                                    <tr>
                                        <td class="value text-right">{{ summand.getValue(true)|number_format(2, ',', ".") }}&nbsp;€</td>
                                        {% if summand is instanceof('AppBundle\\Manager\\Payment\\PriceSummand\\FilloutSummand') %}
                                            <td>{{ summand.attribute.managementTitle }}</td>
                                        {% else %}
                                            <td><code>{{ summand.type }}</code></td>
                                        {% endif %}
                                    </tr>
                                {% endfor %}
                                </tbody>
                                <tfoot>
                                    <tr class="total">
                                        <td class="value text-right">{{ summandsTotal|number_format(2, ',', ".") }}&nbsp;€</td>
                                        <td colspan="2"><b>Summe</b></td>
                                    </tr>
                                </tfoot>
                            </table>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Schließen</button>
                </div>
            </div>
        </div>
    </div>
    <div class="container participation-panels collapse-breadcrumb-header">
        <div class="row">
            <div class="col-xs-12">
                <ol class="breadcrumb">
                    <li><a href="{{ path('homepage') }}">{{ appTitle }}</a></li>
                    <li><a href="{{ path('event_list') }}">Veranstaltungen</a></li>
                    <li><a href="{{ path('event', {'eid': event.eid }) }}">{{ event.title }}</a></li>
                    <li><a href="{{ path('admin_event_employee_list', {'eid': event.eid }) }}">Mitarbeiter</a></li>
                    <li class="active">{{ employee.fullname }}</li>
{'fraction_non_alphanumeric': 0.1483768300445576, 'fraction_numerical': 0.002800763844684914, 'mean_word_length': 1.3379464285714286, 'pattern_counts': {'":': 0, '<': 327, '<?xml version=': 0, '>': 327, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 55, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3952676', 'n_tokens_mistral': 4159, 'n_tokens_neox': 3887, 'n_words': 709}