
<style>
    @media print {
        p,h4,h3,h2,h1,span,label,td,th,div.dataTables_info,a,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
        div.dataTables_wrapper div.dataTables_info,.panel-heading, tr.odd td.sorting_1,
        .table thead>tr>th, .table tbody>tr>th, .table tfoot>tr>th, .table thead>tr>td, .table tbody>tr>td, .table tfoot>tr>td{
            color:#000!important
        }
        .table thead>tr>th, .table tbody>tr>th, .table tfoot>tr>th, .table thead>tr>td, .table tbody>tr>td, .table tfoot>tr>td{
            text-align: center
        }
    }
</style>
<div class="row">
    <div class="container">

        <ol class="breadcrumb">
            <li><a href="#">بصريات </a></li>
            <li><a href="productrequest.php?do=show">طلب منتج من مخزن أخر </a></li>
            <li class="active">طلب منتج من مخزن أخر  </li>
        </ol>


        <div class="panel panel-default panel-m">
            <div class="panel-heading">
                <h3 class="panel-title">طلب منتج من مخزن أخر </h3>
            </div>
            <div class="panel-body">


                <form class="form-horizontal" id="insuranceCompanyForm" role="form" action="insurancecompany.php?do=add" method="post"  enctype="multipart/form-data">



                    <div class="col-lg-12">
                        <div class="well well-sm">

                            {if $storeId == 0 || empty($storeId)}
                            <div class="form-group col-lg-8">
                                <label  class="col-lg-2 control-label">المخزن الذى يطلب المنتج   </label>
                                <div class="col-lg-6">
                                    <select data-placeholder="اختر مخزن" class="select2 wdt300" name="storeId" id="storeId">
                                        <option value="-1"> اختر مخزن </option>
                                        {foreach $stores as $store}
                                        <option value="{$store->storeId}">{$store->storeName}</option>
                                        {/foreach}
                                    </select>
                                    <div class="clearfix"></div>
                                </div>
                            </div>

                            {/if}
                            <div class="form-group col-lg-8">
                                <label  class="col-lg-2 control-label">المنتج  </label>
                                <div class="col-lg-6">
                                    <div id="productdiv">
                                        <input type="hidden" id="product" name="product"  class="wdt100"   data-placeholder="اختر منتج"  tabindex="7" />
                                    </div>
                                    <div class="clearfix"></div>
                                </div>
                            </div>
                            <div class="form-group col-lg-2">
                                <div class="col-lg-4">
                                    <button type="button" class="btn btn-primary noprint" id="searchInStores">بحث فى المخازن </button>
                                </div>
                            </div>

                            <div class="form-group col-lg-2">
                                <div class="col-lg-12">
                                    <span id="productError" class=" alert-block alert-danger fade in" style="padding: 5px 5px 5px 5px;display: none ; ">اختر منتج  أولا</span>
                                </div>
                            </div>

                            <!-----------  start noElementsError alert ------------->
                            <div class="clearfix"></div>

                            <!----------  end noElementsError alert -------------->

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


                </form>
            </div>

            <hr/>
            <form class="form-inline" method="post">
                <div id="searchResult">


                </div>

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


        </div>




    </div>
</div>




