<div class="form_wrapper">
	<form method="post">
	<div class="buttons">
		<a href="/admin/delete_money_deposit/{$mod->get_mod_id()}" class="addbutton delete-big">Befizetés törlése</a>
	</div>
		<input type="hidden" name="action" value="money_deposit_update">
		<input type="hidden" name="mod_id" value="{$mod->get_mod_id()}">
		<input type="hidden" name="mi_id" value="{$mod->get_mod_money_income_mi_id()}">

		<div>
			<label class="desc" id="title1" for="mod_user_kid_uk_id">Befizető:</label>
			<div>
				<select name="mod_user_kid_uk_id" id="mod_user_kid_uk_id">
					{foreach $user_kids as $user_kid}
						<option value="{$user_kid->get_uk_id()}"{if $user_kid->get_uk_id() == $mod->get_mod_user_kid_uk_id()} selected{/if}>{$user_kid->get_uk_name()}</option>>
					{/foreach}
				</select>
			</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>
		</div>

		<div>
			<label class="desc" id="title1" for="mod_sum">Összeg:</label>
			<div><input type="text" name="mod_sum" id="mod_sum" value="{$mod->get_mod_money_income()->get_mi_sum()}" required></div>
		</div>


		<div>
			<div>
		  		<input class="button black" type="submit" value="Mentés">
		    </div>
		</div>

	</form>
</div>
