diff --git a/www/pages/lager.php b/www/pages/lager.php index 174d6d64..47bd297d 100644 --- a/www/pages/lager.php +++ b/www/pages/lager.php @@ -182,16 +182,16 @@ class Lager extends GenLager { $defaultCountry = 'DE'; } // headings - $heading = array('Bezeichnung', 'Projekt','Kommissions- / Produktionslager','Land','Menü'); - $width = array('60%', '10%','20%','5%', '8%'); - $findcols = array('l.bezeichnung', 'p.abkuerzung','a.name',"IF(a.land IS NULL OR a.land = '', '$defaultCountry', a.land)", 'l.id'); - $searchsql = array('l.bezeichnung', 'p.abkuerzung','a.name',"IF(a.land IS NULL OR a.land = '', '$defaultCountry', a.land)",'p.name'); + $heading = array('Bezeichnung','Beschreibung', 'Projekt','Kommissions- / Produktionslager','Land','Menü'); + $width = array('20%','60%', '10%','20%','5%', '8%'); + $findcols = array('l.bezeichnung','l.beschreibung', 'p.abkuerzung','a.name',"IF(a.land IS NULL OR a.land = '', '$defaultCountry', a.land)", 'l.id'); + $searchsql = array('l.bezeichnung','l.beschreibung', 'p.abkuerzung','a.name',"IF(a.land IS NULL OR a.land = '', '$defaultCountry', a.land)",'p.name'); $defaultorder = 4; $defaultorderdesc = 1; $menu = "
Conf->WFconf['defaulttheme']}/images/edit.svg\" border=\"0\">" . " Conf->WFconf['defaulttheme']}/images/delete.svg\" border=\"0\">" . " Conf->WFconf['defaulttheme']}/images/labelprinter.png\" border=\"0\">
"; // SQL statement - $sql = "SELECT SQL_CALC_FOUND_ROWS l.id, l.bezeichnung, p.abkuerzung, a.name, + $sql = "SELECT SQL_CALC_FOUND_ROWS l.id, l.bezeichnung, l.beschreibung, p.abkuerzung, a.name, IF(a.land IS NULL OR a.land = '', '$defaultCountry', a.land), l.id as menu FROM `lager` AS `l` diff --git a/www/widgets/templates/_gen/lager.tpl b/www/widgets/templates/_gen/lager.tpl index e705a8e9..b1420ef2 100644 --- a/www/widgets/templates/_gen/lager.tpl +++ b/www/widgets/templates/_gen/lager.tpl @@ -23,8 +23,8 @@ {|Lager|}[BEZEICHNUNG][MSGBEZEICHNUNG] {|z.B. Raum 1, Lager Berlin|} {|Projekt|}[PROJEKT][MSGPROJEKT] {|Optional Angabe|} {|Adresse|}[ADRESSE][MSGADRESSE] {|Optional Angabe Adresse für Kommissionslager, externe Produktion oder Anschrift bzw. Land vom Lager|} - + + Beschreibung[BESCHREIBUNG][MSGBESCHREIBUNG]