Exemple #1
0
				<?php 
$attribs = array('class' => 'inputbox', 'onchange' => 'document.adminForm.submit();');
?>
				<?php 
//this is dumb, but it makes the dashboard work until caching issue is resolve
if (@$state->stats_interval) {
    ?>
				<td style="text-align: center; width: 33%;"><h3><?php 
    echo TiendaSelect::range(@$state->stats_interval, 'stats_interval', $attribs);
    ?>
</h3></td>
				<?php 
} else {
    ?>
				<td style="text-align: center; width: 33%;"><h3><?php 
    echo TiendaSelect::range(@$state->stats_interval, 'stats_interval', $attribs, null, true);
    ?>
</h3></td>
				<?php 
}
?>
				<td style="text-align: center; width: 33%;"><h3><?php 
echo TiendaHelperBase::currency(@$this->sum);
?>
</h3></td>
				<td style="text-align: center; width: 33%;"><h3><?php 
echo TiendaHelperBase::number(@$this->total, array('num_decimals' => '0'));
?>
</h3></td>
			</tr>
			</tbody>