<?php /* Smarty version Smarty-3.1.11, created on 2018-06-24 17:00:52
         compiled from "../views/default/generateserial/edit.html" */ ?>
<?php /*%%SmartyHeaderCode:7098045365b2fa4145f30f1-54248275%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '625f0898189336a03ef08f839774f6f000dfd62d' => 
    array (
      0 => '../views/default/generateserial/edit.html',
      1 => 1529848234,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '7098045365b2fa4145f30f1-54248275',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'data' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_5b2fa414642673_07453088',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5b2fa414642673_07453088')) {function content_5b2fa414642673_07453088($_smarty_tpl) {?><div class="row">
    <div class="container">

        <ol class="breadcrumb">
            <li><a href="#">ترخيص جهاز</a></li>
            <li><a href="generateserial.php">ترخيص جهاز</a></li>
            <li class="active">تعديل ترخيص جهاز</li>
        </ol>


        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title">تعديل ترخيص جهاز
                    <span style="float: left"><a href="generateserial.php?do=show" style="background-color: yellow;color: #1976d2;font-weight: bold"> عرض كل الرخص </a></span>
                </h3>
            </div>
            <div class="panel-body">

                <form class="nameToBeChecked form-horizontal" action="generateserial.php?do=update" method="post" >

                    <div class="form-group">
                        <label for="savename" class="col-lg-2 control-label">رقم النسخه</label>
                        <div class="col-lg-4">
                            <input type="text" class="form-control" id="devid" name="devid" value="<?php echo $_smarty_tpl->tpl_vars['data']->value->deviceid;?>
" readonly="readonly"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="savename" class="col-lg-2 control-label">عدد المستخدمين</label>
                        <div class="col-lg-4">
                            <input type="text" class="form-control positiveNo" id="userno" name="userno" value="<?php echo $_smarty_tpl->tpl_vars['data']->value->userno;?>
"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="savename" class="col-lg-2 control-label">دخول متعدد للمستخدم فى نفس الوقت "تزامن اليوزر"</label><!----><!--نفس المستخدم من جهازين فى نفس الوقت-->
                        <div class="col-lg-4">
                            <div class="radio-inline">
                                <label>
                                    <input type="radio" name="syncusers"  value="0" <?php if ($_smarty_tpl->tpl_vars['data']->value->syncusers=="0"){?>checked<?php }?> >
                                    نعم </label>
                            </div>
                            <div class="radio-inline">
                                <label>
                                    <input type="radio" name="syncusers"  value="1" <?php if ($_smarty_tpl->tpl_vars['data']->value->syncusers=="1"){?>checked<?php }?>>
                                    لا </label>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="savename" class="col-lg-2 control-label">مدة التزامن بالدقائق</label>
                        <!--دى المدة اللى لو ممنوع التزامن وواحد جديد جه يدخل اتاكد اذاكان مبيشتغلش بقاله دقيقتين مثلا ادخل الجديدوالقديم يقف-->
                        <div class="col-lg-4">
                            <input type="text" class="form-control positiveNo" id="synctime" name="synctime" value="<?php echo $_smarty_tpl->tpl_vars['data']->value->synctime;?>
"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="savename" class="col-lg-2 control-label">اسم صاحب الجهاز</label>
                        <div class="col-lg-4">
                            <input type="text" class="form-control" id="clientname" name="clientname" value="<?php echo $_smarty_tpl->tpl_vars['data']->value->clientname;?>
"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="savename" class="col-lg-2 control-label">اسم الموظف</label>
                        <div class="col-lg-4">
                            <input type="text" class="form-control" id="empname" name="empname" readonly  value="<?php echo $_smarty_tpl->tpl_vars['data']->value->userName;?>
"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="savename" class="col-lg-2 control-label">الترخيص حتى</label>
                        <div class="col-lg-4">
                            <input type="text" class="form-control awdatepicker"  data-date-format="yyyy-mm-dd" name="dateto" value="<?php echo $_smarty_tpl->tpl_vars['data']->value->dateto;?>
">
                        </div>
                    </div>

                    <!-- =================================================   -->
                    <input type="hidden" name="id" id="id" value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
"/>
                    <div class="form-group">
                        <div class="col-lg-offset-2 col-lg-4">
                            <button type="submit"  class="btn btn-primary pull-left">جهز سيريال الترخيص</button>
                        </div>
                    </div>


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




    </div>
</div>



<?php }} ?>