bug fixes. added payment type to deposits
This commit is contained in:
@@ -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");
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user