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

@@ -21,11 +21,14 @@ if ($this->is_id()) {
$user_kids[] = $new_kid;
}
$pt_assoc_array = $sql->assoc_array('SELECT * FROM payment_type ORDER BY pt_id ASC;');
$smarty->assign('user_kids', $user_kids);
$smarty->assign("mod", $mod);
$smarty->assign('pt_assoc_array', $pt_assoc_array);
$smarty->display("money_deposit_update.tpl");
}
else {
# BEFIZETÉS LISTA
@@ -37,11 +40,11 @@ else {
$new_mod = new money_deposit();
$new_mod->set_mod_data_by_id($mod['mod_id']);
$mod_array[] = $new_mod;
}
}
$smarty->assign("mod_array", $mod_array);
$smarty->display("money_deposit.tpl");
}
?>
?>