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

            <div class="panel-body">

                <!---------- start outputString alert ----------->
                <div id="outputString" class="alert alert-block alert-success fade in" style="display:none">
                    <button type="button" class="close pull-left" data-dismiss="alert" aria-hidden="true">&times;</button>
                    <p id="outputStringValue">{$outputString}</p>
                    <div class="clearfix"></div>
                </div>
                <!---------  end outputString alert ------------>

                <div class="table-responsive">
                    <table class="table table-black">
                        <thead>
                            <tr>
                                <th >م</th>
                                <th>اسم الفاتوره</th>
                                <th class="noprint">تعديل</th>
                                <th class="noprint">نسخ</th>
                                <th class="noprint">حذف/إلغاء الحذف</th>
                            </tr>
                        </thead>
                        <tbody>

                            {foreach $name as $na}

                            {if {$na->conditions}  eq 1}
                            <tr class="danger"> {elseif {$na->conditions} eq 0}

                            <tr> {/if}
                                <td>{$na->billnameid}</td>
                                <td>{$na->name}</td>
                                <td class="noprint"><a href="billsettingsController.php?do=edit&id={$na->billnameid}" type="button" class="btn btn-default btn-lg editicon"></a></td>
                                <td class="noprint"><a href="billsettingsController.php?do=copy&id={$na->billnameid}" type="button" class="btn btn-default btn-lg copyicon"></a></td>
                                <td class="noprint"> {if {$na->conditions} eq 0} <a href="billsettingsController.php?do=delete&id={$na->billnameid}" type="button" class="btn btn-default btn-lg removeicon"></a> {else} <a href="billsettingsController.php?do=ruturndelete&id={$na->billnameid}" type="button" class="btn btn-default btn-lg correcticon"></a> {/if} </td>
                            </tr>
                            {/foreach}
                        </tbody>

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

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