

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

        <ol class="breadcrumb">
            <li><a href="#">نظام  الصيانه</a></li>
            <li><a href="maintenanceclients.php?do=show">عرض  العملاء</a></li>
             {if $del == 0}
            <li class="active">تعديل  </li> 
            {else}
            <li class="active">تفاصيل  </li> 
            {/if}
        </ol>
        <div class="panel panel-default panel-m">
            <div class="panel-heading">
            {if $del == 0}
            <h3 class="panel-title">تعديل  </h3>
            {else}
            <h3 class="panel-title">تفاصيل  </h3> 
            {/if}
            </div>
            <div class="panel-body">


                {literal}
               <form class="form-horizontal"  action="maintenanceclients.php"  id="saveformajax" method="post"  enctype="multipart/form-data" data-dosave="?do=savedata" data-direction="maintenanceclients.php?do=show">

                    {/literal}
                    
                    <div class="form-group">
                        <label for="txtName" class="col-lg-2 control-label">  اسم  العميل   </label>
                        <div class="col-lg-4">
                            <input    required="required"    type="text" name="clientname" 
                            class="form-control checkcolumn"  placeholder="اسم  العميل  "  
                            data-table="client" data-filter=" clientname = ? and clientid != ? and conditions = 0 " 
                            data-tableid="{$clientdata.clientid}" data-parentid="" data-parentcol="" value="{$clientdata.clientname}" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="txtName" class="col-lg-2 control-label">المحمول</label>
                        <div class="col-lg-4">
                            <input    required="required"    type="text" name="clientphone" 
                             class="form-control checkcolumn nummbers" placeholder=" المحمول   "  
                             data-table="client" data-filter=" clientphone = ? and clientid != ? and conditions = 0 "  
                             data-tableid="{$clientdata.clientid}" data-parentid="" data-parentcol="" value="{$clientdata.clientphone}"/>
                            
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="txtName" class="col-lg-2 control-label">الارضى</label>
                        <div class="col-lg-4">
                            <input    required="required"    type="text" name="clientmobile" 
                             class="form-control checkcolumn nummbers" placeholder=" الارضى " 
                             data-table="client" data-filter=" clientmobile = ? and clientid != ? and conditions = 0 "  
                             data-tableid="{$clientdata.clientid}" data-parentid="" data-parentcol="" value="{$clientdata.clientmobile}" />    
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="txtName" class="col-lg-2 control-label">عنوان العميل    </label>
                        <div class="col-lg-4">
                            <input    required="required"    type="text" name="clientaddress" 
                             class="form-control" placeholder=" عنوان العميل    "
                             data-table="" data-tablecol="" data-tableid=""
                            data-parentid="" data-parentcol="" value="{$clientdata.clientaddress}"/>    
                            
                        </div>
                    </div>

                    <input type="hidden" name="clientid" value="{$clientdata.clientid}" />
                    <input id="itrclient" type="hidden" name="selectitr" value=""  />


                   {if $del == 0}
                    <div class="form-group">
                        <div class="col-lg-offset-2 col-lg-4">
                             <button type="button" class="btn btn-primary pull-left saveformajax" data-form="saveformajax">تعديل الامر</button>
                        </div>
                    </div>
                    {/if}




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




    </div>
</div>



