<?php /* Smarty version Smarty-3.1.11, created on 2025-02-20 10:08:56
         compiled from "../views/default/storeview/edit.html" */ ?>
<?php /*%%SmartyHeaderCode:199186065867b6e318bde962-37679140%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b99f16daab36ec006b1ee721ba1818f6774f57a6' => 
    array (
      0 => '../views/default/storeview/edit.html',
      1 => 1740000155,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '199186065867b6e318bde962-37679140',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'loadData' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_67b6e318c36fb1_38607372',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_67b6e318c36fb1_38607372')) {function content_67b6e318c36fb1_38607372($_smarty_tpl) {?>



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

        <ol class="breadcrumb">
            <li><a href="#">المخازن</a></li>
            <li><a href="storeController.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="nameToBeChecked form-horizontal" role="form" action="storeController.php?do=update" method="post" id="spform">



                    <div class="form-group">
                        <label for="storeName" class="col-lg-2 control-label">اسم المخزن</label>
                        <div class="col-lg-4">

                            <input type="text" name="storeName" id="storeName"   placeholder="اسم المخزن" class="form-control" value="<?php echo $_smarty_tpl->tpl_vars['loadData']->value->storeName;?>
" />
                            <div id="nameError" style="display:none;"></div>

                        </div>
                    </div>

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



                    <div class="form-group">
                        <label for="storeDescription" class="col-lg-2 control-label">الوصف</label>
                        <div class="col-lg-4">

                            <textarea  class="form-control" rows="3" name="storeDescription"><?php echo $_smarty_tpl->tpl_vars['loadData']->value->storeDescription;?>
</textarea>

                        </div>
                    </div>

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

                    <input type="hidden" name="oldname" id="oldname" value="<?php echo $_smarty_tpl->tpl_vars['loadData']->value->storeName;?>
"/>
                    <input type="hidden" name="storeId" id="storeId" value="<?php echo $_smarty_tpl->tpl_vars['loadData']->value->storeId;?>
"/>
                    <input type="hidden" name="storeDate" value="<?php echo $_smarty_tpl->tpl_vars['loadData']->value->storeDate;?>
"/>
                    <input type="hidden" name="conditions" value="<?php echo $_smarty_tpl->tpl_vars['loadData']->value->conditions;?>
"/>


                    <!-- =================================================   -->
                    <div class="form-group">
                        <div class="col-lg-offset-2 col-lg-4">
                            <button type="button"  class="btn btn-primary pull-left"  id="spbutton">تعديل</button>
                        </div>
                    </div>


                </form>
            </div>
        </div>




    </div>
</div>


<?php }} ?>