<?php /* Smarty version Smarty-3.1.11, created on 2026-01-29 01:09:12
         compiled from "..\views\default\billsettingsview\show.html" */ ?>
<?php /*%%SmartyHeaderCode:3464697a97181c53b8-62906610%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '7212858ed9cef80403ef2aa2e29d78daddcedcc7' => 
    array (
      0 => '..\\views\\default\\billsettingsview\\show.html',
      1 => 1752437506,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '3464697a97181c53b8-62906610',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'youtubes' => 0,
    'outputString' => 0,
    'name' => 0,
    'na' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_697a97183aa768_24465231',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_697a97183aa768_24465231')) {function content_697a97183aa768_24465231($_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 }} ?>