Files
code-cegled/template/templates/diary_report.tpl
Tóth Richárd 180e9af3ff Zoli requests
2018-09-03 18:19:21 +02:00

25 lines
659 B
Smarty

{foreach $res as $key => $resi}
{foreach $resi as $key_ => $resii}
{if $resii->get_de_training()|is_a:'training'}
{$key};{$resii->get_de_training()->get_tr_date()};{$resii->get_de_training()->get_tr_id()};{$resii->get_de_training()->get_tr_type_name_by_id()};{$resii->get_de_training()->get_tr_duration()} perc;
{if $resii->get_de_has_discount()}
{if $resii->get_de_discount_id() == 1}
Próba kedvezmény<br>
{elseif $resii->get_de_discount_id() == 2}
Havi 8+ kedvezmény<br>
{elseif $resii->get_de_discount_id() == 3}
Duplázó kedvezmény<br>
{/if}
{else}
Fizetős<br>
{/if}
{/if}
<br>
{/foreach}
{/foreach}