

<div class="row">
    <div class="container">
        <ol class="breadcrumb">
            <li><a href="#"> صيانه</a></li>
            <li><a href="typeClientController.php?do=show"> نوع العميل </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;"> عرض نوع العميل <br />
                    {if $message != ""}
                    {$message}
                    {/if}</h3>
                <a href="{$youtubes[14]->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="typeClientController.php" class="hidden-print"><input type="button"  id="submit" style="margin-left: 12px" class="btn btn-primary pull-left " value="إضافة جديد"/></a>
            </div>

            <hr/>



            <table class="table table-black dataTableClass">
                <thead>
                    <tr>
                        <th  class="hidden-print">
                            <input type="checkbox" name="checkAll" id="checkAll"/></th>
                        <th> نوع العميل</th>

                        <th>التاريخ</th>

                        <th class="hidden-print">تعديل</th>
                        <th class="hidden-print"> ايقاف</th>
                        <th class="hidden-print"> حذف نهائى </th>
                    </tr>
                </thead>
                <tbody>
                    {assign var=i value=1}
                    {foreach $allbranches as $data}


                    <tr class="noprint">
                        <td class="hidden-print">
                            <input type="checkbox" name="choosedItem[]" id="checked{$i}" class="choosenItem" value="" /></td>
                        <td>{$data->typeName}</td>
                        <td>{$data->typeDate}</td>


                        <td class="hidden-print"> <a href="typeClientController.php?do=edit&id={$data->typeId}" type="button" class="btn btn-default btn-lg editicon"></a> </td>

                        <td class="hidden-print"> {if {$data->conditions} eq 0} <a href="typeClientController.php?do=tempdelete&id={$data->typeId}" type="button" class="btn btn-default btn-lg removeicon"></a> {elseif {$data->conditions} eq 1 } <a href="typeClientController.php?do=returndelete&id={$data->typeId}" type="button" class="btn btn-default btn-lg correcticon"></a> {/if} </td>
                        <td  class="hidden-print"> <a href="typeClientController.php?do=delete&id={$data->typeId}
                                                      " name="dd" type="button" class="btn btn-default btn-lg deleteicon conformdel1" data-position=""  onClick="if (confirm(' متأكد انك تريد الحذف ؟') == false)
                                                                  return false;"></a></td>

                    </tr>
                    {assign var="i" value=$i+1}
                    {/foreach}

                </tbody>

            </table>
        </div>

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