work on presence changes (has error)

This commit is contained in:
2020-09-08 15:40:57 +02:00
parent c2c61460b6
commit 6ee00f7514
7 changed files with 75 additions and 20 deletions

View File

@@ -85,7 +85,7 @@
</div>
</div>
<div>
{* <div>
<label for="level">Szint:</label>
{foreach $tt_assoc_array as $tt}
<div>
@@ -93,6 +93,16 @@
<span style="position: relative; bottom: 3px;">{$tt['trt_name']}</span>
</div>
{/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>

View File

@@ -120,7 +120,7 @@
</div>
</div>
<div>
{* <div>
<label for="level">Szint:</label>
{foreach $tt_assoc_array as $tt}
<div>
@@ -128,6 +128,16 @@
<span style="position: relative; bottom: 3px;">{$tt['trt_name']}</span>
</div>
{/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>