

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

        <ol class="breadcrumb">
            <li><a href="#">المصروفات والايرادات</a></li>
            <li><a href="checkwithdrawalController.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" action="checkwithdrawalController.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">
                                {if {$showData ->suppliername} <> ""}
                                {$showData->suppliername}

                                {else}
                                شراء اصل

                                {/if}

                            </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->accountname}</p>


                        </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 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="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->checkwithdrawalnumber}" 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" readonly class="form-control " placeholder="اسم المستفيد" value="{$showData->checkwithdrawaluser}" />


                        </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->checkwithdrawalamount}" readonly="readonly"/>


                                <span class="input-group-addon">{$currency}</span>
                            </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" readonly rows="3" name="checkdepositnote">{$showData->checkdepositnote}</textarea>

                        </div>
                    </div>

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

                </form>


            </div>
        </div>

    </div>
</div>
