<style>
    table th, td {
        text-align: center;
    }
</style>


<div class="container">
    <ol class="breadcrumb">
        <li><a href="#">التقارير </a></li>
        <li><a href="#">تقارير المرضى </a></li>
        <li class="active">عرض التقارير</li>
    </ol>
    <div class="row">
        <form class="form-inline" action="?do=printinscompanyreport" method="post" target="_blank">
            <div class="panel panel-default panel-m">
                <!-- Default panel contents -->
                <div class="panel-heading hidden-print">التقارير   <br />
                    <a href="{$youtubes[249]->url}" target="_blank" class="hidden-print"><img src="../views/default/assets/img/youtube.png" class="pull-left" alt="Youtube" style="width: 2%;"></a>
                </div>
                <div class="panel-body hidden-print">
                    <!--
                    <div class="form-group wds20">
                        <label class="sr-only"> شركة التأمين </label>
                        <select id="insuranceCompany" name="insuranceCompany" data-placeholder="اختر " class="select2 wdt100 ">
                            <option value="-1"></option>
                            {foreach $insuranceCompanies as $company}
                            <option value="{$company->id}">{$company->name} </option>
                            {/foreach}
                        </select>
                    </div>

                    <div class="form-group wds20">
                        <label class="sr-only"> الفرع  </label>
                        <select id="branchId" name="branchId" data-placeholder="اختر " class="select2 wdt100 ">
                            <option value="-1"></option>
                            {foreach $branches as $branch}
                            <option value="{$branch->branchId}">{$branch->branchName} </option>
                            {/foreach}
                        </select>
                    </div>

                    -->
                    <div class="form-group wds20">
                        <label class="sr-only">الفرع</label>
                        <select class="select2" name="branchid" id="branchid">
                            <option value="0" selected="selected"> كل الفروع</option>
                            {foreach $branches as $data}
                            <option value="{$data->branchId}">{$data->branchName}</option>
                            {/foreach}
                        </select>
                    </div>

                    <div class="form-group wds10">
                        <label class="sr-only">من التاريخ</label>
                        <input type="text" class="form-control awdatepicker "    data-date-format="yyyy-mm-dd" id="fromDate" >
                    </div>
                    <div class="form-group wds10">
                        <label class="sr-only">إلى التاريخ</label>
                        <input type="text" class="form-control awdatepicker "    data-date-format="yyyy-mm-dd" id="toDate" >
                    </div>


                    <button type="button" class="btn btn-primary searchPayMethod" >بحث</button>


                </div>
                <hr/>
                <div id="searchResult">



                    <div class="clearfix"></div>
                    <!-- Table -->

                    <table class="table table-bordered table-black">
                        <thead>
                            <tr style="background-color: #d5ecd5;">
                                <th>طريقة الدفع </th>
                                <th>مجموع ما دفع بها  </th>
                            </tr>
                        </thead>
                        <tbody class="color-white">
                            <tr>
                                <th>تأمين </th>
                                <td>0 </td>
                            </tr>
                            <tr>
                                <th>شبكة </th>
                                <td>0 </td>
                            </tr>
                            <tr>
                                <th> كاش </th>
                                <td>0</td>
                            </tr>
                            <tr>
                                <th>الأجل </th>
                                <td>0 </td>
                            </tr>

                        </tbody>

                    </table>




                </div>

                <div class="clearfix"></div>
                <hr />
                <div  class="hidden-print">
                    <div class="col-lg-12">
                        <div class="form-group">
                            <div class="col-lg-4">
                                <button type="button" onclick="print_Custom('mycustomheader');" class="btn btn-success pull-right">طباعة</button>
                            </div>
                        </div>
                    </div>
                    <div class="clearfix"></div>
                </div>
                <div class="clearfix"></div>
            </div>
        </form>
    </div>
</div>
