bug fixes. added payment type to deposits

This commit is contained in:
Tóth Richárd
2018-03-18 17:37:52 +01:00
parent 1e4aff020f
commit 392b484666
14 changed files with 139 additions and 44 deletions

View File

@@ -13,7 +13,7 @@
{/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}
<span onclick="block_action('block_{$mod->get_mod_date()|substr:0:4}{$mod->get_mod_date()|substr:5:2}');" class="date_separator clickable">{$mod_array[$mod@index]->get_mod_date()|substr:0:4}.
<span onclick="block_action('block_{$mod->get_mod_date()|substr:0:4}{$mod->get_mod_date()|substr:5:2}');" class="date_separator clickable">{$mod_array[$mod@index]->get_mod_date()|substr:0:4}.
{$months[$mod_array[$mod@index]->get_mod_date()|substr:5:2]}
<img src="/_image/open_folder.png">
</span>
@@ -25,7 +25,11 @@
<table class="money">
<tr>
<td class="icon">
<img src="/_image/deposit.png">
{if $mod->get_mod_payment_type_pt_id() == 1}
<img src="/_image/deposit.png">
{else}
<img src="/_image/transaction.png">
{/if}
</td>
<td>
{$mod->get_mod_user_kid()->get_uk_name()}
@@ -37,7 +41,7 @@
{$mod->get_mod_sum()|number_format:0:'':' '} Ft
</td>
</tr>
</table>
</div>
</a>
@@ -77,8 +81,8 @@ $( document ).ready(function() {
var div_list = $( ".list" ).find( divs );
open_block(div_list[0].id);
});
</script>
</script>