<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">
            <div class="panel-heading">
                <h3 class="panel-title">طباعة شيك</h3>
            </div>
            <div class="panel-body">



                <form class="form-horizontal" role="form" action="checkwithdrawalController.php?do=show" 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>
                    {if {$showData ->suppliername} <> ""}
                        <div class="form-group">
                            <label class="col-lg-2 control-label">الدين قبل</label>

                            <div class="col-lg-4">
                                <p class="form-control-static"> {$debtBefore}</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"> {$debtAfter}</p>


                            </div>
                        </div>
                        {/if}
                        <!-- =================================================   -->



                        <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 class="col-lg-2 control-label">رقم الحساب</label>
                                <div class="col-lg-4">

                                    <p class="form-control-static"> {$showData->accountnumber}</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->accountbeforevalue}</p>


                                </div>
                            </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->checkwithdrawalnumber}</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->checkwithdrawaluser}</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->checkwithdrawalamount}</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->checkwithdrawalnote}</p>



                            </div>
                        </div>

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

                        <div class="form-group noprint">
                            <div class="col-lg-offset-2 col-lg-4">
                                <button type="submit" class="btn btn-primary pull-left noprint"> رجوع</button>


                                <button type="button" onclick="print_Custom('mycustomheader');"
                                    class="btn btn-success pull-right noprint">طباعة</button>
                            </div>
                        </div>




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


    </div>
</div>