<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>Operation Discount Report
                        </div>
                    </div>
                    <div class="portlet-body all">
                        <input type="hidden" id="drReport" value="1"/>
                        <input type="hidden" id="tdate" value="{$today}">
                        <input type="hidden" id="controllName" value="financialreport"/>
                        <!--Begin Semen-->

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

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


                                <div class="col-md-3">
                                    <div class="form-group">
                                        <label class="control-label ls2">Department </label>

                                        <select class="form-control searchFin " id="fordepartment">
                                            <option value="">choose</option>
                                            {foreach $py_all_departs as $row}
                                            <option value="{$row->id}">{$row->name}</option>
                                            {/foreach}
                                        </select>

                                    </div>
                                </div> 


                                <div class="col-md-3">
                                    <div class="form-group">
                                        <label class="control-label ls2">Doctors </label>

                                        <select class="form-control select2h " id="repDoctors">
                                            <option value="">choose</option>
                                            {foreach $doctors as $doc}
                                            <option value="{$doc.user_id}">{$doc.name}</option>
                                            {/foreach}
                                        </select>

                                    </div>
                                </div> 

                                <div class="col-md-3">
                                    <div class="form-group">
                                        <label class="control-label ls2">Organizations </label>

                                        <select class="form-control select2h " id="organization">
                                            <option value="">choose</option>
                                            {foreach $organizations as $org}
                                            <option value="{$org.id}">{$org.organization_name}</option>
                                            {/foreach}
                                        </select>

                                    </div>
                                </div> 

                            </div>

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

                            <div class="portlet box white">
                                <div class="portlet-title">
                                    <div class="actions">
                                        <a class="btn btn-primary btn-sm" id="orgSearchBtn" >
                                            <i class="fa fa-search"></i> Search </a>

                                        <a class="btn btn-default btn-sm" id="printorg" >
                                            <i class="fa fa-print"></i> Print </a>

                                    </div>
                                </div>

                                <div class="portlet-body form" id="financialDiv">

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

                    </div>

                    <!--End Semen-->


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

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

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


