25 lines
659 B
Smarty
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}
|