
<div class="row">
    <div class="container">
        <ol class="breadcrumb">
             <li> المصروفات والايرادات  </li>
            <li><a href="saveController.php?do=show">الخزن </a></li>
            <li><a href="settlementKindSaveController.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[86]->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="settlementKindSaveController.php" class="hidden-print"><input type="button"  id="submit" style="margin-left: 12px" class="btn btn-primary pull-left " value="إضافة جديد"/></a>
            </div>

            <div class="panel-body">
            
            </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"> {else if {$data->conditions} eq 0}

                    <tr> {/if}
                        <td>{$data->typesimpotencetreatmentname} </td>
                        <td>{$data->typesimpotencetreatmentdate}</td>
                        <td>{$data->typesimpotencetreatmentcomment}</td>
                        <td class="hidden-print"> {if {$data->conditions} eq 0} <a href="settlementKindSaveController.php?do=tempdelete&typesimpotencetreatmentid={$data->typesimpotencetreatmentid}" type="button" class="btn btn-default btn-lg removeicon"></a> {else} محذوف {/if} </td>
                    </tr>
                    {/foreach}

                </tbody>

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

    </div>
</div>
