<div class="row">
    <div class="container">
        <ol class="breadcrumb">
            <li><a href="#">المخازن</a></li>
            <li class="active">اعادة جرد تاريخ الصلاحية	</li>
        </ol>
        <div class="panel panel-default panel-m">
            <div class="panel-heading">
                <h3 class="panel-title">اعادة جرد تاريخ الصلاحية	</h3>
                <a href="{$youtubes[58]->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-horizontal" role="form" action="inventoryexpirationController.php?do=add" method="post" >
                    

                    {if $searchinonestore neq 0}

                    <div class="form-group">
                        <label for="storesData" class="col-lg-2 control-label">المخزن</label>
                        <div class="col-lg-4">
                        <input type="hidden" name="storeId" id="storeId"  value="{$storeid}"  >
                       {$storedef->storeName}
                        </div>
                    </div>
                    {else}
                    <div class="form-group">
                        <label for="storesData" class="col-lg-2 control-label">المخزن</label>
                        <div class="col-lg-4">
                            <select class="select2 wdt100" name="storeId" id="storeId">
                                <option value="-1">اختر مخزن</option>




                                {foreach $storesData as $store}




                                <option value="{$store->storeId}">{$store->storeName}</option>




                                {/foreach}




                            </select>
                        </div>
                    </div>
                    {/if}





                    <!-- ================================================= -->
                    <div class="form-group">
                        <label for="catId" class="col-lg-2 control-label">التصنيف الرئيسى</label>
                        <div class="col-lg-4">
                            <select class="select2 wdt100 productCat" data-level="0"  name="productCatId0" id="productCatId0" >
                                <option value="-1">اختر تصنيف</option>
                                {foreach $catData as $data}
                                <option value="{$data->productCatId}">{$data->productCatName}</option>
                                {/foreach}
                            </select>
                        </div>
                        <input type="hidden" id="level" name="level" value="0">
                    </div>

                    <div id="manyParents">

                    </div>

                    <!-- ================================================= -->

                    <div class="form-group">
                        <label for="parent" class="col-lg-2 control-label">المنتج</label>
                        <div class="col-lg-4">
                            <input type="hidden" id="product" name="product" data-placeholder="اختر" class="select2product wdt100" />

                        </div>
                        <div class="col-lg-1"><button type="button"  class="btn btn-primary pull-left" id="searchnow">بحث</button></div>
                    </div>

                    <!-- ================================================= -->
                    <div id="productsDiv">

                    </div>
                    <input name="storenegative" type="hidden" value="{$storenegative}" id="storenegative" />
                </form>
                <input type="hidden" name="searchvalue" id="searchvalue" value="{$programsettingsdata->searchvalue}"/>
            </div>
        </div>
    </div>
</div>