
<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 حشىثم-ة">
            <!-- Default panel contents -->
            <div class="panel-heading">
                <h3 class="panel-title">تعديل كمبيالة</h3>
            </div>
            <div class="panel-body">
                <form class="form-horizontal" action="?do=update" method="post">
                    <input name="id" type="hidden" value="{$showData->id}">
                    <div class="form-group">
                        <label class="col-lg-2 control-label">إسم العميل</label>
                        <div class="col-lg-4"> {$showData->clientname} </div>
                    </div>

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

                    <div class="form-group">
                        <label class="col-lg-2 control-label">تاريخ اليوم</label>
                        <div class="col-lg-4">
                            <input name="recievingdate" type="text" id="textfield2" class="form-control"  value="{$showData->recievingdate}" readonly>
                        </div>
                    </div>

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

                    <div class="form-group">
                        <label class="col-lg-2 control-label">تاريخ الاستحقاق</label>
                        <div class="col-lg-4">
                            <input type="text" name="expiredate" value="{$showData->expiredate}" id="expiredate" class="form-control awdatepicker" autocomplete="off"   data-date-format="yyyy-mm-dd">
                        </div>
                    </div>

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

                    <div class="form-group">
                        <label class="col-lg-2 control-label">القيمة</label>
                        <div class="col-lg-4"> <span id="sprytextfield1">
                                <div class="input-group">
                                    <input type="text" name="value" readonly id="textfield3" class="form-control" value="{$showData->value}">
                                    <span class="input-group-addon">{$currency}</span> </div>
                                <span class="textfieldRequiredMsg">ادخل المبلغ.</span><span class="textfieldInvalidFormatMsg">ادخل قيمه صحيحه.</span></span> </div>
                    </div>

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

                    <div class="form-group">
                        <label class="col-lg-2 control-label">تعليق</label>
                        <div class="col-lg-4">
                            <textarea name="clientcomment" id="clientcomment" cols="45" rows="5" class="form-control" >{$showData->clientcomment}</textarea>
                        </div>
                    </div>

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

                    <div class="form-group">
                        <div class="col-lg-offset-2 col-lg-4">
                            <button type="submit" class="btn btn-primary pull-left">حفظ</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{literal}
<script type="text/javascript">
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "integer");
</script>
{/literal}