diff --git a/_css/default.css b/_css/default.css index 4365db4..0b41982 100644 --- a/_css/default.css +++ b/_css/default.css @@ -144,6 +144,11 @@ td.create a { padding: 0px; } +.list_item table.money td.icon img{ + width: 25px; + height: 25px; +} + .list_item table.money td.sum { width: 1%; white-space: nowrap; diff --git a/_include/include_money_deposit.php b/_include/include_money_deposit.php index a7fa431..3748e50 100644 --- a/_include/include_money_deposit.php +++ b/_include/include_money_deposit.php @@ -29,7 +29,7 @@ if ($this->is_id()) { } else { # BEFIZETÉS LISTA - $mod_query = "SELECT * FROM money_deposit WHERE mod_deleted = 0 ORDER BY mod_date DESC LIMIT 50;"; + $mod_query = "SELECT * FROM money_deposit WHERE mod_deleted = 0 ORDER BY mod_date DESC;"; $mod_array = array(); $mod_assoc_array = $sql->assoc_array($mod_query); diff --git a/template/templates/money_deposit.tpl b/template/templates/money_deposit.tpl index 9c1849e..d1f0043 100644 --- a/template/templates/money_deposit.tpl +++ b/template/templates/money_deposit.tpl @@ -6,6 +6,19 @@
{foreach $mod_array as $mod} + + {if !$mod@first && $mod_array[$mod@index]->get_mod_date()|substr:5:2 != $mod_array[$mod@index-1]->get_mod_date()|substr:5:2} +
+ {/if} + + {if $mod@first || $mod_array[$mod@index]->get_mod_date()|substr:5:2 != $mod_array[$mod@index-1]->get_mod_date()|substr:5:2} + {$mod_array[$mod@index]->get_mod_date()|substr:0:4}. + {$months[$mod_array[$mod@index]->get_mod_date()|substr:5:2]} + + +
+ + {/if}
@@ -27,7 +40,44 @@
+ + {if $mod@last} +
+ {/if} + {/foreach} + + \ No newline at end of file