<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">
            <!-- Default panel contents -->
            <div class="panel-heading">عرض المنتجات<br />
                <a href="{$youtubes[250]->url}" target="_blank" class="hidden-print"><img src="../views/default/assets/img/youtube.png" class="pull-left" alt="Youtube" style="width: 2%;"></a>
            </div>
            <div class="panel-body">


                <!---------  end outputString alert ------------>


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


                <!-- Table -->
                <table class="table table-black" id="custom_tbl_dt">
                    <thead>
                        <tr>
                            <th>اسم المنتج</th>
                            <th>عدد الوحدات</th>
                            <th>سعر الشراء</th>
                            <th>سعر الايجار</th>
                            <th class="hidden-print"> حذف</th>
                            <th class="hidden-print"> تعديل</th>
                        </tr>
                    </thead>
                    <tbody>

                        {foreach $allproducts as $data}
                        <tr>
                            <td>{$data->name}</td>
                            <td>{$data->quantity}</td>
                            <td>{$data->buyprice}</td>
                            <td>{$data->rentprice}</td>

                            <td class="hidden-print"><a href="#" name="dd" type="button" class="btn btn-default btn-lg deleteicon conformdel1" data-position="rentproducts.php?do=tempdelete&id={$data->id}&dailyentryid={$data->dailyentryid}" ></a></td>
                            <td class="hidden-print"><a href="rentproducts.php?do=edit&id={$data->id}"  class="btn btn-default editicon btn-lg" ></a></td>

                        </tr>
                        {/foreach}
                    </tbody>

                </table>


                <!--div class="hidden-print">
                    <input type="button" onclick="print_Custom('mycustomheader');" class="hidden-print pull-right btn btn-success" value="طباعة" />
                </div-->
                <div class="clearfix"></div>

                <!-- Modal -->
                <div class="hidden-print">
                    <div class="modal fade " id="myModal1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                        <div class="modal-dialog">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <button type="button" class="close pull-left" data-dismiss="modal" aria-hidden="true">&times;</button>
                                    <h4 class="modal-title">تأكيد حذف مورد</h4>
                                </div>
                                <div class="modal-body"> هل تريد حذف هذا ؟ </div>
                                <div class="modal-footer">
                                    <button type="button" class="btn btn-primary savemodel1">نعم</button>
                                    <button type="button" class="btn btn-default" data-dismiss="modal">لا</button>
                                </div>
                            </div>
                            <!-- /.modal-content -->
                        </div>
                        <!-- /.modal-dialog -->
                    </div>
                </div>
                <!-- /.modal -->
            </div>
        </div>
    </div>
</div>