<div class="page-content-wrapper">
    <div class="page-content">
        <div class="row">
            <div class="col-md-12">
                <!-- BEGIN EXAMPLE TABLE PORTLET-->
                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="fa fa-users"></i>{$reportName}
                        </div>
                    </div>
                    <div class="portlet-body all">
                        <div class="row">
                            <input type="hidden" id="center_reports" value="1"/>
                            <input type="hidden" id="reportAc" value="{$reportAc}">
                            <input type="hidden" id="controllName" value="center_reports"/>

                            <div class="row clinick posre">

                                <div class="col-md-2">
                                    <div class="form-group form-md-line-input form-md-floating-label has-info">
                                        <input type="text" class="form-control datepicker txtc" id="fromDate" value="{$today}"/>
                                        <label for="form_control_1">Date From </label>
                                    </div>
                                </div>

                                <div class="col-md-2">
                                    <div class="form-group form-md-line-input form-md-floating-label has-info">
                                        <input type="text" class="form-control datepicker txtc" id="toDate" value="{$today}"/>
                                        <label for="form_control_1">Date To </label>
                                    </div>
                                </div>

                                {if  $reportAc == 'known' }
                                <div class="col-md-4">
                                    <div class="form-group">
                                        <label class="control-label ls2"> وسيلة المعرفة بالمركز  </label>
                                        <select class="form-control select2h" id="knownFrom">
                                            <option value="">الكل </option>
                                            {foreach $knownfrom as $data}
                                            <option value="{$data->id}" >{$data->name}</option>
                                            {/foreach}
                                        </select>
                                    </div>
                                </div>

                                {/if}

                                <a class="btn btn-primary btn-sm" id="centerReportsSearchBtn"  style="    margin-top: 23px;">
                                    <i class="fa fa-search"></i> Search </a>

                                {if  $reportPrint == 1 }
                                <a class="btn btn-primary btn-sm" id="centerReportsPrintBtn"  style="    margin-top: 23px;">
                                    <i class="fa fa-print"></i> Print </a>
                                {/if}

                            </div>

                            <div class="clearfix"></div>

                            <div class="portlet box white">
                                <div class="portlet-title">
                                    <div class="actions">

                                    </div>
                                </div>

                                <div class="portlet-body form" id="resultsDiv"></div>
                            </div>
                        </div>

                    </div>

                    <!--End Semen-->


                    <div class="clearfix"></div>

                </div>
            </div>
        </div>
    </div>
</div>

<div class="clearfix"></div>
<div id="knownPatDiv"></div>
<div id="resultsPrintDiv"></div>


<div id="talks-loading" style="z-index: 3000;position: absolute;top: 7%;right: 2%;left: 6%;display:none; height: 65%; background-color: rgba(0, 0, 0,0.27); padding-top: 10%;" align="center">
    <img src="{$hosturl}/../upload/loading.gif">
</div>




