

<div class="row">
    <div class="container">

        <ol class="breadcrumb">
            <li><a href="#">الفواتير</a></li>
            <li><a href="billprinters.php?do=show">الطابعات</a></li>
            <li class="active">عرض الطابعات</li>
        </ol>




        <div class="panel panel-default panel-m">
            <!-- Default panel contents -->
            <div class="panel-heading">عرض الطابعات
                <a href="{$youtubes[192]->url}" target="_blank" class="hidden-print"><img src="../views/default/assets/img/youtube.png" class="pull-left" alt="Youtube" style="width: 2%;"></a>
                <a href="billprinters.php" class="hidden-print">
                    <input type="button" style="margin-left: 12px" id="submit" class="btn btn-primary pull-left " value="إضافة جديد" />
                </a>
            </div>
            <!-- <a href="billprinters.php?do=resetPrinters" id="resetPrinters" class="btn btn-success" style="display: inline;float: left">اعادة تهيئة طابعة المطعم</a> -->

            <table class="table table-black">
                <thead>
                    <tr>
                        <th>اسم الطابعة</th>
                        <th>رابط الطابعة</th>
                        <th>رابط الطابعة للتحضير</th>
                        <th class="noprint">تعديل</th>
                        <th class="noprint">حذف</th>
                        <th class="noprint">إعادة ضبط</th>

                    </tr>
                </thead>
                <tbody>




                    {foreach $printersData as $data}
                    <tr>
                        <td>{$data->name}</td>
                        <td class="noprint">
                            <a class="copyLinkToClipboard" data-link="{$hosturl}/controllers/billprint.php?printer={$data->id}">Copy to Clipboard</a>
                        </td>
                        <td class="noprint">
                            <a class="copyLinkToClipboard" data-link="{$hosturl}/controllers/billprint.php?printer={$data->id}&printWithoutPrice=1">Copy to Clipboard</a>
                        </td>
                        <td class="noprint">
                            <a href="billprinters.php?do=edit&id={$data->id}" class="btn btn-default btn-lg editicon"></a>
                        </td>
                        <td class="noprint">
                            <a href="billprinters.php?do=delete&id={$data->id}" type="button" class="btn btn-default btn-lg removeicon"></a>
                        </td>
                        <td class="noprint">
                            <a href="billprinters.php?do=resetPrinter&id={$data->id}" type="button" class="btn btn-default btn-lg undoicon"></a>
                        </td>
                    </tr>
                    {/foreach}


                </tbody>
            </table>





            <div class="clearfix"></div>
        </div>

        <!--        <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>