added money delete option

add _developer directorym (ignored)
This commit is contained in:
Ricsi
2017-01-24 22:49:43 +01:00
parent d73e0cce1a
commit bdd04b9cdc
7 changed files with 33 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ class money_deposit {
private $mod_user_kid; //OBJECT
private $mod_date;
private $mod_sum;
private $mod_deleted;
public function set_mod_id($_id) {
$this->mod_id = $_id;
@@ -31,6 +32,10 @@ class money_deposit {
$this->mod_sum = $_sum;
}
public function set_mod_deleted($_deleted) {
$this->mod_deleted = $_deleted;
}
public function get_mod_id() {
return $this->mod_id;
}
@@ -51,6 +56,10 @@ class money_deposit {
return $this->mod_sum;
}
public function get_mod_deleted() {
return $this->mod_deleted;
}
public function set_mod_data_by_id($_id) {
global $sql;
$mod_query = "SELECT * FROM money_deposit WHERE mod_id = " . $_id . ";";

View File

@@ -161,6 +161,10 @@ class page {
# ISKOLA TÖRLÉS
include('include_delete_school.php');
break;
case 'delete_money_deposit':
# BEFIZETÉS TÖRLÉS
include('include_delete_money_deposit.php');
break;
case 'logout':
# kijelentkezés
$from = "coach";