updates and restart camps

This commit is contained in:
Tóth Richárd
2018-05-03 20:27:35 +02:00
parent 392b484666
commit a249c20433
38 changed files with 1153 additions and 235 deletions

View File

@@ -9,7 +9,7 @@
if ($this->is_id()) {
# ADOTT KIADÁS ADATINAK MEGTEKINTÉSE/MÓDOSÍTÁSA
$new_mox = new money_expense();
$new_mox->set_mox_data_by_id($this->get_id());
@@ -21,14 +21,16 @@ if ($this->is_id()) {
$new_moxc = new money_expense_category();
$new_moxc->set_moxc_data_by_id($mox['moxc_id']);
$moxc_array[] = $new_moxc;
}
}
$pt_assoc_array = $sql->assoc_array('SELECT * FROM payment_type ORDER BY pt_id ASC;');
$smarty->assign("moxc_array", $moxc_array);
$smarty->assign('pt_assoc_array', $pt_assoc_array);
$smarty->assign("mox", $new_mox);
$smarty->display("money_expense_data_edit.tpl");
}
else {
# KIADÁS LISTA
@@ -40,11 +42,11 @@ else {
$new_mox = new money_expense();
$new_mox->set_mox_data_by_id($mod['mox_id']);
$mox_array[] = $new_mox;
}
}
$smarty->assign("mox_array", $mox_array);
$smarty->display("money_expense.tpl");
}
?>
?>