<td><?php 
\pi18n("Base", PLUGIN_NAME);
?>
</td>
			<td><?php 
\pi18n("Amount", PLUGIN_NAME);
?>
</td>
	</thead>
	<tbody>
<?php 
foreach ($zticket->taxes as $tax) {
    ?>
		<tr>
			<td><?php 
    echo \Pasteque\TaxesService::getTax($tax['id'])->label;
    ?>
</td>
			<td class="numeric"><?php 
    \pi18nCurr($tax['base']);
    ?>
</td>
			<td class="numeric"><?php 
    \pi18nCurr($tax['amount']);
    ?>
</td>
		</tr>
<?php 
}
?>
</table>
    $content[$i][] = \i18n($payment->type);
    $content[$i][] = $amount;
    $i++;
}
if ($i == 0) {
    $content[1][] = \i18n("No payment", PLUGIN_NAME);
    $content[1][] = "";
}
echo \Pasteque\row(\Pasteque\standardTable($content));
unset($content);
$content[0][] = \i18n("Taxes", PLUGIN_NAME);
$content[0][] = \i18n("Base", PLUGIN_NAME);
$content[0][] = \i18n("Amount", PLUGIN_NAME);
$i = 1;
foreach ($zticket->taxes as $tax) {
    $content[$i][] = \Pasteque\TaxesService::getTax($tax["id"])->label;
    $content[$i][] = \i18nCurr($tax['base']);
    $content[$i][] = \i18nCurr($tax['amount']);
    $i++;
}
if ($i == 1) {
    $content[1][] = \i18n("No payment", PLUGIN_NAME);
    $content[1][] = "";
    $content[1][] = "";
}
echo \Pasteque\row(\Pasteque\standardTable($content));
unset($content);
$content[0][] = \i18n("Sales by category", PLUGIN_NAME);
$content[0][] = \i18n("Amount", PLUGIN_NAME);
$i = 1;
foreach ($zticket->catSales as $cat) {