show expire informatin in admin and parent view
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<div><input type="text" name="uk_last_modified" id="uk_last_modified" value="{$user_data.uk_last_modified}"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div style="padding-top: 15px; border-top: 1px solid;">
|
||||
<label for="uk_balance_expires">Egyenleg lejár:</label>
|
||||
<div><input type="checkbox" name="uk_balance_expires" id="uk_balance_expires" value="1" {if 1==$user_data.uk_balance_expires}checked{/if}></div>
|
||||
</div>
|
||||
@@ -33,6 +33,26 @@
|
||||
<div><input type="text" name="uk_balance_expire_date" id="uk_balance_expire_date" placeholder="ÉÉÉÉ-HH-NN" value="{$user_data.uk_balance_expire_date}"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label>Egyenleg:</label>
|
||||
<div style="padding-top: 6px;">{{$user_data.uk_balance|number_format:0:'':' '}} Ft</div>
|
||||
</div>
|
||||
|
||||
<div style="padding-bottom: 15px; border-bottom: 1px solid;">
|
||||
{if $user_data.uk_balance}
|
||||
<label>Lejár:</label>
|
||||
<div style="padding-top: 6px;">
|
||||
{if $user_data.uk_balance_expire_date}
|
||||
{{$user_data.uk_balance_expire_date|date_format:"%Y.%m.%d"}}
|
||||
{elseif $user_data.uk_last_deposit}
|
||||
{strtotime("+1 month",strtotime($user_data.uk_last_deposit))|date_format:"%Y.%m.%d"}
|
||||
{else}
|
||||
Automatikusan
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" for="uk_password">Jelszó:</label>
|
||||
<div><input type="text" name="uk_password" id="uk_password" value="{$user_data.uk_password}"></div>
|
||||
|
||||
Reference in New Issue
Block a user