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

        <ol class="breadcrumb">
            <li><a href="#">خصائص عامة</a></li>
            <li><a href="supplierReportsController.php?do=show">الموردين</a></li>
            <li class="active">ايصال سداد مورد</li>
        </ol>


        <div class="panel panel-default panel-m">

            <div class="panel-body">

                <form class="form-horizontal border" role="form" action="supplierReportsController.php?do=update"
                    method="post">
                    <h3 class="panel-heading">تفاصيل ايصال سداد مورد</h3>
                    <div class="form-group">
                        <label for="partnerid" class="col-lg-2 control-label">المورد</label>
                        <div class="col-lg-4">

                            <p class="form-control-static">
                                {foreach $supplierData as $data}
                                {if {$data->supplierid} eq {$alldata->supplierid}} {$data->suppliername} {/if}

                                {/foreach}

                            </p>

                        </div>
                    </div>

                    
                    {if {$alldata->paySerialNo} > 0}
                    <div class="form-group">
                        <label for="currentDate" class="col-lg-2 control-label">الرقم التسلسلي</label>
                        <div class="col-lg-4">
                            <p class="form-control-static">{$alldata->paySerialNo}</p>
                        </div>
                    </div>
                    {/if}
                    <!-- =================================================   -->
                    <div class="form-group">
                        <label for="currentDate" class="col-lg-2 control-label">تاريخ الايصال</label>
                        <div class="col-lg-4">

                            <p class="form-control-static">{$alldata->supplierdebtchangedate}</p>


                        </div>
                    </div>

                    <div class="form-group">
                        <label for="payedDept" class="col-lg-2 control-label">قيمة الايصال</label>
                        <div class="col-lg-4">
                            <p class="form-control-static">{$alldata->supplierdebtchangeamount}</p>
                        </div>
                    </div>
                    <!-- =================================================   -->
                    <div class="form-group">
                        <label for="currentDate" class="col-lg-2 control-label">الدين قبل</label>
                        <div class="col-lg-4">
                            <p class="form-control-static">{$alldata->supplierdebtchangebefore}</p>
                        </div>
                    </div>
                    <!-- =================================================   -->
                    <div class="form-group">
                        <label for="currentDate" class="col-lg-2 control-label">الدين بعد </label>
                        <div class="col-lg-4">
                            <p class="form-control-static">{$alldata->supplierdebtchangeafter}</p>
                        </div>
                    </div>
                    <!-- =================================================   -->
                    <div class="form-group">
                        <input type="hidden" name="id" value="{$alldata->supplierdebtchangeid}"/>
                        <label for="currentDate" class="col-lg-2 control-label">التعليق</label>
                        <div class="col-lg-4">
                            <!-- <p class="form-control-static">{$alldata->comment}</p> -->
                            <div class="input-group">
                                <textarea style="width: 358px;" name="comment" id="comment1" cols="50" rows="5"
                                    class="form-control"> {$alldata->comment}  </textarea>
                            </div>
                        </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>