money deposit list modification
This commit is contained in:
@@ -48,8 +48,9 @@ class money_deposit {
|
||||
return $this->mod_user_kid;
|
||||
}
|
||||
|
||||
public function get_mod_date() {
|
||||
return $this->mod_date;
|
||||
|
||||
public function get_mod_date($_formatted = false) {
|
||||
return !$_formatted ? $this->mod_date : date("Y. m. d.", strtotime($this->mod_date));
|
||||
}
|
||||
|
||||
public function get_mod_date_day() {
|
||||
@@ -58,6 +59,10 @@ class money_deposit {
|
||||
return date("d", strtotime($this->mod_date));
|
||||
}
|
||||
|
||||
public function get_mod_date_day_of_week() {
|
||||
return date("w", strtotime($this->mod_date));
|
||||
}
|
||||
|
||||
public function get_mod_sum($formatted = null) {
|
||||
if (!$formatted) {
|
||||
return $this->mod_sum;
|
||||
|
||||
Reference in New Issue
Block a user