

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

        <ol class="breadcrumb">
            <li><a href="#">المصروفات والايرادات</a></li>
            <li><a href="transferBtweenBankAccounts.php?do=show">ادارة البنوك</a></li>
            <li class="active">التحويل بين البنوك</li>
        </ol>




        <div class="panel panel-default panel-m">
            <!-- Default panel contents -->
            <div class="panel-heading" style="padding:5px 15px 15px">
                <h3 class="panel-title" style="display: inline-block;"> عرض التحويلات</h3>
                <a href="{$youtubes[92]->url}" target="_blank" class="hidden-print"><img src="../views/default/assets/img/youtube.png" class="pull-left" alt="Youtube" style="width: 2%;"></a>
                <a href="transferBtweenBankAccounts.php" class="hidden-print"><input type="button" style="margin-left: 12px" id="submit"  class="btn btn-primary pull-left " value="إضافة جديد"/></a>
            </div>
            <div class="panel-body">


                <div id="outputString" class="alert alert-block alert-success fade in" style="display:none">
                    <button type="button" class="close pull-left" data-dismiss="alert" aria-hidden="true">&times;</button>

                    <p id="outputStringValue">{$outputString}</p>

                    <div class="clearfix"></div>
                </div>




                <form class="form-inline hidden-print" action="transferBtweenBankAccounts.php?do=show" method="post">





                    <div class="form-group">
                        <label class="sr-only">من التاريخ</label>

                        <input type="text" class="form-control awdatepicker" autocomplete="off"   data-date-format="yyyy-mm-dd" name="from" >

                    </div>


                    <div class="form-group">
                        <label class="sr-only">إلى التاريخ</label>

                        <input type="text" class="form-control awdatepicker" autocomplete="off"   data-date-format="yyyy-mm-dd" name="to" >

                    </div>




                    <button type="submit" class="btn btn-primary">بحث</button>
                </form>



            </div>
            <hr/>

            <!-- Table -->


            <div class="panel panel-default panel-m">
                <!-- Default panel contents -->
                <div class="panel-heading">{$message}</div>
                <div class="panel-body">
                    <hr/>
                    <table class="table table-black">
                        <thead>
                            <tr>

                                <th>الحساب من</th>
                                <th>الحساب الى</th>
                                <th>القيمة المحولة</th>
                                <th>التاريخ</th>
                                <th>التعليق</th>
                                <th class="hidden-print">تعديل</th>
                                <th class="hidden-print">حذف </th>



                            </tr>
                        </thead>
                        <tbody>



                            {foreach $transferData as $data}
                            <tr>
                                <td>{$data->bankNameFrom} / {$data->accountNameFrom}</td>
                                <td>{$data->bankNameTo} / {$data->accountNameTo}</td>
                                <td>{$data->transfervalue}</td>
                                <td>{$data->transferdate}</td>
                                <td>{$data->comment}</td>

                                <td>
                                    <a href="transferBtweenBankAccounts.php?do=edit&id={$data->id}" type="button" class="btn btn-default btn-lg editicon"></a>
                                </td>
                                <td class="hidden-print" >
                                    <a href="transferBtweenBankAccounts.php?do=delete&id={$data->id}" type="button" class="btn btn-default btn-lg deleteicon "></a>
                                </td>
                            </tr>
                            {/foreach}


                        </tbody>
                    </table>





                    <div class="clearfix"></div>


                </div>








            </div>

        </div>


