<!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
    <div class="page-content">
        <!-- BEGIN PAGE HEADER-->
        <h3 class="page-title">
            {$shcontrollname}
        </h3>
        <div class="page-bar">
            <ul class="page-breadcrumb">
                {$breadcrumbs}
            </ul>
        </div>
        <!-- END PAGE HEADER-->
        <!-- BEGIN PAGE CONTENT-->
        <div class="row">
            <div class="col-md-12">
                <div class="portlet light bg-inverse">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="icon-equalizer font-red-sunglo"></i>
                            <span class="caption-subject font-red-sunglo bold uppercase">Transfer Drugs between stores</span>
                        </div>
                    </div>
                    <input type="hidden" id="storesTransfer" value="1">
                    <table class="table">
                        <tbody>

                            <tr>
                                <th>
                                    Drug Name
                                </th>
                                <td>
                                    <select class="form-control select2me" id="dname"    data-placeholder="Select..."  >
                                        <option value="">Choose Drug</option>
                                        {foreach $drugs as $drug}
                                        <option value="{$drug['id']}">{$drug['drugname']} ( {$drug['drugtype']} )</option>
                                        {/foreach}
                                    </select>   
                                </td>

                            </tr>
                        </tbody>
                    </table>

                    <div >
                        <table class="table">
                            <thead>
                                <tr>
                                    <th class="hide_me">
                                        id
                                    </th>
                                    <th>
                                        Store Name
                                    </th>
                                    <th>
                                        Drug Name
                                    </th>
                                    <th>
                                        Valid To
                                    </th>
                                    <th>
                                        Current balance
                                    </th>
                                    <th>
                                        Moved balance
                                    </th>
                                    <th>
                                        Moved To
                                    </th>
                                    <th>
                                        Transfer
                                    </th>
                                </tr>
                            </thead>
                            <tbody id="searchResults">

                            </tbody>
                        </table>
                    </div>


                </div>
            </div>
        </div>
    </div>
    <!-- END PAGE CONTENT-->
</div>


<!-- END CONTENT -->