From: Joey Schulze Date: Wed, 10 Mar 2010 15:06:34 +0000 (+0100) Subject: Display gebiet X-Git-Tag: 2010-06-02_customer~68 X-Git-Url: https://git.infodrom.org/?p=misc%2Fkostenrechnung;a=commitdiff_plain;h=797f93136df9b234fd4a23f4870f563295e25425;ds=inline Display gebiet --- diff --git a/masks/materialverbrauch.php b/masks/materialverbrauch.php index c5079bf..9855fc1 100644 --- a/masks/materialverbrauch.php +++ b/masks/materialverbrauch.php @@ -39,11 +39,15 @@ function fetch_tbody() $mask = array( 'table' => 'einsatz', 'title' => 'Materialverbrauch zu Arbeitsberichten', - 'join' => array('kostenstellen ON einsatz.kostenstelle = kostenstellen.id'), + 'join' => array( + 'kostenstellen ON einsatz.kostenstelle = kostenstellen.id', + 'gebiet ON kostenstellen.gebiet = gebiet.id', + ), 'list' => array( 'id' => array( 'name' => 'ID', 'sql' => 'einsatz.id', + 'width' => 60, 'visible' => false, ), 'datum' => array( @@ -51,6 +55,11 @@ $mask = array( 'type' => 'date', 'width' => 70, ), + 'gebiet' => array( + 'name' => 'Gebiet', + 'width' => 230, + 'sql' => 'gebiet.gebiet', + ), 'kostenstelle' => array( 'name' => 'Kostenstelle', 'width' => 230,