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>
|
||||
|
||||
@@ -50,6 +50,19 @@
|
||||
<div><input type="text" name="mod_sum" id="mod_sum" required></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="mod_payment_type">Befizetés módja:</label>
|
||||
<div>
|
||||
<select name="mod_payment_type" id="mod_payment_type">
|
||||
{foreach $pt_assoc_array as $pt_array}
|
||||
<option value="{$pt_array.pt_id}">
|
||||
{$pt_array.pt_name}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="mod_sum">Lejár:</label>
|
||||
<input type="hidden" name="mod_expire_date" id="mod_expire_date">
|
||||
|
||||
@@ -19,19 +19,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{* <div>
|
||||
<label class="desc" for="mod_payment_type">Fizetés típusa:</label>
|
||||
<div>
|
||||
<select name="mod_payment_type" id="mod_payment_type">
|
||||
{foreach $pt_assoc_array as $pt_array}
|
||||
<option value="{$pt_array.pt_id}"{if $pt_array.pt_id == $mod->get_mod_money_income()->get_mi_payment_type_pt_id()} selected{/if}>
|
||||
{$pt_array.pt_name}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</div> *}
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="mod_date">Dátum:</label>
|
||||
<div><input type="text" name="mod_date" id="mod_date" value="{$mod->get_mod_money_income()->get_mi_date()}" required></div>
|
||||
@@ -56,6 +43,19 @@
|
||||
<div><input type="text" name="mod_sum" id="mod_sum" value="{$mod->get_mod_money_income()->get_mi_sum()}" required></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" for="mod_payment_type">Fizetés típusa:</label>
|
||||
<div>
|
||||
<select name="mod_payment_type" id="mod_payment_type">
|
||||
{foreach $pt_assoc_array as $pt_array}
|
||||
<option value="{$pt_array.pt_id}"{if $pt_array.pt_id == $mod->get_mod_money_income()->get_mi_payment_type_pt_id()} selected{/if}>
|
||||
{$pt_array.pt_name}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="mod_sum">Lejár:</label>
|
||||
<div id="expire_date" style="padding-top: 6px;">{$mod->get_mod_expire_date()}</div>
|
||||
|
||||
@@ -95,17 +95,6 @@
|
||||
{/foreach}
|
||||
</div> *}
|
||||
|
||||
<div>
|
||||
<label for="level">Szint:</label>
|
||||
{foreach $l_assoc_array as $l}
|
||||
<div>
|
||||
<input type="checkbox" name="level[]" value="{$l['l_id']}">
|
||||
<span style="position: relative; bottom: 2px;">{$l['l_name']}</span>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
<label class="desc" for="uk_email">E-mail cím:</label>
|
||||
<div><input type="email" name="uk_email" id="uk_email"></div>
|
||||
|
||||
@@ -130,17 +130,6 @@
|
||||
{/foreach}
|
||||
</div> *}
|
||||
|
||||
<div>
|
||||
<label for="level">Szint:</label>
|
||||
{foreach $l_assoc_array as $l}
|
||||
<div>
|
||||
<input type="checkbox" name="level[]" value="{$l['l_id']}"{if user_kid::has_lease_type($user_data.uk_id, $l['l_id'])} checked{/if}>
|
||||
<span style="position: relative; bottom: 3px;">{$l['l_name']}</span>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
<label class="desc" for="uk_email">E-mail cím:</label>
|
||||
<div><input type="email" name="uk_email" id="uk_email" value="{$user_data.uk_email}"></div>
|
||||
|
||||
Reference in New Issue
Block a user