<?php /* Smarty version Smarty-3.1.11, created on 2023-10-13 23:11:33
         compiled from "../views/default/billsettingsview/show.html" */ ?>
<?php /*%%SmartyHeaderCode:9480490316529a475955eb6-37321124%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'da13061ce371c410c1c7860c8ebf971de8457ebc' => 
    array (
      0 => '../views/default/billsettingsview/show.html',
      1 => 1693253992,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '9480490316529a475955eb6-37321124',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'youtubes' => 0,
    'outputString' => 0,
    'name' => 0,
    'na' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_6529a4759d5020_26695213',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6529a4759d5020_26695213')) {function content_6529a4759d5020_26695213($_smarty_tpl) {?>﻿
<div class="row">
    <div class="container">
        <ol class="breadcrumb">
            <li><a href="#">إدارة الفواتير</a></li>
            <li><a href="#">الفاتورة</a></li>
            <li class="active">عرض خصائص الفواتير</li>
        </ol>
        <div class="panel panel-default panel-m">
            <div class="panel-heading" style="padding:5px 15px 15px">
                <h3 class="panel-title" style="display: inline-block;">عرض خصائص الفواتير</h3>
                <a href="<?php echo $_smarty_tpl->tpl_vars['youtubes']->value[21]->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="billsettingsController.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">

                <!---------- start outputString alert ----------->
                <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"><?php echo $_smarty_tpl->tpl_vars['outputString']->value;?>
</p>
                    <div class="clearfix"></div>
                </div>
                <!---------  end outputString alert ------------>

                <div class="table-responsive">
                    <table class="table table-black">
                        <thead>
                            <tr>
                                <th >م</th>
                                <th>اسم الفاتوره</th>
                                <th class="noprint">تعديل</th>
                                <th class="noprint">نسخ</th>
                                <th class="noprint">حذف/إلغاء الحذف</th>
                            </tr>
                        </thead>
                        <tbody>

                            <?php  $_smarty_tpl->tpl_vars['na'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['na']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['name']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['na']->key => $_smarty_tpl->tpl_vars['na']->value){
$_smarty_tpl->tpl_vars['na']->_loop = true;
?>

                            <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['na']->value->conditions;?>
<?php $_tmp1=ob_get_clean();?><?php if ($_tmp1==1){?>
                            <tr class="danger"> <?php }else{?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['na']->value->conditions;?>
<?php $_tmp2=ob_get_clean();?><?php if ($_tmp2==0){?>

                            <tr> <?php }}?>
                                <td><?php echo $_smarty_tpl->tpl_vars['na']->value->billnameid;?>
</td>
                                <td><?php echo $_smarty_tpl->tpl_vars['na']->value->name;?>
</td>
                                <td class="noprint"><a href="billsettingsController.php?do=edit&id=<?php echo $_smarty_tpl->tpl_vars['na']->value->billnameid;?>
" type="button" class="btn btn-default btn-lg editicon"></a></td>
                                <td class="noprint"><a href="billsettingsController.php?do=copy&id=<?php echo $_smarty_tpl->tpl_vars['na']->value->billnameid;?>
" type="button" class="btn btn-default btn-lg copyicon"></a></td>
                                <td class="noprint"> <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['na']->value->conditions;?>
<?php $_tmp3=ob_get_clean();?><?php if ($_tmp3==0){?> <a href="billsettingsController.php?do=delete&id=<?php echo $_smarty_tpl->tpl_vars['na']->value->billnameid;?>
" type="button" class="btn btn-default btn-lg removeicon"></a> <?php }else{ ?> <a href="billsettingsController.php?do=ruturndelete&id=<?php echo $_smarty_tpl->tpl_vars['na']->value->billnameid;?>
" type="button" class="btn btn-default btn-lg correcticon"></a> <?php }?> </td>
                            </tr>
                            <?php } ?>
                        </tbody>

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

            </div>
        </div>
    </div>
</div>
<?php }} ?>