
<div class="row">
    <div class="container">
        <ol class="breadcrumb">
            <li><a href="#">حسابات</a></li>
            <li><a href="#"> موظف او طبيب</a></li>
            <li class="active">إضافة </li>
        </ol>
        <div class="panel panel-default panel-m">
            <!-- Default panel contents -->
            <div class="panel-heading">
                <h3 class="panel-title">إضافة </h3>
            </div>
            <div class="panel-body">
                <form id="suppform" class="nameToBeChecked form-horizontal" action="?do=add" method="post" >
                    <div class="form-group">
                        <label class="col-lg-2 control-label">الاسم </label>
                        <div class="col-lg-4">
                            <input name="txtName" type="text" id="txtName" class="form-control"/>

                            <div id="nameError"  style="display:none"></div>
                        </div>
                    </div>

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

                    <div class="form-group">
                        <label class="col-lg-2 control-label">الرصيد الافتتاحى</label>
                        <div class="col-lg-4">
                            <div class="input-group">
                                <input type="text" name="txtDebt" id="txtDebt" class="{if $suplliernegative==1}numberinput{else}positivefloat{/if} form-control"/>

                                <span class="input-group-addon">{$currency}</span>
                            </div>
                            <div id="valueError"  style="display:none"></div>
                        </div>
                    </div>

                    <!--==============================-->
                    <div class="form-group">
                        <label class="col-lg-2 control-label">النوع </label>
                        <div class="col-lg-4">
                            <div class="radio-inline">
                                <label>  <input value="0" name="thetype" type="radio" checked>
                                    موظف</label>
                            </div>
                            <div class="radio-inline">
                                <label> <input value="1" name="thetype" type="radio">
                                    طبيب</label>
                            </div>
                        </div>
                    </div>
                    <!--==============================-->


                    <div class="form-group">
                        <div class="col-lg-offset-2 col-lg-4">
                            <button name="saveIncBtn" type="submit" id="saveIncBtn" class="btn btn-primary pull-left" onclick="$(this).hide()">حفظ</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
