
<div class="row">
    <div class="container">
        <ol class="breadcrumb">
            <li><a href="#">المصروفات والايرادات</a></li>
            <a href="bankaccountController.php?do=show">حسابات البنوك</a>
            <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;">عرض معالجات حسابات البنوك <br />
                    {if $message != ""}
                    {$message}
                    {/if}</h3>
                <a href="{$youtubes[91]->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="bankAccountDeficitKindController.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">
              <!--   <form class="form-inline hidden-print" action="bankAccountDeficitController.php?do=show" method="post">

                    <div class="form-group">

                        <label class="sr-only"> البنك </label>
                        <select class="select2 wdt100" name="bankid" id="bankid" >
                            <option value="-1">اختر بنك</option>
                            {foreach $bank as $b}
                            <option value="{$b -> bankid}">{$b -> bankname}</option>
                            {/foreach}
                        </select>
                    </div>
                    <div class="form-group">

                        <label class="sr-only"> الحساب </label>
                        <select class="select2 wdt100" name="accountid" id="accountid" >
                            <option value="-1">اختر حساب</option>
                            {foreach $accounts as $b}
                            <option value="{$b->accountid}">{$b->accountname} / {$b->bankname}</option>
                            {/foreach}
                        </select>
                    </div>
                    <br />

                    <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 class="table table-black">
                <thead>
                    <tr>
                        <th>اسم   انواع  معالجة  حساب بنكى  </th>
                        <th>التاريخ</th>
                        <th>التعليق</th>
                        <!-- <th>حذف   </th> -->
                    </tr>
                </thead>
                <tbody>

                    {foreach $shownData as $data}
                    {if {$data->conditions} eq 1}
                    <tr class="danger"> {elseif {$data->conditions} eq 0}

                    <tr> {/if}
                        <td>{$data->accountmovementkindname} </td>
                        <td>{$data->accountmovementkinddate}</td>
                        <td>{$data->accountmovementkindcomment}</td>
                      <!--   <td  class="hidden-print"><a href="bankAccountDeficitController.php?do=edit&id={$data->accountmovementkindid}" type="button" class="btn btn-default btn-lg"></a></td> -->
                    </tr>
                    {/foreach}

                </tbody>

            </table>
            <div class="clearfix"></div>
            <hr />
           <!--  <div  class="hidden-print">
                <div class="col-lg-12">
                    <div class="form-group">
                        <div class="col-lg-4">
                            <button type="button" onclick="print_Custom('mycustomheader');" class="btn btn-success pull-right">طباعة</button>
                        </div>
                    </div>
                </div>
                <div class="clearfix"></div>
            </div>
            <div class="clearfix"></div> -->
        </div>

    </div>
</div>
