

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

        <ol class="breadcrumb">
            <li><a href="#">المصروفات والايرادات</a></li>
            <li><a href="depositcheckController.php?do=show">الشيكات</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 class="form-horizontal" id="editform" action="depositcheckController.php?do=update" method="post" >


                    <div class="form-group">
                        <label  class="col-lg-2 control-label">البنك</label>

                        <div class="col-lg-4">
                            <p class="form-control-static">{$showData->bankname} </p>

                        </div>
                    </div>

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

                    <div class="form-group">
                        <label  class="col-lg-2 control-label">العميل</label>

                        <div class="col-lg-4">


                            <p class="form-control-static"> {$showData->clientname}</p>


                        </div>
                    </div>
                    <!--==============================-->

                    <div class="form-group">
                        <label for="accountbeginingbalanceDis" class="col-lg-2 control-label">دين العميل</label>
                        <div class="col-lg-4">

                            <span class="input-group-addon">{$clientdebt} {$currency}</span>
                        </div>
                    </div>
                    <!-- =================================================   -->



                    <div class="form-group">
                        <label  class="col-lg-2 control-label">اسم الحساب</label>

                        <div class="col-lg-4">
                            <p class="form-control-static"> {$showData->accountname}</p>


                        </div>
                    </div>

                    <div class="form-group" >
                        <label class="col-lg-2 control-label">التاريخ </label>
                        <div class="col-lg-4"> <span id="sprydate">
                                <input type="text" class="form-control awdatepicker" autocomplete="off"  data-date-format="yyyy-mm-dd" placeholder="التاريخ"  value="{$showData->checkdate}" readonly="readonly" name="checkdate" id="bn">
                                <span class="textfieldRequiredMsg">*</span></span> </div>
                    </div>



                    <div id="accountnumber">
                        <!-- =================================================   -->


                        <div class="form-group">
                            <label for="accountnumber" class="col-lg-2 control-label">رقم الحساب</label>
                            <div class="col-lg-4">
                                <input name="txtPhone" type="text" id="accountnumber" name="accountnumber"   class="numberinput form-control" placeholder="رقم الحساب" readonly="readonly" value="{$showData->accountnumber}"/>



                            </div>
                        </div>

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

                        <div class="form-group">
                            <label for="txtPreviousAccount" class="col-lg-2 control-label">رصيد سابق</label>
                            <div class="col-lg-4">
                                <div class="input-group">
                                    <input type="text" name="txtPreviousAccount" id="txtPreviousAccount" class="form-control numberinput" readonly="readonly" placeholder="رصيد سابق" value="{$showData->accountbeforevalue}"/>


                                    <span class="input-group-addon">{$currency}</span>
                                </div>


                            </div>
                        </div>

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

                    </div>
                    <!--==============================-->


                    <div class="form-group">
                        <label for="checkwithdrawalamount" class="col-lg-2 control-label">قيمة الايداع</label>
                        <div class="col-lg-4">
                            <div class="input-group">

                                <input type="text" name="checkwithdrawalamount" id="checkwithdrawalamount" class="form-control numberinput" placeholder="قيمة الايداع" value="{$showData->checkdepositamount}" readonly="readonly"/>


                                <span class="input-group-addon">{$currency}</span>
                            </div>


                        </div>
                    </div>
                    <!--==============================-->

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


                            <input type="text" name="checkwithdrawalnumber" id="checkwithdrawalnumber" class="form-control numberinput" placeholder="رقم عملية الايداع" value="{$showData->checkdepositnumber}" readonly="readonly" />



                        </div>
                    </div>

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


                    <div class="form-group">
                        <label for="txtUser" class="col-lg-2 control-label">اسم المودع</label>
                        <div class="col-lg-4">

                            <input type="text" name="txtUser" id="txtUser" class="form-control " placeholder="اسم المودع" value="{$showData->checkdeposituser}" />
                            <div id="userdiv">

                            </div>

                        </div>
                    </div>

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


                    <div class="form-group">
                        <label for="checkdepositnote" class="col-lg-2 control-label">تفاصيل اخرى</label>
                        <div class="col-lg-4">

                            <textarea  class="form-control" rows="3" name="checkdepositnote">{$showData->checkdepositnote}</textarea>

                        </div>
                    </div>

                    <!-- =================================================   -->
                    <input type="hidden" id="bankid" value="{$showData ->bankid}" />
                    <input type="hidden" id="bankname" value="{$showData ->bankname}" />
                    <input type="hidden" id="supplierid" value="{$showData ->supplierid}" />
                    <input type="hidden" id="suppliername" value="{$showData ->suppliername}" />
                    <input type="hidden" id="accountid" value="{$showData ->accountid}" />
                    <input type="hidden" id="accountname" value="{$showData ->accountname}" />
                    <input type="hidden" id="accountnumber" value="{$showData ->accountnumber}" />
                    <input name="checkdepositid" type="hidden" value="{$showData->checkdepositid}" />
                    <input name="conditions" type="hidden" value="{$showData->conditions}" />




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

                    <div class="form-group">
                        <div class="col-lg-offset-2 col-lg-4">
                            <button  type="button"  id="editbtn" class="btn btn-primary pull-left">حفظ</button>
                        </div>
                    </div>

                </form>


            </div>
        </div>

    </div>
</div>
