<div class="row">
    <div class="container">
        <ol class="breadcrumb">
            <li><a href="#"> المصروفات والإيرادات</a></li>
            <li><a href="saveTypeController.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;"> عرض أنواع الخزن </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 href="saveTypeController.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">



                <table class="table table-black dataTableClass">
                    <thead>
                        <tr>

                            <th style="text-align:center;">الاسم</th>
                            <th style="text-align:center;">التاريخ</th>
                            <th style="text-align:center;">تعديل</th>
                            <th style="text-align:center;"> حذف </th>
                        </tr>
                    </thead>
                    <tbody>
                        {foreach $allSaveType as $data}


                        <tr class="noprint">
                            <td>{$data->name}</td>
                            <td>{$data->adddate}</td>
                            <td class="hidden-print"> <a href="saveTypeController.php?do=edit&id={$data->id}"
                                    type="button" class="btn btn-default btn-lg editicon"></a>
                            </td>
                            <td class="hidden-print">
                                <a href="saveTypeController.php?do=delete&id={$data->id}" type="button"
                                    class="btn btn-default btn-lg deleteicon "></a>
                            </td>

                        </tr>
                        {/foreach}

                    </tbody>

                </table>
            </div>

        </div>
    </div>

</div>