
<div class="page-content-wrapper">
    <div class="page-content all">
        <div class="row">
            <div class="col-md-12">
                <div class="portlet box blue">
                    <div class="portlet-title" style="height: 5px">
                        <div class="caption">
                            <i class="fa fa-edit"></i> Investigation Details 
                        </div>
                        <div class="actions">
                            <a class="btn yellow-gold  btn-xs" id="supplies" href="javascript:;" style=" float: left;"  >
                                Supplies
                            </a>

                            <a class="btn btn-default btn-xs" href="{$hosturl}/controllers/{$controllname}.php?ac=index" style=" float: right;"  >
                                <i class="fa fa-backward"></i> عرض الكل 
                            </a>
                        </div>
                    </div>
                    <div class="portlet-body" >
                        <div class="table-toolbar">

                        </div>

                        <div class="form-body" style="margin: 1%;">
                            <div class="row">
                                <input type="hidden" id="controllName" value="{$controllname}"/>
                                <div class="col-md-2 wds11">
                                    <div class="form-group form-md-line-input has-success">
                                        <input type="text" class="form-control datepicker "  style=" border: 1px solid #000000;"  
                                               readonly="readonly"  id="searchValue1"    value="{$today}"/>
                                        <label for="searchValue1">Date From</label>
                                    </div>
                                </div>
                                <div class="col-md-2 wds11">
                                    <div class="form-group form-md-line-input has-success">
                                        <input type="text" class="form-control datepicker "  style=" border: 1px solid #000000;"   
                                               readonly="readonly" id="searchValue2"     value="{$today}"/>
                                        <label for="searchValue2">Date To</label>
                                    </div>
                                </div>


                                <div class="col-md-3">
                                    <div class="form-group form-md-line-input has-success">
                                        <select  class="form-control   select2h"    id="invsCats" placeholder="اختر  "  >
                                            <option value=""> All </option>
                                            {foreach $cats as $row}
                                            <option value="{$row->id}" >{$row->name}</option>
                                            {/foreach}
                                        </select>
                                        <label for="invsCats">Test Category</label>
                                    </div>
                                </div>
                                <div class="col-md-4 wds33">
                                    <div class="form-group form-md-line-input has-success" id="investsDiv">
                                        <select  class="form-control   select2h"    id="invests" placeholder="اختر  "  >
                                            <option value=""> All</option>
                                            {foreach $invests as $row}
                                            <option value="{$row->id}" >{$row->name}</option>
                                            {/foreach}
                                        </select>
                                        <label for="invests">Tests</label>
                                    </div>
                                </div>

                                <div class="col-md-2 wds20" style="margin-top: 20px;">
                                    <a class="btn btn-primary btn-sm" id="searchInvData" >
                                        <i class="fa fa-search"></i> Search </a>

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


                            </div>
                            <div class="row" id="resultTableDiv">

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

</div>



<div id="invStatusDiv"></div>
<div id="printDiv"></div>
<div id="suppliesDiv"></div>
<div id="suppliesByCatDiv"></div>






