{% 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>Referring Afilliate</label>
                                    <input type="text" id="form-referring-health-facility" />
                                    <input type="hidden" id="form-referring-health-facility-id" />
                                </div>
                            </div>
                        </div>
                    </div>
                    {%
                        include '@RxConnexion/Report/buttons.html.twig'
                        with {
                        'preview_url': 'main/report/count_patient_referring_provider/preview',
                        'export_to_pdf_url': 'main/report/count_patient_referring_provider/export_to_pdf',
                        'export_to_excel_url': 'main/report/count_patient_referring_provider/export_to_excel',
                        'paramsIds': 'form-referring-health-facility-id'
                    }
                    %}
                </div>
            </div>
        </div>
    </div>
    {% include '@RxConnexion/Admin/js.html.twig' %}
    <script language="javascript">
        //<![CDATA[
        patientReferringHealthFacilityCount.settings.referringHealthFacility_autocompleteUrl = '{{ path('referring_health_facility_autocomplete') }}';
        jQ(document).ready(function(){
            report.init('{{ app.environment }}');
            patientReferringHealthFacilityCount.init();
        });
        //]]>
    </script>
{% endblock %}