{% extends '@RxConnexion/Admin/content.html.twig' %}
{% block content %}
    <div class="row max-width-initial">
        <div class="small-12 columns">
            <div class="content-container">
                <div class="content-container-content">
                    <div class="row max-width-initial">
                        <div class="large-12 columns">
                            <div class="row max-width-initial">
                                <div class="large-6 medium-6 small-12 columns">
                                    <label>Date From</label>
                                    <input type="text" class="date" id="date_from" value="{{ 'now'|date('m/d/Y') }}" />
                                </div>
                                <div class="large-6 medium-6 small-12 columns">
                                    <label>Date To</label>
                                    <input type="text" class="date" id="date_to" value="{{ 'now'|date('m/d/Y') }}" />
                                </div>
                            </div>
                            <div class="row max-width-initial">
                                <div class="large-6 medium-6 small-12 columns">
                                    <label>Assigned To</label>
                                    <input type="text" id="form-account-user" />
                                    <input type="hidden" id="form-account-user-id" />
                                </div>
                                <div class="large-6 medium-6 small-12 columns">
                                    <label>Status</label>
                                    <input type="text" id="form-ticket-status" />
                                    <input type="hidden" id="form-ticket-id" />
                                </div>
                            </div>
                        </div>
                    </div>
                    {%
                        include '@RxConnexion/Report/buttons.html.twig'
                        with {
                        'preview_url': 'main/report/report_my_task/preview',
                        'export_to_pdf_url': 'main/report/report_my_task/export_to_pdf',
                        'export_to_excel_url': 'main/report/report_my_task/export_to_excel',
                        'paramsIds': 'date_from|date_to|form-account-user-id|form-ticket-id'
                    }
                    %}
                </div>
            </div>
        </div>
    </div>
    {% include '@RxConnexion/Admin/js.html.twig' %}
    <script language="javascript">
        //<![CDATA[
        ticket.settings.account_user_autocompleteUrl = '{{ path('account_user_autocomplete') }}';
        ticket.settings.ticket_status_autocompleteUrl = '{{ path('patient_letter_status_autocomplete') }}';
        jQ(document).ready(function(){
            report.init('{{ app.environment }}');
            ticket.init();
        });
        //]]>
    </script>
{% endblock %}