From 1066d8c03c3700f5e977b98219572ef9a513d027 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 24 Jun 2013 16:39:03 +0200 Subject: [PATCH] Fake-%::myconfig erstellen Ansonsten gehen Dinge wie $::form->(format|parse)_amount nicht. --- SL/Controller/Admin.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SL/Controller/Admin.pm b/SL/Controller/Admin.pm index 6c62024d5..3feca1d8f 100644 --- 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 { -- 2.20.1