<div class="row">
    <div class="container">


        <ol class="breadcrumb">
            <li><a href="#">المخازن</a></li>
            <li><a href="storeinquiriesreportController.php?do=show">تقرير استعلام المنتجات بالمخازن</a></li>
            <li class="active">عرض المنتجات بالمخازن</li>
        </ol>




        <div class="panel panel-default panel-m">
            <!-- Default panel contents -->
            <div class="panel-heading">عرض استعلام المنتجات بالمخزن
                <a href="{$youtubes[157]->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">





                <form class="form-inline hidden-print" action="storeinquiriesreportController.php?do=showAll" method="post">


                    <input type="hidden" name="searchvalue" id="searchvalue" value="{$Programsettingdata->searchvalue}"/>


                    <div class="form-group">
                        <label class="sr-only wdt200">المنتج</label>
                        <input type="hidden" class="select2product wdt300"  name="productId" id="productId" data-placeholder="اختر منتج"  />
                    </div>

                    <div class="form-group">
                        <label class="sr-only wdt200">الباركود</label>
                        <!--<input type="hidden" name="searchpar" id="searchpar" value=""/>-->
                        <input type="hidden" class="select2parcode wdt300"  name="parcode" id="parcode" data-placeholder="الباركود"  />
                    </div>


                    <label>  <input name="selldiscount" type="checkbox" value="1" {if $selldiscount eq 1 } checked {/if} /> خصم التصنيفات للبيع</label>

                    <button type="submit" class="btn btn-primary">بحث</button>
                </form>



            </div>


            <div class="panel panel-default panel-m">
                <!-- Default panel contents -->
                <div class="panel-heading">{$message}</div>
                <div class="panel-body">
                    <hr/>


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


                            <th>اسم المخزن</th>
                            <th>اسم المنتج</th>
                            <th>الكمية</th>
                            <th>سعر الجمله</th>
                            <th>سعر نص الجمله</th>
                            <th>سعر القطاعي</th>
                            <th>الصوره</th>
                            <th>الوصف</th>



                        </tr>
                        </thead>
                        <tbody>




                        {foreach $data as $storereport}
                        <tr>
                            <td>{$storereport->storeName}</td>
                            <td>{$storereport->productName}/{$storereport->productCatName}</td>
                            <td>{$storereport->productquantity}</td>
                            <td>{$storereport->productSellAllPrice}</td>
                            <td>{$storereport->productSellHalfPrice}</td>
                            <td>{$storereport->productSellUnitPrice}</td>
                            <td>{if $storereport->logo == "" || $storereport->logo == "." }لايوجد{else} <img src="../views/default/images/product_image/{$data->logo}">{/if}</td>
                            <td>{$storereport->productDescription}</td>



                        </tr>
                        {/foreach}


                        </tbody>
                    </table>


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


                    <hr />


                    {if !empty($data)}
                    <div  class="noprint">
                        <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>
                    {/if}


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







            </div>

        </div>

