
<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> Lab Requests
                        </div>
                        <div class="actions">

                        </div>






                    </div>
                    <div class="portlet-body" >
                        <div class="table-toolbar">

                        </div>

                        <div class="form-body">
                            <div class="col-md-6">
                                <div class="form-group form-md-line-input has-success">
                                    <input type="text" class="form-control datepicker searchRecords"  style=" border: 1px solid #000000;"   readonly="readonly"  id="searchValue1" data-type="invests"  data-status="1"   value="{$today}"/>
                                    <label for="searchValue1">Date From</label>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group form-md-line-input has-success">
                                    <input type="text" class="form-control datepicker searchRecords"  style=" border: 1px solid #000000;"    readonly="readonly" id="searchValue2" data-type="invests"  data-status="1"    value="{$today}"/>
                                    <label for="searchValue2">Date To</label>
                                </div>
                            </div>
                        </div>
                        <table class="table table-striped table-hover table-bordered" id="labRequesrsTable">
                            <thead>
                                <tr>
                                    <th>
                                        Visit Date
                                    </th>
                                    <th>
                                        wife name
                                    </th>
                                    <th>
                                        husband name
                                    </th>
                                    <th class="col-md-1">
                                        Show
                                    </th>
                                </tr>
                            </thead>
                            <tbody id="investsTable">

                                {foreach $requests as $single}
                                <tr>
                                    <td>
                                        {$single.visitDate}
                                    </td>
                                    <td>
                                        {$single.wifeName}
                                    </td>
                                    <td>
                                        {$single.husbandName}
                                    </td>
                                    <td>
                                        <a class="btn green btn-xs" href="{$hosturl}/controllers/{$controllname}.php?ac=showdetails&id={$single.visitid}&archive=1" style=" float: left;" href="#" >
                                            <i class="fa fa-pencil"></i> Show
                                        </a>
                                    </td>
                                </tr> 

                                {/foreach}
                            </tbody>
                        </table>



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

</div>






