<?php
/* Smarty version 3.1.30, created on 2024-07-22 18:40:32
  from "/home/www/_rejestracja/Admin/template/partial/Calc/Index.tpl" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_669e8b80ed6e81_43671883',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '17cbb313e655b49827d56bdeac44229073706c68' => 
    array (
      0 => '/home/www/_rejestracja/Admin/template/partial/Calc/Index.tpl',
      1 => 1586982525,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_669e8b80ed6e81_43671883 (Smarty_Internal_Template $_smarty_tpl) {
if (!is_callable('smarty_block_dropDownContainer')) require_once '/home/www/_rejestracja/core/plugins/Smarty/block.dropDownContainer.php';
if (!is_callable('smarty_function_url')) require_once '/home/www/_rejestracja/core/plugins/Smarty/function.url.php';
?>
<h1>Konfigurator</h1>	

<?php $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('dropDownContainer', array('title'=>'Grupy'));
$_block_repeat1=true;
echo smarty_block_dropDownContainer(array('title'=>'Grupy'), null, $_smarty_tpl, $_block_repeat1);
while ($_block_repeat1) {
ob_start();
?>


<table cellspacing="0" cellpadding="0" border="0">
	<tr class="selAllRow">
		
	</tr>
	<tr>
	
	<th><div style="float:left; width:100%">Lp.<div class="sort"><a class="ascendingAct" href="#">&nbsp;</a><a class="descending" href="#">&nbsp;</a></div></div></th>
	<th>Nazwa<div class="sort"><a class="ascendingAct" href="#">&nbsp;</a><a class="descending" href="#">&nbsp;</a></div></th>
	<th>Cena (netto)<div class="sort"><a class="ascendingAct" href="#">&nbsp;</a><a class="descending" href="#">&nbsp;</a></div></th>
	<th>Cena (brutto)<div class="sort"><a class="ascendingAct" href="#">&nbsp;</a><a class="descending" href="#">&nbsp;</a></div></th>
	<th class="noSort">Publikuj<div class="sort"><a class="ascendingAct" href="#">&nbsp;</a><a class="descending" href="#">&nbsp;</a></div></th>							
	<th class="noSort"></div></th>
	</tr>
	<?php $_smarty_tpl->_assignInScope('x', 0);
?>
	<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['arrayObj']->value, 'obj');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['obj']->value) {
?>
	<?php $_smarty_tpl->_assignInScope('x', $_smarty_tpl->tpl_vars['x']->value+1);
?>
	<?php $_smarty_tpl->_assignInScope('id', $_smarty_tpl->tpl_vars['obj']->value->GetId());
?>
	<tr>
		
		<td><?php echo $_smarty_tpl->tpl_vars['x']->value;?>
</td>
		<td><a href="<?php echo smarty_function_url(array('Calc'=>'Edit','id'=>$_smarty_tpl->tpl_vars['id']->value),$_smarty_tpl);?>
" title="edytuj"><?php echo $_smarty_tpl->tpl_vars['obj']->value->GetName();?>
</a></td>
		<td><?php echo number_format($_smarty_tpl->tpl_vars['obj']->value->GetPrice(),2,","," ");?>
</td>
		<td><?php $_smarty_tpl->_assignInScope('vat', $_smarty_tpl->tpl_vars['obj']->value->GetPrice()*1.23);
echo number_format($_smarty_tpl->tpl_vars['vat']->value,2,","," ");?>
</td>
		<td><?php echo $_smarty_tpl->tpl_vars['obj']->value->GetPublication();?>
</td>
			<td style="width:15px">
			<a href="<?php echo smarty_function_url(array('Calc'=>'Edit','id'=>$_smarty_tpl->tpl_vars['id']->value),$_smarty_tpl);?>
" class="edit">edytuj</a>
		</td>
	</tr>
	<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

	<tr class="selAllRow">
			
	</tr>

</table>

<?php $_block_repeat1=false;
echo smarty_block_dropDownContainer(array('title'=>'Grupy'), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>

<?php }
}
