Skip to content
Snippets Groups Projects
Commit a5e92356 authored by Gerd Schachtschneider's avatar Gerd Schachtschneider
Browse files

view date in german style

parent 544befad
Branches
No related tags found
No related merge requests found
......@@ -126,6 +126,16 @@ class tables_mpi_geraete {
return date('d.m.Y', strtotime($record->strval('lieferdatum')));
}
function entsorgt__display(&$record) {
if ($record->strval('entsorgt') == NULL) return;
return date('d.m.Y', strtotime($record->strval('entsorgt')));
}
function garantie__display(&$record) {
if ($record->strval('garantie') == NULL) return;
return date('d.m.Y', strtotime($record->strval('garantie')));
}
function verleih__display(&$record) {
if ($record->val('verleih') == '1') return 'ja'; else return 'nein';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment