bug fixes. added payment type to deposits

This commit is contained in:
Tóth Richárd
2018-03-18 17:37:52 +01:00
parent 1e4aff020f
commit 392b484666
14 changed files with 139 additions and 44 deletions

View File

@@ -17,6 +17,19 @@
</div>
</div>
<div>
<label class="desc" for="mod_payment_type">Típus:</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_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_date()}" required></div>
@@ -27,7 +40,7 @@
<div><input type="text" name="mod_sum" id="mod_sum" value="{$mod->get_mod_sum()}" required></div>
</div>
<div>
<div>
<input class="button black" type="submit" value="Mentés">
@@ -35,4 +48,4 @@
</div>
</form>
</div>
</div>