projects
/
misc
/
kostenrechnung
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ffd1fb0
)
Display personal for einsatz
author
Joey Schulze
<joey@infodrom.org>
Wed, 14 Apr 2010 13:52:17 +0000
(15:52 +0200)
committer
Joey Schulze
<joey@infodrom.org>
Wed, 14 Apr 2010 13:52:17 +0000
(15:52 +0200)
masks/materialverbrauch.php
patch
|
blob
|
history
diff --git
a/masks/materialverbrauch.php
b/masks/materialverbrauch.php
index
4e76f76
..
cc79bce
100644
(file)
--- a/
masks/materialverbrauch.php
+++ b/
masks/materialverbrauch.php
@@
-104,6
+104,11
@@
$mask = array(
'width' => 230,
'sql' => 'kostenstellen.kostenstelle',
),
+ 'personal' => array(
+ 'name' => 'Personal',
+ 'width' => 230,
+ 'sql' => "(SELECT name || ', ' || vorname FROM personal JOIN einsatzpersonal ON einsatzpersonal.personal = personal.id WHERE einsatzpersonal.einsatz = einsatz.id LIMIT 1)",
+ ),
'material' => array(
'name' => 'Material',
'width' => 70,