Esempio n. 1
0
<?php 
}
?>
</table>

<table cellpadding="0" cellspacing="0">
	<thead>
		<th colspan="2"><?php 
\pi18n("Sales by category", PLUGIN_NAME);
?>
</th>
	</thead>
	<tbody>
<?php 
foreach ($zticket->catSales as $cat) {
    ?>
		<tr>
			<td><?php 
    \pi18n(\Pasteque\CategoriesService::get($cat['id'])->label, PLUGIN_NAME);
    ?>
</td>
			<td class="numeric"><?php 
    \pi18nCurr($cat['amount']);
    ?>
</td>
		</tr>
<?php 
}
?>
</table>
<?php 
Esempio n. 2
0
        ?>
		<tr>
			<td><?php 
        echo $cashRegister->label;
        ?>
</td>
			<td><?php 
        \pi18nDatetime($session->openDate);
        ?>
</td>
			<td class="numeric"><?php 
        echo $session->tickets;
        ?>
</td>
			<td class="numeric"><?php 
        \pi18nCurr($session->total);
        ?>
</td>
			<td class="edition">
				<a href="<?php 
        echo \Pasteque\get_module_url_action(PLUGIN_NAME, 'session_details', array('id' => $session->id));
        ?>
"><img src="<?php 
        echo \Pasteque\get_template_url();
        ?>
img/edit.png" alt="<?php 
        \pi18n('Edit');
        ?>
" title="<?php 
        \pi18n('Edit');
        ?>