

<div class="row">
    <div class="container">
        <ol class="breadcrumb">
            <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="myTransferForm" class="form-horizontal" id="saveform" action="cashTransferController.php?do=add" method="post" >
                    <div class="form-group">
                        <label for="transfer" class="col-lg-2 control-label">التحويل</label>
                        <div class="col-lg-4">
                            <input type="text" class="numberinput form-control" readonly="readonly" value="{if $cashTransferData->type eq 1}من البنك إلى الخزنة{else}من الخزنة إلى البنك{/if}"/>
                        </div>

                    </div>

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

                    <div class="form-group">
                        <label for="save" class="col-lg-2 control-label">الخزنة</label>
                        <div class="col-lg-4">
                            <input type="text" class="numberinput form-control" readonly="readonly" value="{$cashTransferData->savename}"/>
                        </div>

                    </div>



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

                    <div class="form-group">
                        <label for="ddlBank" class="col-lg-2 control-label">البنك</label>
                        <div class="col-lg-4">
                            <input type="text" class="numberinput form-control" readonly="readonly" value="{$cashTransferData->bankname}"/>
                        </div>

                    </div>



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

                    <div class="form-group">
                        <label for="accountid" class="col-lg-2 control-label">اسم الحساب</label>
                        <div class="col-lg-4">
                            <div id="accountName">
                                <input type="text" class="numberinput form-control" readonly="readonly" value="{$cashTransferData->accountname}"/>
                            </div>

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

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

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

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

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

                    </div>
                    <div class="form-group">
                        <label for="txtcheckNum" class="col-lg-2 control-label">رقم الشيك</label>
                        <div class="col-lg-4">
                            <input type="text" name="txtcheckNum" id="txtcheckNum" value="{$cashTransferData->cashtransfernumber}" readonly class="form-control numberinput" placeholder="رقم الشيك"/>
                            <div id="chckNoError" style="display:none;"></div>
                        </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 " value="{$cashTransferData->cashtransferuser}" readonly placeholder="اسم المستفيد" />
                            <div id="nameError" style="display:none"></div>
                        </div>
                    </div>

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

                    <div class="form-group">
                        <label for="txtAmount" class="col-lg-2 control-label">قيمة الشيك</label>
                        <div class="col-lg-4">
                            <input type="text" name="txtAmount" id="txtAmount" class="form-control numberinput" readonly value="{$cashTransferData->cashtransferamount}" placeholder="قيمة الشيك"/>
                            <div id="valueError" style="display:none"></div>
                        </div>

                    </div>

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

                    <div class="form-group">
                        <label for="textNote" class="col-lg-2 control-label">تفاصيل اخرى</label>
                        <div class="col-lg-4">
                            <textarea  class="form-control" rows="3" name="textNote" readonly>{$cashTransferData->cashtransfernote}</textarea>
                        </div>
                    </div>

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

