{% 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 class="large-6 medium-6 small-12 columns">
                                    <label>Patient</label>
                                    <input type="text" id="form-patient-fullName" />
                                    <input type="hidden" id="form-patient-id" />
                                </div>
                                <div class="large-6 medium-6 small-12 columns">
                                    <label>Physician</label>
                                    <input type="text" id="form-provider-fullName" />
                                    <input type="hidden" id="form-provider-id" />
                                </div>
                                <div class="large-6 medium-6 small-12 columns">
                                    <label>Medical Facility</label>
                                    <input type="text" id="form-healthFacility-fullName" />
                                    <input type="hidden" id="form-healthFacility-id" />
                                </div>
                                <div class="large-6 medium-6 small-12 columns">
                                    <label>Status</label>
                                    <select id="status-id">
                                        <option value="All">All</option>
                                        {#{% for ss in scheduleStatuses %}#}
                                            {#<option value="{{ ss.id }}">{{ ss.description }}</option>#}
                                        {#{% endfor %}#}
                                    </select>
                                </div>
                            </div>
                        </div>
                    </div>
                    {%
                        include '@RxConnexion/Report/buttons.html.twig'
                        with {
                        'preview_url': 'main/report/pending_payment/preview',
                        'export_to_pdf_url': 'main/report/pending_payment/export_to_pdf',
                        'export_to_excel_url': 'main/report/pending_payment/export_to_excel',
                        'paramsIds': ''
                    }
                    %}
                </div>
            </div>
        </div>
    </div>
    {% include '@RxConnexion/Admin/js.html.twig' %}
    <script language="javascript">
        //<![CDATA[
        {#schedule.settings.patient_autocompleteUrl = '{{ path('patient_autocomplete') }}';#}
        {#schedule.settings.provider_autocompleteUrl = '{{ path('provider_autocomplete') }}';#}
        {#schedule.settings.healthFacility_autocompleteUrl = '{{ path('health_facility_autocomplete') }}';#}
        jQ(document).ready(function(){
            report.init('{{ app.environment }}');
           // schedule.init();
        });
        //]]>
    </script>
{% endblock %}