diary bugfixes

This commit is contained in:
Ricsi
2017-02-10 21:53:39 +01:00
parent 796156e0fb
commit 73db6b620a
2 changed files with 3 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ else {
and date(tr_date) = uk_first_training and date(tr_date) = uk_first_training
ORDER BY tr_date ASC ORDER BY tr_date ASC
limit 1) limit 1)
order by tr_id ASC order by tr_date ASC
limit 2) as elso_ket_edzes)) as 'training_per_month', limit 2) as elso_ket_edzes)) as 'training_per_month',
(SELECT (SELECT
count(pr_id) count(pr_id)
@@ -83,7 +83,7 @@ else {
and date(tr_date) = uk_first_training and date(tr_date) = uk_first_training
ORDER BY tr_date ASC ORDER BY tr_date ASC
limit 1) limit 1)
order by tr_id ASC order by tr_date ASC
limit 2) elso2edzes) as 'first_two' limit 2) elso2edzes) as 'first_two'
FROM FROM
((SELECT ((SELECT

View File

@@ -117,7 +117,7 @@
</div> </div>
<div class="side_block"> <div class="side_block">
{assign var="dicount" value=""} {assign var="discount" value=""}
<span class="bold" style="font-size: 20px;">{$action->get_de_balance()|number_format:0:'':' '} Ft</span><br>{$discount} <span class="bold" style="font-size: 20px;">{$action->get_de_balance()|number_format:0:'':' '} Ft</span><br>{$discount}
</div> </div>
</div> </div>