projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f29fd47
)
Fake-%::myconfig erstellen
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 24 Jun 2013 14:39:03 +0000
(16:39 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 24 Jun 2013 14:39:19 +0000
(16:39 +0200)
Ansonsten gehen Dinge wie $::form->(format|parse)_amount nicht.
SL/Controller/Admin.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/Admin.pm
b/SL/Controller/Admin.pm
index
6c62024
..
3feca1d
100644
(file)
--- a/
SL/Controller/Admin.pm
+++ b/
SL/Controller/Admin.pm
@@
-522,6
+522,11
@@
sub setup_layout {
$::request->layout(SL::Layout::Dispatcher->new(style => 'admin'));
$::request->layout->use_stylesheet("lx-office-erp.css");
$::form->{favicon} = "favicon.ico";
+ %::myconfig = (
+ countrycode => 'de',
+ numberformat => '1.000,00',
+ dateformat => 'dd.mm.yy',
+ ) if !%::myconfig;
}
sub setup_client {