money expense category list bug fix

This commit is contained in:
Ricsi
2017-02-17 21:32:58 +01:00
parent d4978f49f6
commit 37a6bb8b09
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@
<select name="mox_moxc_id">
<option value='null'>- nincs beállítva -</option>
{foreach $moxc_array as $moxc}
<option value='{$moxc->get_moxc_id()}'>{$moxc->get_moxc_name()}</select>
<option value='{$moxc->get_moxc_id()}'>{$moxc->get_moxc_name()}</option>
{/foreach}
</select>
</div>

View File

@@ -32,7 +32,7 @@
<select name="mox_moxc_id">
<option value='null'>- nincs beállítva -</option>
{foreach $moxc_array as $moxc}
<option value='{$moxc->get_moxc_id()}'{if $moxc->get_moxc_id() == $mox->get_mox_money_expense_category_moxc_id()} selected{/if}>{$moxc->get_moxc_name()}</select>
<option value='{$moxc->get_moxc_id()}'{if $moxc->get_moxc_id() == $mox->get_mox_money_expense_category_moxc_id()} selected{/if}>{$moxc->get_moxc_name()}</option>
{/foreach}
</select>
</div>