updates and restart camps
This commit is contained in:
12
_include/include_delete_money_income.php
Normal file
12
_include/include_delete_money_income.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
if ($this->is_id()) {
|
||||
$sql->update_table('money_income', array('mi_deleted' => 1), array('mi_id' => $this->get_id()));
|
||||
$mi = new money_income();
|
||||
$mi->set_mi_data_by_id($this->get_id());
|
||||
log::register('delete_mi', $mi->get_mi_item() . ": " . $mi->get_mi_sum() . " Ft");
|
||||
header("Location: /admin/money_income");
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user