
<div class="row">
    <div class="container">
        <ol class="breadcrumb">
            <li><a href="#">ادارة الفواتير</a></li>
            <a href="billoperationsControl.php?do=show">عمليات الفواتير</a>
            <li class="active">عرض</li>
        </ol>
        <div class="panel panel-default panel-m">
            <!-- Default panel contents -->
            <div class="panel-heading" style="padding:5px 15px 15px">
                <h3 class="panel-title" style="display: inline-block;">عرض <br />
                    {if $message != ""}
                    {$message}
                    {/if}</h3>
                <a href="{$youtubes[90]->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="billoperationsControl.php" class="hidden-print"><input type="button" style="margin-left: 12px" id="submit"  class="btn btn-primary pull-left " value="إضافة جديد"/></a>
            </div>

            <div class="panel-body">
                <table class="table table-black">
                    <thead>
                        <tr>
                            <th>#</th>
                            <th>اسم العملية</th>
                            <th class="hidden-print">تعديل</th>
                            <th class="hidden-print">حذف</th>

                        </tr>
                    </thead>
                    <tbody>

                        {assign var=i value=1}
                        {foreach $shownData as $data}
                        <tr>
                            <td>{$i}</td>
                            <td>{$data->name}</td>
                            <td class="hidden-print"><a href="billoperationsControl.php?do=edit&id={$data->id}" type="button" class="btn btn-default btn-lg editicon"></a></td>
                            <td class="hidden-print"><a href="billoperationsControl.php?do=delete&id={$data->id}" type="button" class="btn btn-default btn-lg removeicon"></a></td>
                        </tr>
                        {assign var=i value=$i+1}
                        {/foreach}

                    </tbody>

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

                <div  class="hidden-print">
                    <div class="col-lg-12">
                        <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>
                <div class="clearfix"></div>
            </div>
        </div>

    </div>
</div>
