From 6ce9fc3a6dd815115cb4a6b29a1edf39b54a87ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 7 Jul 2010 18:23:47 +0200 Subject: [PATCH] mandatory_departments flag in der Administration von Benutzern. --- SL/User.pm | 2 +- locale/de/all | 1 + templates/webpages/admin/edit_user_de.html | 7 +++++++ templates/webpages/admin/edit_user_master.html | 7 +++++++ 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/SL/User.pm b/SL/User.pm index 0fbd66a39..16ad74ea3 100644 --- a/SL/User.pm +++ b/SL/User.pm @@ -1003,7 +1003,7 @@ sub config_vars { bestellungen rechnungen anfragen lieferantenbestellungen einkaufsrechnungen taxnumber co_ustid duns menustyle template_format default_media default_printer_id copies show_form_details favorites - pdonumber sdonumber hide_cvar_search_options); + pdonumber sdonumber hide_cvar_search_options mandatory_departments); $main::lxdebug->leave_sub(); diff --git a/locale/de/all b/locale/de/all index 68a557f93..0dd4449fc 100644 --- a/locale/de/all +++ b/locale/de/all @@ -971,6 +971,7 @@ $self->{texts} = { 'Make' => 'Lieferant', 'Manage license keys' => 'Lizenzschlüssel verwalten', 'Mandantennummer' => 'Mandantennummer', + 'Mandatory Departments' => 'Benutzer muss Abteilungen vergeben', 'Mar' => 'März', 'March' => 'März', 'Margins' => 'Seitenränder', diff --git a/templates/webpages/admin/edit_user_de.html b/templates/webpages/admin/edit_user_de.html index 7a8ada680..4d62ba47c 100644 --- a/templates/webpages/admin/edit_user_de.html +++ b/templates/webpages/admin/edit_user_de.html @@ -181,6 +181,13 @@ + + Benutzer muss Abteilungen vergeben + + Nein + Ja + + diff --git a/templates/webpages/admin/edit_user_master.html b/templates/webpages/admin/edit_user_master.html index d75f2ce5d..c5793bbbe 100644 --- a/templates/webpages/admin/edit_user_master.html +++ b/templates/webpages/admin/edit_user_master.html @@ -181,6 +181,13 @@ + + Mandatory Departments + + No + Yes + + -- 2.20.1