<?php /* Smarty version Smarty-3.1.11, created on 2025-01-10 23:52:49
         compiled from "../views/default/partnerview/add.html" */ ?>
<?php /*%%SmartyHeaderCode:1070020360678196b11eee73-45493967%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '7d4d7b6e7d3b349bb9f85c712ea49ff107d3d20d' => 
    array (
      0 => '../views/default/partnerview/add.html',
      1 => 1672089200,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1070020360678196b11eee73-45493967',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'currency' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_678196b122e592_13039973',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_678196b122e592_13039973')) {function content_678196b122e592_13039973($_smarty_tpl) {?>

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

        <ol class="breadcrumb">
            <li><a href="#">خصائص عامة</a></li>
            <li><a href="partnerController.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 id="submitnew" class="form-horizontal nameToBeChecked" role="form" action="partnerController.php?do=add" method="post" >



                    <div class="form-group">
                        <label for="partnername" class="col-lg-2 control-label">اسم الشريك</label>
                        <div class="col-lg-4">
                            <input type="text" name="partnername" id="partnername" class="form-control" placeholder="اسم الشريك" />
                            <div id="partnerError" style="display:none;"></div>
                        </div>
                    </div>

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



                    <div class="form-group">
                        <label for="partnermoney" class="col-lg-2 control-label">قيمة الشراكة</label>
                        <div class="col-lg-4">

                            <div class="input-group">
                                <input type="text" class="form-control positivefloat" placeholder="القيمة الشراكة" name="partnermoney" id="partnermoney" onKeyUp="calculatePercentage();">
                                <span class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['currency']->value;?>
</span>
                            </div>
                            <div id="valueError" style="display:none;"></div>

                        </div>
                    </div>

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

                    <div class="form-group">
                        <label for="partnerpercentage" class="col-lg-2 control-label">نسبة الشراكة</label>
                        <div class="col-lg-4">
                            <div class="input-group">
                                <input type="text" readonly="readonly" class="form-control positivefloat" placeholder="نسبة الشراكة" name="partnerpercentage" id="partnerpercentage">
                                <span class="input-group-addon">%</span>
                            </div>
                            <div id="precntError" style="display:none;"></div>
                        </div>
                    </div>


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


                    <div class="form-group">
                        <label for="comment" class="col-lg-2 control-label">التعليق</label>
                        <div class="col-lg-4">
                            <textarea  class="form-control" rows="3" name="comment"></textarea>
                        </div>
                    </div>

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

                    <div class="form-group">
                        <div class="col-lg-offset-2 col-lg-4">
                            <button type="button"   class="btn btn-primary pull-left submitnew">حفظ الامر</button>
                        </div>
                    </div>




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




    </div>
</div>


<?php }} ?>