user-level megszuntetese; uj oszlopok a befizeteshez
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div class="list half_width">
|
||||
<div class="list full_width">
|
||||
{foreach $mod_array as $mod}
|
||||
|
||||
{if !$mod@first && $mod_array[$mod@index]->get_mod_money_income()->get_mi_date()|substr:5:2 != $mod_array[$mod@index-1]->get_mod_money_income()->get_mi_date()|substr:5:2}
|
||||
@@ -15,12 +15,21 @@
|
||||
{/if}
|
||||
|
||||
{if $mod@first || $mod_array[$mod@index]->get_mod_money_income()->get_mi_date()|substr:5:2 != $mod_array[$mod@index-1]->get_mod_money_income()->get_mi_date()|substr:5:2}
|
||||
<span onclick="block_action('block_{$mod->get_mod_money_income()->get_mi_date()|substr:0:4}{$mod->get_mod_money_income()->get_mi_date()|substr:5:2}');" class="date_separator clickable">{$mod_array[$mod@index]->get_mod_money_income()->get_mi_date()|substr:0:4}.
|
||||
{$months[$mod_array[$mod@index]->get_mod_money_income()->get_mi_date()|substr:5:2]}
|
||||
<img src="/_image/open_folder.png">
|
||||
{assign var="sum" value=money_deposit::get_month_mod_sum($mod_array[$mod@index]->get_mod_money_income()->get_mi_date()|substr:0:4, $mod_array[$mod@index]->get_mod_money_income()->get_mi_date()|substr:5:2)}
|
||||
<span class="mod_sum">{if sum != null}{$sum|number_format:0:'':' '}{else}0{/if} Ft</span>
|
||||
</span>
|
||||
<div onclick="block_action('block_{$mod->get_mod_money_income()->get_mi_date()|substr:0:4}{$mod->get_mod_money_income()->get_mi_date()|substr:5:2}');" style="display: flex; justify-content: space-between; align-items: center;" class="date_separator clickable">
|
||||
<div style="display: flex; justify-content: flex-start; gap: 120px;">
|
||||
<div>
|
||||
{$mod_array[$mod@index]->get_mod_money_income()->get_mi_date()|substr:0:4}.
|
||||
{$months[$mod_array[$mod@index]->get_mod_money_income()->get_mi_date()|substr:5:2]}
|
||||
</div>
|
||||
<div>Bérlettípus</div>
|
||||
<div>Befizetés módja</div>
|
||||
</div>
|
||||
<div style="display: flex; justify-content: flex-start; gap: 30px;">
|
||||
{assign var="sum" value=money_deposit::get_month_mod_sum($mod_array[$mod@index]->get_mod_money_income()->get_mi_date()|substr:0:4, $mod_array[$mod@index]->get_mod_money_income()->get_mi_date()|substr:5:2)}
|
||||
<div>{if sum != null}{$sum|number_format:0:'':' '}{else}0{/if} Ft</div>
|
||||
<img src="/_image/open_folder.png">
|
||||
</div>
|
||||
</div>
|
||||
<div id="block_{$mod->get_mod_money_income()->get_mi_date()|substr:0:4}{$mod->get_mod_money_income()->get_mi_date()|substr:5:2}" class="month_block">
|
||||
|
||||
{/if}
|
||||
@@ -35,9 +44,11 @@
|
||||
<img src="/_image/transaction.png">
|
||||
{/if}
|
||||
</td>
|
||||
<td>
|
||||
<td class="kid-name">
|
||||
{$mod->get_mod_user_kid()->get_uk_name()} {if $mod->is_expired()}(Lejárt: {$mod->get_mod_expire_date()}){/if}
|
||||
</td>
|
||||
<td class="lease-name">{$mod->get_mod_lease_l_id()->get_l_name()}</td>
|
||||
<td class="payment-type">{$mod->get_mod_money_income()->get_mi_payment_type_pt_obj()->get_pt_name()}</td>
|
||||
<td class="date">
|
||||
{$mod->get_mod_money_income()->get_mi_date(true)}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user