<!-- 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-->
        {if !empty($medicineimport)}


        <div class="row">
            <div class="col-md-12 hidden-print">
                <div class="portlet light bg-inverse">
                    <div class="portlet-title">


                        <div class="actions " id="nestable_list_menu">
                            <a class="btn blue-madison pull-right" href="{$hosturl}/controllers/buys.php">
                                <i class="fa  fa-plus"></i>
                                Add new
                            </a>
                        </div>
                        <div class="caption">
                            <i class="icon-equalizer font-red-sunglo"></i>
                            <span class="caption-subject font-red-sunglo bold uppercase">Add Import medicine</span>
                        </div>
                    </div>
                    <table class="table">
                        <thead>
                            <tr>
                                <th style="width: 1%;">#</th>
                                <th style="width: 9%;">Invoice Date</th>
                                <th>Supplier</th>
                                <th>Receiver</th>
                                <th style="width: 21%;">Action</th>
                            </tr>
                        </thead>
                        <tbody>
                            {foreach $medicineimport as $datarow}
                            <tr>
                                <td>{$datarow->invoicenum}</td>
                                <td>{$datarow->invoicedate}</td>
                                <td>{$datarow->suppliers}</td>
                                <td>{$datarow->nameuser}</td>
                                <td>
                                    <a class="btn blue btn-xs" data-id="{$datarow->id}" style=" float: left;" id="invoicemodelview" >
                                        <i class="fa fa-eye"></i> View

                                    </a>
                                    <a class="btn blue-hoki btn-xs" style=" float: left;" href="{$hosturl}/controllers/{$controllname}.php?ac=edit&id={$datarow->id}">
                                        <i class="fa fa-edit"></i> Edit

                                    </a>
                                    <a class="btn grey-cascade btn-xs deletemsg"  data-id="{$datarow->id}" style=" float: left;" href="#" data-link="buys">
                                        <i class="fa fa-close"></i> Delete
                                    </a>
                                </td>
                            </tr>
                            {/foreach}
                        </tbody>
                    </table>

                </div>
            </div>
        </div>
        {else}
        <div class="row">
            <div class="col-md-12">

                <div class="actions" id="nestable_list_menu">
                    <a class="btn blue-madison pull-right" href="{$hosturl}/controllers/buys.php">
                        <i class="fa  fa-plus"></i>
                        Add new
                    </a>
                </div>
                <div class="caption-subject font-red-sunglo bold uppercase ">Sorry , No drugs imported yet.</div>

            </div>
        </div>
        {/if}

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

<!-- END CONTENT -->




<div  id="full" class="modal fade modal-full" tabindex="-1" aria-hidden="true">

</div>